Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 15 16 17 18 19 ... 44
2 607 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 556 posted 13 years ago by demwunz
0 824 posted 13 years ago by arunpjohny
0 679 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 590 posted 13 years ago by bitstream
0 748 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 830 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 1390 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 1104 posted 13 years ago by FatFolderDesigner
Template for a Object Literal Architecture in javascript, in this case jQuery
0 696 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 973 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 689 posted 13 years ago by paul66
_off を _on に置換してロールオーバー _on 画像をプレロード
0 373 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 624 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 899 posted 13 years ago by lamebollock
0 913 posted 13 years ago by metoikos
You may need to change the IDs around.
2 924 posted 13 years ago by joshvermaire
0 727 posted 13 years ago by MarkusToe
0 557 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 994 posted 13 years ago by danhanly
2 819 posted 13 years ago by emilbjorklund
1 ... 15 16 17 18 19 ... 44