David Arcoleo wrote:
>>> 2) I am also wanting to be able to hover over this linked table entry
>>> and show some text.I have no idea how to do this.
>> Haven't tried this yet, but I will be over the next few days,
> 
> I have found something, but it doesn't really fit my needs.  I create
> a qx.ui.form.List, and add a bunch of ListItems to it.  The ListItems
> are simple strings from an array, so I can do
> 
>     var myItem = [ "<span title='hover text'><a href='http://url'>Item
> 1</a></span>", "...", ... ]
> 
> You get the idea.  The problem is, I need to be able to record when
> the hover text appears.  I would also like to make the hover itself
> interactive, say, if I put other links on it.  Perhaps I should be
> doing something not related to lists.  I could use, say have a bunch
> of free standing buttons which all have hover.  I could wrap them in
> something which has scroll bars and that may give the same visual
> effect.

Certainly with a List you get more control over its behaviour as all the 
ListItems are true Objects, unlike the elements in a Table, which is 
designed to show large datasets very efficiently.


With ListItems you should be able to add a ToolTip to it which can 
appear after an interval of hovering. If you need to record information 
on the server side (i.e. where the web server is running), then you 
might be best adding a listener to the mouseover event, starting a timer 
(which is cancelled by mouseout) and making an RPC call to the server 
when the timer fires. You can even dynamically return the text that 
should appear in the ToolTip in this request.


Hope that helps...

Nick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to