home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2751
Discussions: 188,382, Posts: 2,243,483, Members: 232,612
Old February 23rd, 2003, 01:57 AM   Digg it!   #1 (permalink)
Ultimate Member
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,782
Send a message via ICQ to PyroSama Send a message via MSN to PyroSama
File include with html?

I know there is a way to do this with normal html/js. But how? What I want to do is call for an external file in this case menu.htm.

So I have may page scripted and every thing and now I want to make so my menu is part of the page without making a new version of it how do I do it?

I thought it was something like <src="menu.htm"> or <file src="menu.htm"> But it doesnt work.

HOW DO I DO IT?


Thanks

PyroSama
__________________
JOIN [FaD] | TEAM NUMBER 2037 | http://www.techimo.com/forum/t121132.html

PyroSama is offline   Reply With Quote
Old February 23rd, 2003, 02:02 AM     #2 (permalink)
Best To Avoid Me
 
Martoch's Avatar
 
Join Date: Mar 2002
Location: Under Your Bed
Posts: 8,596
Does this help?

http://www.xs4all.nl/~dimaroan/htl/faq15.html

It's showing:
<!--#include file="menu.html" -->

Hope so!


Mike
__________________
~ Camp Crystal Lake counselor positions opening daily ~

Martoch is offline   Reply With Quote
Old February 23rd, 2003, 02:14 AM     #3 (permalink)
Ultimate Member
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,782
Send a message via ICQ to PyroSama Send a message via MSN to PyroSama
Nope sorry but thanks for trying.

What you have is server side include and the page also has a JS for of it but it will not work for what Im tyring to do.


PyroSama

PyroSama is offline   Reply With Quote
Old February 23rd, 2003, 02:18 AM     #4 (permalink)
Best To Avoid Me
 
Martoch's Avatar
 
Join Date: Mar 2002
Location: Under Your Bed
Posts: 8,596
Sorry...


I don't know HTML at all so I wasn't sure...just bump this tomorrow (it's kinda late now) and I'm sure you'll get the help you need.

Hmmm...couldn't you find a website that does what you're looking for and view the source code?
Martoch is offline   Reply With Quote
Old February 28th, 2003, 08:41 PM     #5 (permalink)
Ultimate Member
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,782
Send a message via ICQ to PyroSama Send a message via MSN to PyroSama
THats were I first learned of it but after about an hour of searching/multi tasking no luck.

I want to be able to include an html doc and a txt file but have the txt file run like it was an html file so that if some one were to put in <b>adfkjl;adkf</b> it would work for them.

(news system)


PyroSama
www.clanimo.com
PyroSama is offline   Reply With Quote
Old February 28th, 2003, 09:14 PM     #6 (permalink)
Ultimate Member
 
golfcart's Avatar
 
Join Date: Oct 2001
Location: Michigan
Posts: 1,767
Can you use PHP?

<?php
include "textfile.txt";
?>
golfcart is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2888)
The United States Debt (20)
Looks like Burris will get his Sena.. (8)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
hp compaq nc6000 problems (138)
Folderchat Weekday thread (440)
Antec 300 bulk purchase? (11)
Help with an Ati Radeon HD 4850 512.. (27)
Recent Discussions
Folderchat Weekday thread (440)
How to increase my ram? (5)
Building a gaming computer advi.. (2)
Help with an Ati Radeon HD 4850.. (27)
CPU wont boot (4)
2nd video card (1)
special characters in quarkxpre.. (3)
Need help removing my front usb.. (2)
Genuine Broadband Connection my.. (14)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 09:28 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28