Meander365


Member since 08/02/2009

14 snippets

4973 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

Meander365's Recent jQuery SnippetsTagged javascript



« Prev 1 Next »
Adapted so a delay can be applied on mouseleave.
1 528 posted 13 years ago by Meander365
This is a cut down example using custom tabs (you can easily add a custom ajax event to load in content - just follow Ben Alman's example).
0 841 posted 13 years ago by Meander365
Allow events to bubble up the DOM to overseeing handlers.
2 707 posted 13 years ago by Meander365
Also includes the fix for when the user resizes the window.
4 602 posted 13 years ago by Meander365
Handy. Hide an element as soon as possible, before document.ready. The element gets hidden but only when a class is applied to the html via js.
1 607 posted 13 years ago by Meander365
I can see this being useful for when you want to pass a lot of associated data to an event handler from elements and their chosen trigger action.
1 699 posted 13 years ago by Meander365
One bind event, multiple events. Handy.
2 630 posted 13 years ago by Meander365
For those multiple rollovers - and their multiple flashes! The solution is to stop(!) them.
2 598 posted 13 years ago by Meander365
Dave Metvin\'s method. Two tricks to the method:\r\n\r\n$($boxes[div++] || []) - increaments \"div\" and passes an empty array if the element doesnt exist (so it exists).\r\n\r\narguments.callee - the name of the function currently being executed.
1 585 posted 13 years ago by Meander365
A small plugin that you can use in the jQuery chain to delay the next in queue. For those using a jQuery library pre 1.4 (v1.4 + has .delay() ). $('.notice').fadeIn().idle(2000).fadeOut('slow');
0 537 posted 13 years ago by Meander365
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up...
1 932 posted 14 years ago by Meander365
« Prev 1 Next »