|
-
Aug 11th, 2004, 05:46 AM
#1
Thread Starter
Don't Panic!
Include like Asp
Hi,
I'm pretty sure there isn't a way but:
How can I include a file like you can in asp but for bog standard HTML ?
Mainly for the menu structure - since I'm lazy and want it held in one place.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Aug 11th, 2004, 06:22 AM
#2
<!--#include file="included.html" -->
-
Aug 11th, 2004, 09:23 AM
#3
Frenzied Member
That needs to be handled by a server side application ...
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Aug 11th, 2004, 09:35 AM
#4
try object or Iframe
link
-
Aug 11th, 2004, 09:37 AM
#5
You could also create a javascrpt function which pumps out the required html and call that function in each page
-
Aug 11th, 2004, 09:52 AM
#6
Frenzied Member
Originally posted by DeadEyes
You could also create a javascrpt function which pumps out the required html and call that function in each page
That really would be a very bad solution, since the HTML would be very hard to type valid, because of ' " '
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Aug 11th, 2004, 10:08 AM
#7
Thread Starter
Don't Panic!
I tried the javascript way - assumes the user has it on of course - and I was happy with it. But those who do websites properly and for a living slated it. So I dropped it. I was just wondering if there was an easy way to do the include on noral HTML - guess not. 
I'll check and see if Blueyonder do Asp for free (no db cons though) then I might be ok.
Cheers for the responses
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Aug 12th, 2004, 12:55 AM
#8
Originally posted by vbNeo
That needs to be handled by a server side application ...
Most servers support it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|