Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 11th, 2003, 10:44 AM
8thNote 8thNote is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 8thNote User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Use "Include" SSI command and alter included HTML header?

I figured out how to include one HTML file in another with one of the following tags.
<!--webbot bot="Include" U-Include="/FILENAME.html" TAG="BODY" -->
<!--#include="/FILENAME.html" -->
(which one is better, BTW?)

I would like all of my pages to reference the one HTML "header" but here's my problem. The included HTML file has Javascript to make mouseovers and such, including "selected-state" mouseovers. Thus, I want something to change colors when a person is on that page.

Can this be done with a single included file?

To see what I'm talking about, visit my website at URL and look at the top bar.

Reply With Quote
  #2  
Old December 12th, 2003, 01:56 AM
pda8333 pda8333 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 216 pda8333 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 6 m 31 sec
Reputation Power: 5
fyi, you got run time error everytime i move my mouse over your top & left icons.
__________________
Hope this helps.

Mike
Royal Selangor Pewter

"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)

Reply With Quote
  #3  
Old December 12th, 2003, 09:05 AM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
If you use:
PHP Code:
<!--#include="/FILENAME.html" --> 

You will need to have SHTML files to called those includes. These are better than the Frontpage once ebcause if the FP extensions break, you will lose those includes until it is fixed.

Also, if you use SSI - you do not want a <HEAD> or <BODY> in there. This will be pulled from the SHTML file. But if you use FP, you DO want them in there.

http://www.bignosebird.com/ssi.shtml
http://www.smartwebby.com/web_site_...de_includes.asp

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Use "Include" SSI command and alter included HTML header?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not 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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway