944,113 Members | Top Members by Rank

Ad:
May 28th, 2006
0

Image Swap help

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster
ashneet is offline Offline
147 posts
since Jun 2005
May 29th, 2006
0

Re: Image Swap help

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.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
May 29th, 2006
0

Re: Image Swap help

I'll second that.
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
May 29th, 2006
0

Re: Image Swap help

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.
Reputation Points: 10
Solved Threads: 1
Junior Poster
ashneet is offline Offline
147 posts
since Jun 2005
May 29th, 2006
0

Re: Image Swap help

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!
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Scrolling tables problem
Next Thread in HTML and CSS Forum Timeline: Regular Expression Help!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC