English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-08-28 18:47:00 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

I mean to make a menu into an object to put on all pages in you web site. This will make the template a lot easier to design.

2006-08-28 18:52:04 · update #1

4 answers


Warning: includethis.htm could not be embedded.

Unfortunately, not fully functional in IE yet. The other way is to use an iframe:

If you put a menu into an iframe you need to include target=_parent in your links or they will open up in the iframe.

2006-08-28 20:03:52 · answer #1 · answered by injanier 7 · 1 0

look into ASP instead of HTML. "active server pages" are processed by the webserver before any content is ever delivered to the user's browser. this is referred to as "server-side" vs. "client-side".

until you get up to speed in ASP, all you have to do is change the extension on your file from ".html" or ".htm" to ".asp", and then do an "include" where you want your templated stuff to appear.



"yourtemplate.htm" only has to have the code for your menu bar in it. avoid duplication and skip teh "", "", etc. tags. the document that calls this include should have them though.

an asp file can have nothing but regular HTML tags in it and be completely devoid of any ASP coding, so don't worry about any other ASP code until you get up to speed. the ".asp" extension tells the webserver to process the page before delivery to the "client".

note: your web server must support ASP. some freebie sites like yahoo don't. your provider might only do it on an upgraded package.

2006-08-28 20:15:36 · answer #2 · answered by country bear 2 · 1 0

For all HTML queries-

http://tinyurl.com/o5e26

all the best :)

2006-08-29 04:46:52 · answer #3 · answered by Anonymous · 0 0

http://www.htmlgoodies.com


awesome site for learning new bits of html and xhtml

2006-08-28 18:52:07 · answer #4 · answered by MstrChief55 5 · 0 1

fedest.com, questions and answers