PDA

View Full Version : I need help with Dynamic image selector



Shahla
03-28-2008, 09:21 PM
1) Script Title: Dynamic image selector

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imageselector.htm

3) Describe problem: I actually don't have any problem with the script itself but I want to turn the Image Description Text into hyperlinks, and I dunno how to do it.

I want to hyperlink the text so that I can upload some books' cover pages in the gallery and the download links are shown below the images.

Can anyone help me out? Pretty please!:confused:

thetestingsite
03-28-2008, 09:28 PM
In this part of the code, you can add the hyperlinks as you wish like so:



//enter image descriptions ("" for blank)
var description=new Array()
description[0]='<a href="test.html">DHTML: The Definitive Guide</a>'
description[1]='<a href="book2.html">DHTML Visual QuickStart Guide</a>'
description[2]='HTML 4 and DHTML'
description[3]='IE5 DHTML Reference'


Hope this helps.

Shahla
03-28-2008, 09:40 PM
Wow! thanx! it's working! ^.^