Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged sharepoint



« Prev 1 Next »
Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
0 2707 posted 12 years ago by rumremix
The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
0 2928 posted 12 years ago by rumremix
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 2014 posted 13 years ago by rumremix
without trailing slash
0 1215 posted 13 years ago by Hirsel
.zz1_logoLinkId_1 { color: #fff; background-image:url("/_layouts/Images/HLLMRKLINK/Logo.gif"); background-repeat:no-repeat; background-position:15px 10px; background-color:#67507e; display:block; width: 170px; height: 88px; overflo...
0 1555 posted 14 years ago by nickaranz
Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
0 2213 posted 14 years ago by rumremix
First option uses a parameter in <a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/">spservices method</a> to limit the results to four. Second option limits the results returned to six in the c...
0 2022 posted 15 years ago by rumremix
0 1398 posted 15 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
0 1891 posted 15 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0 1697 posted 15 years ago by rumremix
converts date/time that sharepoint kicks out to m/d/y format.
0 1440 posted 15 years ago by rumremix
<input> When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user. You could also put any URL in the __redirect={} that yo...
0 1297 posted 15 years ago by rumremix
this snippet allows you to dynamically set the value of a SharePoint lookup field based on a URL parameter
0 1912 posted 15 years ago by digiteyes
« Prev 1 Next »