Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a two file video player. I use JSON to get the list of videos from a user, then when a thumbnail is clicked, an AJAX request is sent with the id of the video, and an oEmbed response is sent back.
4
687
posted 13 years ago by mloberg
This snippet of code is probably the most common and _valuable_ in the world of jQuery.
1
741
posted 13 years ago by creativeboulder
Use Curl to grab the latest versions of jQuery... dev and minified versions.
0
951
posted 13 years ago by mecha
Instead of putting "1.4.2" or whatever in the src, if you just put "1", you'll get the most recent version. At least until they release v2.
1
655
posted 13 years ago by matula
Get the latest 5 titles from the Tumblr API using jquery
0
747
posted 13 years ago by morningcatmedia
This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it.
I used it with jquery 1.3.2 and up
3
730
posted 13 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2
921
posted 13 years ago by e11world
First, we select the link with an ID of #some_id, and prevent the default event from occurring (which would be to follow the link and load the target page). We grab the original destination of the link (by retrieving the href attribute of the link we...
3
517
posted 13 years ago by jmsrie
Add rel="external" on link you would like to open in a new window
1
609
posted 13 years ago by gerhardsletten
I know there are other solutions and sites out there that provide code to perform this simple animation but I like the way I laid out the code. The principal behind this code is it will toggle a show or hide event and change your plus or minus image...
1
702
posted 13 years ago by mattvbiggs
very minimal way to get the value and text of a combo box using jquery
1
579
posted 13 years ago by blipz