ChasDevlin
03-06-2003, 04:46 PM
Hi,
Trying to find a script (DHTML or JavaScript) to enable text to appear in one place via a clicked thumbnail image (in an iFrame).
I think I can create an empty div tag where I want the text caption to be:
ex :
then: add an extra js function to my thumbnail onClick
ex : onclick="showText('captio n','lorem ipsum blah blah')"
but I have no idea how to write the actual showText javascript function to perform a document.write
Does anyone know how to do this? Any help is appreciated! The test site is up at:
http://www.sleazerama.com/NT_test/test.htm
Cheers :)
Trying to find a script (DHTML or JavaScript) to enable text to appear in one place via a clicked thumbnail image (in an iFrame).
I think I can create an empty div tag where I want the text caption to be:
ex :
then: add an extra js function to my thumbnail onClick
ex : onclick="showText('captio n','lorem ipsum blah blah')"
but I have no idea how to write the actual showText javascript function to perform a document.write
Does anyone know how to do this? Any help is appreciated! The test site is up at:
http://www.sleazerama.com/NT_test/test.htm
Cheers :)