Results 1 to 6 of 6
Sep 29, 2007, 16:33 #1
- Join Date
- Jul 2005
- Osoyoos BC Canada
- 0 Post(s)
- 0 Thread(s)
I recently built a site for a conference, which has several sponsors. I added some php to the pages so that a random logo of one of them shows up each time a page is requested. Clicking on the logo takes the user to that sponsor's site, and hovering over the logo in FF and Safari/opera (not, of course IE) shows a tooltip with title "description of the company".
So, a typical logo's html , generated server side looks like this:
<a href="http://www.marmot.com" rel="external"><img src="sponsors_logos/marmot4life_175_21.png" height="21" width="175" alt="Marmot's logo" title="NB. External link. Opens in a new tab/window. Marmot, maker of packs, tents, sleeping bags and outdoor clothing is the Presenting Sponsor for ISSW2008" /></a>
- I then want to replace the image and it's link and text/title/alt/size etc with another every 4 secs.
I just don't see how to do this, I can set up a timer, based on the number of items in an array, make an image change every x secs, but don't know how to also add all the other parts to the code.