andy
Posts: 183
|
Posted: 04/06/2008, 9:32 AM |
|
Here is a good solution for retrieving any php / html page (including a Code Charge Studio page with all its data connections, events and links) into a tooltip or floating panel when your mouse hovers over an object.
This is really useful if, for example, you want to quickly display detail table data related to the master record on your page without overcrowing your page with too much information in the first place.
An example of what it does can be seen under "Detail Records Preveiw" here: http://www.hkvstore.com/phpmaker/phpmaker5.asp
This is how to do it:
Use the "Download Ajax tooltip" script at dhtmlgoodies.com
This is the page to download the files: http://www.dhtmlgoodies.com/index.html?whichScript=ajax-tooltip
Just replace 'demo-pages/ajax-tooltip.html' with one of your static CCS php pages carefully created to be of the correct dimensions.
Or to retrieve a related page, in order to pass the foreign key to the page being retrieved you will have to embed a CCS link.
Example of the <a> code:
<a href="#" onmouseover="ajax_showTooltip('{Link1_Src}',this);return false" onmouseout="ajax_hideTooltip()"> .... </a>
Adjust the size of the tooltip bubble by editing the CSS file.
Enjoy!
_________________
Andy
RAD tools for rich UI controls:
http://www.koolphptools.com |
|
|
|