Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
JavaScript
get hover effect of global nav parent link to roll off at same time dropdown goes away in out of the box sharepoint global nav
The class, "activeDDParent", needs css that will cause the parent to have the same hover effect it has when the mouse hovers over it. This class allows for the out-of-the-box sharepoint rollof delay. "portalnavwrapper" is just the class of a div I ha...
0
1059
posted 12 years ago by rumremix
Use this no-conflict wrapper instead of the default ready function in JQuery to initialize scripts in your Drupal 7 theme
0
766
posted 12 years ago by chasecrawford
This javascript will create a complex google javascript map with multiple locations selected marked. The map will be centered in the middle and zoomed so that all point can be seen. It also stylizes the map making it mostly desaturated with bits of o...
0
1306
posted 12 years ago by FatFolderDesigner
This javascript will create a google map on the div with the ID "the_map" and centered on an address with a marker on it. In this example the address is for Jet City Improv. More information on setup and customization at the link.
0
1094
posted 12 years ago by FatFolderDesigner
Include twitter bootstrap, as of this writing is at v2.0.4 and the following JS / html to your page and also uses Glyphicons.
0
1062
posted 12 years ago by crypticsoft
Fooman GoogleAnalyticsPlus:
http://www.magentocommerce.com/magento-connect/fooman-googleanalyticsplus.html
The key to seeing the different steps in your checkout is ensuring a page view is triggered each time one of the sections of the checkout i...
1
1150
posted 12 years ago by TheJasonParker
Extend jQuery :selector types
Ex: $("input:text")
$("input:email")
1
734
posted 12 years ago by inreflection7
You will need to get an account at [GrabzIt](http://grabz.it) once you have this you need to add your [authorized domain](http://grabz.it/account/domains.aspx) this stops people using your account resources.
Then get your [application key](http://...
0
850
posted 12 years ago by Maximus1983
I am having an issue making the div stay opened when it gets animated
0
683
posted 12 years ago by skeletor1101
cross-browser way to select all text in a form element, via Jason on Stack Overflow
0
737
posted 12 years ago by charliefmoran
Via @lmgalmeida
Usage:
data-src="image.jpg" src="loader.gif"
$("img").unveil();
0
852
posted 12 years ago by digitalclubb
Element.prototype functions to manipulate element classes.
1
783
posted 12 years ago by ChristianOttinger