PDA

View Full Version : Content Switching Script



sms720
10-26-2004, 01:03 PM
Firstly apologies for posting this, I am sure this is fairly easy but I know next to nothing about Javascript.

I am using the Content Switching script which is excellent and does exactly what I want. Instead of using it with <h3> I am using with the top row of a table. Just to top off the visual effect I would love to do something that I have seen on www.scan.co.uk (http://www.scan.co.uk) (look at the info section on the left-hand side) where you have two images one for expand and one for contract. The correct image gets displayed depending on the current state of the dynamic content.

Is this possible and if so it would be much appreciated if someone could point me in the correct direction.

Thank you

Simon