Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged c



1 ... 28 29 30 31 32 ... 65
used on: ezpl theme, header.php just be sure to enqueue for any such scripts BEFORE wp_head(). Otherwise they don't get loaded. That is to say, it's probably best to have wp_head() rigth before </head>.
0 1570 posted 15 years ago by mjsiemer
0 1207 posted 15 years ago by joernroeder
0 1627 posted 15 years ago by ichnoweb
A recent update to either Google's search results page or Firefox's Tab Mix Plus add-on has prevented a locked tab from opening links in a new tab. This Greasemonkey script removes the tracking code on the Google links that causes the problem. I don'...
0 1825 posted 15 years ago by wizard04
1 2062 posted 15 years ago by jiewmeng
different solution by PPK:\\r\\n[http://www.quirksmode.org/book/examplescripts/maxlength/index.html](http://www.quirksmode.org/book/examplescripts/maxlength/index.html)
0 1684 posted 15 years ago by cfleschhut
Simple Javascript test of the HTML 5 geolocation API spec
0 1875 posted 15 years ago by iamjpg
0 1549 posted 15 years ago by Farhan
Basic JavaScript browser redirect.
1 1371 posted 15 years ago by jonkemp
Simple illustration of structuring your JavaScript and minimising your use of global vars.
0 2055 posted 15 years ago by 1man
An example taken from JavaScript: The good parts showing how to catch an exception.
0 2077 posted 15 years ago by 1man
You have a RGB value and want to convert it into Hexadecimal mode, here’s how to do it using JavaScript.
0 1838 posted 15 years ago by math89
Pure JavaScript countdown timer
0 1382 posted 15 years ago by Sullan
0 1932 posted 15 years ago by viatropos
This JavaScript code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
1 1655 posted 15 years ago by DADU
requires that a pulldown \\\"program1\\\" in form \\\"freshmen\\\" be set to anything but the first value in the option list. \\r\\n\\r\\nrequires jquery validate: http://docs.jquery.com/Plugins/Validation
1 2822 posted 15 years ago by dan_hoerr
Sometimes iframes are unavoidable, and in those cases you usually don't want it to be apparent there is one. This will find the height of the iframed contents and resize the iframe accordingly, making it appear to be part of the page. Almost positive...
2 1968 posted 15 years ago by StevenW721
1 ... 28 29 30 31 32 ... 65