View Full Version : onmouseover event see details
02-17-2007, 07:40 PM
Please anyone can help about AJAX tooltip function..I working on project and I need to create onmouseover to shows details of events from database..please help..
You have same mouseover done on this webpage.
02-17-2007, 09:54 PM
Are the pages you wish to display the tooltips dynamically generated? If so it's arguably better to just have the server dynamically add the relevant "title" (aka tooltip) attributes with its content retrieved from a database. That's in fact how the tooltips on the forum category pages (http://www.dynamicdrive.com/forums/forumdisplay.php?f=23) operate. Using Ajax to make a request to the server whenever the user moves his mouse over a link is a waste of resources IMO, especially if you have lots of links on your pages.
02-17-2007, 11:13 PM
thanks for an reply,,
what "title" (aka tooltip) attributes means, when u mouseover event it will pullup event detail from database table and show in tooltip....
02-17-2007, 11:20 PM
Well, the title attribute is merely a HTML attribute, something like:
<a href="http://google.com" title="Click here to visit Google">Google</a>
It's static, though if your pages are dynamically generated, you can have the server dynamically output the contents of the title attribute, from say a database. That's how the tooltip here in the forums are created.
02-17-2007, 11:28 PM
Thank you sir...my page are dynamically generate event from database.
I need help to create "you can have the server dynamically output the contents of the title "attribute, from say a database. That's how the tooltip here in the forums are created."
I need help ..sorry about my little knowledge of this..Please help me ..
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.