Web Site Images

  User-402BA281-1CFE-4FE3-9D45502C58B38958 15:34 25 Jul 2007
Locked

Hi Guys,

I am very new to web design and only know a limited amount of HTML

I am looking to get my site to randomly change the images once the page is refreshed but i also want to keep them in a table format i have at the moment

I am hoping to have 5 images for 1 link that will randomize and the link is also external to my site

Cheers in advance for any help

Juggy69

  adamcoppard 11:48 26 Jul 2007

This can be done via JavaScript. I am currently looking in my books, and will post an example soon.

Hi thanks for the response been thinking is it easier to randomise the links and keep a particular image i am using a predesigned CSS template so it may just me a line code in CSS that my make it all easer i have spent the last 2 days looking for both options lol

Again cheers for the response

  Forum Editor 00:12 28 Jul 2007

click here for an example of a javascript image rotator. There are hundreds of them out there, but this one works well.

  rachwelian 21:06 29 Jul 2007

Unfortunately you can't use CSS to display random images/links. You'll need to use Javascript or PHP...

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Fujitsu Lifebook P727 laptop review

Lightwell software lets you create mobile apps without using code

Best value Mac: Which is the best £1249 Mac to buy

Comment désactiver les programmes qui s'exécutent au démarrage de Windows 10 ?