You may want to consider onclick or something like that hover intent plugin that was recently mentioned on this list. Otherwise, if you fire ajax calls onmouseover, you'll likely end up with poor performance when the user is just moving the mouse around. Also, you may want to cache the results of the lookup.
--Erik On 3/14/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > That's not a good idea to me: i prefer to perform an ajax call on mouseover, > because loading the details of all contacts would increase an already heavy > html download. > > But thanks for the suggestion. I'll try jqModal, i wonder why i didn't think > of it before. > > -----Original Message----- > From: Erik Beeson [mailto:[EMAIL PROTECTED] > Sent: jeudi 15 mars 2007 0:54 > To: [EMAIL PROTECTED]; jQuery Discussion. > Subject: Re: [jQuery] rollodex ui > > There's an awful lot to what you're asking. It sounds less like jQuery help, > and more like consulting work... > > I could imagine a long list of "rows" (DIVs or SPANs or TRs) that have a > nested DIV that has the full contact details. Then just something like > (untested pseudoish code): > > $(rows).hover(function() { > $(this).children(details).show(); > }, function() { > var $details = $(this).children(details); > setTimeout(function() { $details.hide(); }, delay); }); > > If you're wanting the details content to hover over the top of your rows, > you might look into something like the modal plugin. Maybe you could have an > onmouseout handler on the modal content to hide it. > > --Erik > > On 3/14/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > > > > hello! > > > > i need to display a list of contacts in an online addressbook which > > can be up to 1000 rows. Each row just display the firstname, lastname > > and organisation, with a button next to it. On mouse over this button, > > a div comes front showing that specific person's full contact information. > > On mouse out, it would stay for another few seconds then disappear. > > I would like to know how you guys would do that, or if you know of any > > plugin that can be used like that ? > > > > Thanks a lot! > > > > > > Alexandre > > > > > > > > -- > > Ce message Envoi est certifié sans virus connu. > > Analyse effectuée par AVG. > > Version: 7.5.448 / Base de données virus: 268.18.11/721 - Date: > > 13/03/2007 > > 16:51 > > > > _______________________________________________ > > jQuery mailing list > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > > > -- > Ce message Envoi est certifié sans virus connu. > Analyse effectuée par AVG. > Version: 7.5.448 / Base de données virus: 268.18.11/721 - Date: 13/03/2007 > 16:51 > > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/