Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is dead handy. The purpose of the custom filter is to select all elements which have data attached. You can even find specific data.
1
822
posted 13 years ago by Meander365
example I used to create a auto suggest search from that pulls from a database. The example pulls from a single db table containing categories. Using jQueryUI made this pretty painless but by default the autocomplete feature uses GET variables and...
4
830
posted 13 years ago by myke
I’ve seen some very cool parallax effect around lately, especially liking the Silverback site. But none of them are particularly interactive, so I thought I’d make a small implementation of the Parallax effect that interacts with the mouse.
Ve...
1
570
posted 13 years ago by dom111
A simple script that will add captions to images and allow for easy styling.
1
497
posted 13 years ago by dom111
So recently I was asked to change a navigation style of an existing site to drop-down menus.
Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
0
691
posted 13 years ago by dom111
Just be sure to slap the div for the chars left message within the same div/p as the textarea so the dom walk works.
1
681
posted 13 years ago by housecor
Great for those situations where you need an element fixed on a page - so when a user scrolls it stays in the same position - *relative to its parent element*.
0
684
posted 13 years ago by Meander365
If on do nothing. If on make off. If off make on. Alter external value and focus.
0
616
posted 13 years ago by davebowker
There are many ways to have jQuery open external links for you. Some depend on relative URL\'s for internal links and absolute URL\'s for external links. Some analyze the link to see if it matches your domain. These are great but can sometimes be con...
0
626
posted 13 years ago by scribbleitdesigns
This is just a basic example of how you would allow navigation via left/right arrow keys. This is most commonly used when navigating multiple-image image galleries.
1
540
posted 13 years ago by ATLChris