Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 15 16 17 18 19 ... 44
2 594 posted 13 years ago by prit
This snippet will allow you to create a template browser for when you need to show multiple pages quickly. simply add the new pages into the select dropdown options and you're away.
0 548 posted 13 years ago by demwunz
0 808 posted 13 years ago by arunpjohny
0 665 posted 13 years ago by davebowker
f you wish to use any of the meta-characters ( such as !"#$%&'()*+,./:;?@[\]^`{|}~ ) as a literal part of a name, you must escape the character with two backslashes: \\. For example, if you have an an element with id="foo.bar", you can use the select...
0 582 posted 13 years ago by bitstream
0 733 posted 13 years ago by davebowker
I like how this site uses jQuery to center some elements and I wanted to save the code incase they change their site ever.
2 819 posted 13 years ago by greenconure
The option elements in the original select may provide an image and a second line of text by using a data-img and a data-info attribute.
7 1368 posted 13 years ago by peckham
When running live filters on large, long scripts you can get old, stale results replacing your new, fresh ones. After all, a search for everything containing 'S" in a large database of city names can take a lot longer than "Seattle", so your script g...
2 1085 posted 13 years ago by FatFolderDesigner
Template for a Object Literal Architecture in javascript, in this case jQuery
0 683 posted 13 years ago by athanassiadis
This snippet could be useful if you use an div based design eg. with a slider or something similar. it grabs variables from the base url splitted by "#". So you can browse to your site like "http://www.example.com/#1#2" and use the first and secon...
0 953 posted 13 years ago by disas
A vast majority of sites these days make use of the jQuery JavaScript library. A vast majority also make use of Google’s hosted version of the library for faster loading speed’s, and better cross site caching. However, what if there is ever a pro...
1 676 posted 13 years ago by paul66
_off を _on に置換してロールオーバー _on 画像をプレロード
0 367 posted 13 years ago by tsucharoku
This is the code necessary to grab the title attribute from the link/images selected and then parse it for use in the title field of a FancyBox popup.
0 612 posted 13 years ago by davidcfox
$('li.current_sub').prevAll("li.par_cat:first"); Tested it with your markup: $('li.current_sub').prevAll("li.par_cat:first").text("woohoo"); will fill up the closest previous li.par_cat with "woohoo".
1 883 posted 13 years ago by lamebollock
0 890 posted 13 years ago by metoikos
You may need to change the IDs around.
2 912 posted 13 years ago by joshvermaire
0 693 posted 13 years ago by MarkusToe
0 546 posted 13 years ago by rubdottocom
The uploaded file is attached to the "pid" of the recently inserted project. the "pid" variable is retrieved from the database after the project has been entered
2 976 posted 13 years ago by danhanly
2 797 posted 13 years ago by emilbjorklund
1 ... 15 16 17 18 19 ... 44