Jump to content

Simple Gallery with Tooltip


mattdamon

Recommended Posts

Im working on a website and need help on this:

 

http://bolgallery.free.fr/ free image gallery.

 

with the jquery tool tip http://jquery.com/

 

We are trying to get the tool tip to open when you hover over an image but the gallery script contains no a href="title" code.

 

We have tried to write in php to make the source write a title for the link so it would show up but it wont work.

 

help!

Link to comment
https://forums.phpfreaks.com/topic/50039-simple-gallery-with-tooltip/
Share on other sites

$HTML .= "\t\t<TD align=\"center\">\n\t\t\t<A href=\"" . $currentImage . "\" onClick=\"bolGalleryPopup(this.href, " . $referenceImageWidth. ", " . $referenceImageHeight . ", '" . $alt . "'); return(false);\" target=\"_blank\">\n"; // target attribute to be tested

$HTML .= "\t\t\t\t<IMG src=\"" . $thumbnail . "\" title=\"" . $alt . "\" border=0>\n";

$HTML .= "\t\t\t</A>\n\t\t</TD>\n";

 

this is the area we are trying to edit but it wont show up in the code when we enter title in the the HREF

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.