Results 1 to 3 of 3

Thread: Link Description Script

  1. #1
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Link Description Script

    Hello DD admin and users.
    My question is regarding the Link Description Script http://www.dynamicdrive.com/dynamici...nkdescribe.htm

    I want to include an img in the description of the link, but i'm not sure where to include the img tag.
    Thanks for any help anyone can offer.

    rv

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    In the source code check the following section
    Code:
    linktext[0]="Visit Dynamic Drive for some great DHTML scripts!"
    linktext[1]="JavaScript Kit, the JavaScript technology center"
    linktext[2]="Direct link to hundreds of free java applets online"
    linktext[3]="Research information, get homework help, chat with educators"
    linktext[4]="The virtual encyclopedia"
    linktext[5]="Your online dictionary"
    Now for example you need to display an image in the first description then you can change the above mentioned first description to
    Code:
    linktext[0]="<img src='img/show.gif' border='0' alt='show' width='25' height='20' /> Visit Dynamic Drive for some great DHTML scripts!"
    The <img> tag i've mentioned in the above case is based on my image details you can change these information according to your images.

    Hope this helps.

  3. #3
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    worked like a charm!!
    thanx!

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
  •