Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 13 14 15 16 17 ... 46
Free JavaScript slideshow with thumbnail gallery, zoom-in-effect, zoom-out-effect and transparency-effect (opacity). Add as many pictures as you like. Each picture can be linked and commented. The thumbnail gallery can be displayed or hidden. True co...
0 3167 posted 15 years ago by fabulant
0 1623 posted 15 years ago by gdesjardins
0 1458 posted 15 years ago by gdesjardins
simple jquery accordion
0 1571 posted 15 years ago by jelontok
This simple script toggles element visiblity on a page based on a form field's current value.
0 2097 posted 15 years ago by beneberle
When applied to a page, this script converts any sub-menus created in the Wordpress menu editor into drop-down menus without having to specify each menu item individually. Fades in sub-menu of selected list item quickly, then fades out when leaving l...
2 1860 posted 15 years ago by happynuclear
given a url: >`http://www.someurl.com/page.html?param1=foo&param2=bar` You can use map.param1 outside of the function such as: >`$('#some_hidden_field').val(map.param1);`
0 1535 posted 15 years ago by agdm
This is 3 lines of javascript code to tweetify plain text returned by Twitter API Input : RT @TTintheCloud: How much are free #cloudcomputing trial offers from Google, Amazon and Microsoft actually WORTH? http://bit.ly/i4w4qa Output : RT <a hre...
1 1386 posted 15 years ago by naren1012
Javascript solution for embedding Flash in HTML
0 3129 posted 15 years ago by vriesdewie
Mix EE channel tag into javascript add the following code into the config array.
0 1642 posted 15 years ago by audiopleb
0 1588 posted 15 years ago by lecksfrawen
This is probably the first vertical JavaScript text ticker that sues tilted letters. Works with Internet Explorer 6x/7x/8x/9x, Firefox 3.6x, Opera 10.5x and Google Chrome 4x/5x/6x. Older Browsers show no ticker.
0 1984 posted 15 years ago by fabulant
What's so special about this JavaScript slideshow? By moving your cursor all over the webpage you create a nice distortion effect on your images.
0 1922 posted 15 years ago by fabulant
0 1543 posted 15 years ago by loric
Normal replace() function only replaces first instance.
1 2384 posted 15 years ago by rumremix
Found that the webmonkey tutorial code didn't work as double quotes were used around JSON string.
0 1614 posted 15 years ago by eddequincey
Cross domain issues occur when trying to read files such as .xml files of one domain in an other domain (two different websites, ie different IP:Port)
0 1532 posted 15 years ago by vriesdewie
Modified regex of URL Matcher found on http://daringfireball.net/2010/07/improved_regex_for_matching_urls
0 1796 posted 15 years ago by naren1012
Reminder of the assertions possible with jstestdriver
0 1235 posted 15 years ago by ddubyah17
0 1417 posted 15 years ago by BebenKoben
0 1503 posted 15 years ago by BebenKoben
See also the [plain JavaScript version](http://snipplr.com/view/41717/default-value-for-input-fields/).
1 2040 posted 15 years ago by riddla
// big thanks to these tips for giving me code to steal: http://bit.ly/bundles/brandonjp/9 /* * USAGE: give your HTML textarea or text input element an ID * give your button an onClick="insertThisInThere(text2insert, theInputIDwhereItGoes);"...
0 4617 posted 15 years ago by brandonjp
0 1534 posted 15 years ago by esundahl
1 ... 13 14 15 16 17 ... 46