[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-13 Thread Jannik
On Feb 13, 12:28 am, Sean Ronan \(Activepixels\) [EMAIL PROTECTED] wrote: Hi Jannik, How would your example be adapted to use mouseovers and then hide the div once the mouse is off either the li or the div. I posted a question earlier today show/hide flyout menu panel and it seems your approach

[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-12 Thread Jannik
Try this: $(document).ready(function (){ $('div.page').hide(); $('#menu li').click(function (){ $('div.page').hide(); $('#div'+$(this).attr('id')).show(); }); }); ul id=menu li id=link1Lorem ipsum dolor/li li id=link2Lorem ipsum

[jQuery] Re: jCarousel - How do I hide the list before display

2008-02-05 Thread Jannik
Couldn't you just use a visibility:hidden; style in your css? Or maybe put it into your jquery so the list is only hidden if you have javascript enabled. On Feb 5, 2:12 am, rich [EMAIL PROTECTED] wrote: Ah, ok. I thought you were looking to hide that quick flash of the image list before they

[jQuery] Re: preloading images with jquery in IE

2007-12-14 Thread Jannik
Try this $(document).ready(function(){ var $img = $('img').load(function (){ alert('loaded!'); }).appendTo('body').attr('src',$img.src); }); It takes the images from the page and preloads them. Can't remember where I found it so sorry that I can't credit the