1.

Solve : Rollover Image on Random Browser Refresh?

Answer»

I need to include a rollover image with each link and was wondering where/what I would insert into the coding to do this. Below is the CURRENT coding I'm using. The rollover file name is
Header_0_Rollover.jpg

Any help would be greatly appreciated. If anyone also knows how to SET this same coding so the images display in a particular order, rather than randomly, that would be a big help as well.

Quote

images[0] = "<a href = 'http://www.example.com'target=_blank&GT;<img src='http://www.example.com/Headers/Header_0.jpg' alt='XXX'>[/url]";

images[0] = "<a href = 'http://www.example.com'target=_blank><img src='http://www.example.com/Headers/Header_0.jpg' alt='XXX'>[/url]";

should be;

Code: [Select]images[2] = "<a href = 'http://www.example.com'target=_blank><img src='http://www.example.com/Headers/Header_0.jpg' alt='XXX'>[/url]";

images[0] = "<a href = 'http://www.example.com'target=_blank><img src='http://www.example.com/Headers/Header_0.jpg' alt='XXX'>[/url]";
Then replace
Code: [Select]http://www.example.com/Headers/Header_0.jpgwith the URLS of the images.No, it should be:

Code: [Select]images[0] = "<a href = 'http://www.example.com'target=_blank><img src='http://www.example.com/Headers/Header_0.jpg' alt='XXX'></a>";
images[1] = "<a href = 'http://www.example.com'target=_blank><img src='http://www.example.com/Headers/Header_0.jpg' alt='XXX'></a>";


Discussion

No Comment Found