PDA

View Full Version : Link Description Script



rveloz
08-22-2007, 04:10 PM
Hello DD admin and users.
My question is regarding the Link Description Script http://www.dynamicdrive.com/dynamicindex5/linkdescribe.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

codeexploiter
08-23-2007, 06:04 AM
In the source code check the following section


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


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.

rveloz
08-23-2007, 07:18 PM
worked like a charm!!
thanx!:D