Welcome To Snipplr


Everyone's Recent Snippets Tagged browser



Make IE6 do tricks with jQuery
0 1305 posted 15 years ago by vagrantradio
0 1090 posted 15 years ago by loric
A browser friendly way to trigger an event on an element. This is just a simple snippet which doesn\'t really explain the detailed contents of an event object, but it gives an idea of the differences between specific browsers. This function will fire...
0 1698 posted 15 years ago by bryanlyman
Place in your functions.php file and call it in your theme like this: <?php>
1 2714 posted 15 years ago by afj176
0 1135 posted 15 years ago by smashu
A way to do 100% DIVs that adjust to content and center themselves both vertically and horizontally automatically. Tested for all browsers at 1920X1080 resolution. The 96% body height fixes Firefox and IE scrollbars that appear without reason and mig...
1 1544 posted 15 years ago by bryanlyman
Adds a browser and operating system class to your HTML Tag.
1 1486 posted 16 years ago by smoothdzion
0 1050 posted 16 years ago by wearetherock
1 1575 posted 16 years ago by jfoucher
1 1237 posted 16 years ago by donatkinson
0 1121 posted 16 years ago by donatkinson
2 1479 posted 16 years ago by PeteW
2 1830 posted 16 years ago by PeteW
Sometimes you just need to mask a script or reject a user from a page this can be done effortlessly using a single line of code. Header location will allow you to redirect a user quickly and without them having any control over the action. A good...
1 1246 posted 16 years ago by scopefragger
how to link ie only stylesheets and stylesheets by generation of ie
2 1663 posted 16 years ago by thesmu
2 1730 posted 16 years ago by Thresh
Very easy to use JS Calendar Control with so many customization options.
0 1357 posted 16 years ago by design2develop
When you can't use firebug to discover cross browser compatibility problems (i.e. internet explorer 6) then what's the fastest way to see the padding and margins? A quick solution is adding a css debug class to your container. Feel free to change...
0 2847 posted 16 years ago by chrisjlee
Enable jQuery on any website, just clicking on a bookmarklet with this code. Or drag & drop this on your bookmark bar: <a href="javascript:(function(){var%20s=document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs...
4 1295 posted 16 years ago by danielfilho
bring back the old browser detection
1 1657 posted 16 years ago by localhorst
Just provide $availableLanguages as an array('en', 'de', 'es')
5 2851 posted 16 years ago by ping_ch
Test page to check the support of different CSS media types in browsers. If you go into Print Preview, for example, the Print media type should show as "In Use" if it is supported.
0 1475 posted 16 years ago by wizard04
This will create a bulleted list using images as the bullets.
2 1224 posted 16 years ago by cbx
6 3768 posted 16 years ago by alli14404
This handy little script will allow you to detect whether or not a user is running FireFox as their browser.
0 1210 posted 16 years ago by aristoworks
2 1513 posted 17 years ago by iTony