Image Swap help

Reply

Join Date: Jun 2005
Posts: 147
Reputation: ashneet is an unknown quantity at this point 
Solved Threads: 1
ashneet's Avatar
ashneet ashneet is offline Offline
Junior Poster

Image Swap help

 
0
  #1
May 28th, 2006
Well my question is that is it possible to use image swap without having to put a lot of code in the head of the page.
well basically i dont want to defien my images in the head instead i want to define them right before the link and the image it self where it is suppose to swap in and out.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Image Swap help

 
0
  #2
May 29th, 2006
Script bodies can exist anywhere in your page, if that's your question.

The reason why image objects are defined in the HEAD is to give the user a better experience. They'd rather wait a few seconds up-front, once, for the page to load, than have to wait for an image to load when they rollover a link.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Image Swap help

 
0
  #3
May 29th, 2006
I'll second that.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 147
Reputation: ashneet is an unknown quantity at this point 
Solved Threads: 1
ashneet's Avatar
ashneet ashneet is offline Offline
Junior Poster

Re: Image Swap help

 
0
  #4
May 29th, 2006
Thats is exactly what i needed to know.
the main reason i wanted to know that was because i made a php script and i didnt want to re write it to work with JS so what i am gona do now is that i am gona paste the script right before the link and i am gussing that wont mess with the load time.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Image Swap help

 
0
  #5
May 29th, 2006
Ok, let us know how you progress. Please do make an effort to spell-check and proofread your posts here... old folks like me have a hard time reading (and taking seriously) posts with stuff like "i am gona" in them!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC