winactive
06-13-2005, 05:31 PM
Switch Content Script
http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
If I want to update two areas on a page everytime, (say an image as well as text) and the image is after the switched text, what do I name (id:?) the <div> to get it to switch with the main text?
Example at http://web.ukonline.co.uk/steviejay/despopdhtml.htm
Image should change to 1 2 or 3 in line with expanded text. (1.jpg included to show what it looks like)
Sorry, I don't understand Javascript at all, I'm quickly trying to hack the script to fit!!! (I've fiddled a little already!) :eek: :D
Reading it again it doesn't seem to support any more html than within each <div> or whatever, should I use images with absolute positioning to acheive what I want?
Still puzzling........ :)
http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
If I want to update two areas on a page everytime, (say an image as well as text) and the image is after the switched text, what do I name (id:?) the <div> to get it to switch with the main text?
Example at http://web.ukonline.co.uk/steviejay/despopdhtml.htm
Image should change to 1 2 or 3 in line with expanded text. (1.jpg included to show what it looks like)
Sorry, I don't understand Javascript at all, I'm quickly trying to hack the script to fit!!! (I've fiddled a little already!) :eek: :D
Reading it again it doesn't seem to support any more html than within each <div> or whatever, should I use images with absolute positioning to acheive what I want?
Still puzzling........ :)