[Phpmyadmin-devel] qTip usage for more reusable code

Aris Feryanto aris_feryanto at yahoo.com
Mon Jul 11 10:34:01 CEST 2011


----- Original Message -----

> From: Aris Feryanto <aris_feryanto at yahoo.com>
> 
> ----- Original Message -----
> 
>>  From: Tyron Madlener <tyronx at gmail.com>
>> 
>>  Hi Aris
>> 
>>  I have reused your Tooltip style (dHint class) and animation effects
>>  for my sortable tables on the status page. However I had to copy the
>>  code, maybe it's worth investing time in a reusable solution? Maybe
>>  based on qtip (or we remove qtip altogether and build our own
>>  solution)?
>> 
> 
> Hi Tyron,
> 
> Reusable code is always good. I think we can use qtip, since it is already 
> included in phpMyAdmin jQuery library and the interface also looks nice. 
> I'll try this on browse-mode tooltip.
>

I changed the subject of this email to make it clearer.

I pushed new code using qTip to my repo. You may try the demo at [0]. But, there are some bugs left:
- qTip seems to conflict with column highlighting.
- I use qtip.hide() to hide the qtip when column header is clicked in order to mark/unmark or to reorder column. But, sometimesĀ itĀ just disappear and never come back again.

I think these problems won't happen in sortable tables on the status page, since it doesn't need special handling as in browse-mode.
Before I proceed further, I would like to hear any comment or feedback from other phpMyAdmin developers and GSoC-ers about this qTip usage.


[0] http://demo.phpmyadmin.net/gsoc-aris


--
Aris Feryanto




More information about the Developers mailing list