Web Site Images

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


  adamcoppard 11:48 26 Jul 07

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 07

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 07

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.

Hands-on: Samsung Galaxy S8 review

1995-2015: How technology has changed the world in 20 years

Samsung's beautifully designed Galaxy S8 makes for better VR experiences too

47 iPhone camera tips to help you take better photos