Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  including overlib

phpMyEdit Features     including overlib
Post new topic   Reply to topic    
 
illsbills     Joined: 31 Jan 2007   Posts: 5  
Post Posted: 2007-01-31 11:36
Back to top  Reply with quote     

If anyone cares to make help messages display in fancy little hovering boxes ...

in phpMyEditClass.php

added:

[code]
echo ' <td class="',$css_class_name,'"><a href="javascript:void(0);" onmouseover="return overlib(\''.$cell_value.'\');" onmouseout="return nd();">HELP</a></td>';
[code]

instead of
[code]
echo'<tdclass="',$css_class_name,'">',$cell_value,'</td>',"\n";
[code]

in function

[code]

function display_add_record() /* {{{ */

[code]

the overlib.js is included as described here:

http://www.bosrup.com/web/overlib/?Documentation[/code]

 
zucarino     Joined: 29 Dec 2005   Posts: 44   Location: Rio de Janeiro - Brazil
Post Posted: 2007-02-01 12:43
Back to top  Reply with quote     

Nice!

(Correct link: http://www.bosrup.com/web/overlib/?Documentation )

Do you have any customized message-box style?

_________________
---
Victor Zucarino
vffzbr at yahoo dot com dot br
 
illsbills     Joined: 31 Jan 2007   Posts: 5  
Post Posted: 2007-02-03 10:58
Back to top  Reply with quote     

Hey,
For my needs i just use a simple box and limit the width as given on the overlib site.
Also, I think the better way to do what i was doing is, rather than modifying the class file, just use the following string for help in opts:


'help'=>'<a href="javascript:void(0);" onmouseover="return overlib(\'Some Help Message Here\');" onmouseout="return nd();">HELP</a>'

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy