Profile
Achievement
rumremix's Recent JavaScript Snippets
- All /
« Prev 1 Next »
Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
0
745
posted 10 years ago by rumremix
The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
0
1153
posted 10 years ago by rumremix
Often on a page footer, we want a copyright date range starting with the year the website was launched and ending the current year. Doing this dynamically means no need to update on 1/1 every year. The js snippet below uses the server date to accompl...
0
770
posted 11 years ago by rumremix
Useful trick from css tricks blog at http://css-tricks.com/snippets/jquery/fixing-ie-z-index/
0
760
posted 11 years ago by rumremix
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
852
posted 11 years ago by rumremix
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
1070
posted 12 years ago by rumremix
Most of spservices function can be ignored -- not specifically relevant to templating. Important code in that block is the array push.
0
529
posted 13 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
1136
posted 13 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
849
posted 13 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
751
posted 13 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
530
posted 13 years ago by rumremix