Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 13. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  including overlib

phpMyEdit Features     including overlib
Odoslať novú tému   Odpovedať na tému    
 
illsbills     Založený: 31.01.2007   Príspevky: 5  
Príspevok Zaslal: 2007-01-31 11:36
Návrat hore  Odpovedať s citátom     

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     Založený: 29.12.2005   Príspevky: 44   Bydlisko: Rio de Janeiro - Brazil
Príspevok Zaslal: 2007-02-01 12:43
Návrat hore  Odpovedať s citátom     

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     Založený: 31.01.2007   Príspevky: 5  
Príspevok Zaslal: 2007-02-03 10:58
Návrat hore  Odpovedať s citátom     

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>'

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov