Wednesday, July 21, 2010

AJAX Show Image over hyperlink (mouse over)

In a web page you may need to show an image or thumbnail when you hover over a link. This AJAX script allows you to do this. First there is one js file and one CSS, then you have to put some code @ the of the page. Then finally, I'll show you how to reference the mouse over from the hyperlink:


first JS ddimgtooltip.js:
http://www.dynamicdrive.com/dynamicindex4/ddimgtooltip.js

second the ddimgtooltip.css:
http://www.dynamicdrive.com/dynamicindex4/ddimgtooltip.css


in the head of the document reference the .js using the src command.

in the code use rel="imgtip[0]" or 1 or 2 or so on with the hyperlink.


This code was originally featured on www.dynamicdrive.com

No comments:

Post a Comment

Generating "Always On Top" NSWindow in macOS across all detected displays

Also: Using UIKit & Cocoa Frameworks using Objective-C In m acOS or OS X , written in either Objective-C or Swift  Langues, you m...