[jQuery] Re: Linking each list item to respective div container.

2007-05-16 Thread Karl Rudd
I don't have a lot of time at the moment. For the "delayed hover" effect have a look at this plugin. http://cherne.net/brian/resources/jquery.hoverIntent.html Emil has given you the link to the AJAX documentation. Karl Rudd On 5/17/07, [EMAIL PROTECTED] d <[EMAIL PROTECTED]> wrote: *Not

[jQuery] Re: Linking each list item to respective div container.

2007-05-16 Thread Emil Ivanov
Hi, Now, I feel this is the right way to do this (and the most simple, also): The menu caption (e.g. Add an Item (ยป)) and the menu itself should be in the same container (ul, div, whatever). Then you bind the hover event (http://docs.jquery.com/Events#hover.28_over.2C_out_.29) $('#mymenu').hove

[jQuery] Re: Linking each list item to respective div container.

2007-05-16 Thread [EMAIL PROTECTED] d
*Not sure why my prev message isn't showing up, so posting again. Thanks Karl, I tried using the functions you suggested, but now I think using id's is the best approach... Earlier I wasn't keen on using them because I want to dynamically generate/delete list items... Any way.. All I have is a d

[jQuery] Re: Linking each list item to respective div container.

2007-05-15 Thread Karl Rudd
Why don't you want do this "without naming ids and classes"? My recommendation would be to use something like this: $(function() { var targets = $('[EMAIL PROTECTED]'); if ( !targets.length ) return; var firstTarget = targets[0]; var pageLinks = $('[EMAIL PROTEC