Results 1 to 3 of 3

Thread: I need help with Dynamic image selector

  1. #1
    Join Date
    Jul 2006
    Location
    Aligarh,India
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I need help with Dynamic image selector

    1) Script Title: Dynamic image selector

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...geselector.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!

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In this part of the code, you can add the hyperlinks as you wish like so:

    Code:
    //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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Jul 2006
    Location
    Aligarh,India
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow! thanx! it's working! ^.^

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •