| Index
» Projects
» phpMyEdit
» Forum
» including overlib |
 |
illsbills
Joined: 31 Jan 2007
Posts: 5
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
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
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
|
|
|
|