Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1008
posted 14 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
701
posted 14 years ago by dom111
A simple script that will add captions to images and allow for easy styling.
1
645
posted 14 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
861
posted 14 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
874
posted 14 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
855
posted 14 years ago by Meander365
If on do nothing. If on make off. If off make on. Alter external value and focus.
0
760
posted 14 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
782
posted 14 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
684
posted 14 years ago by ATLChris
A quick template for extending javascript/jQuery functionality
1
694
posted 14 years ago by nikefido