<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 14:28:34 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) sharepoint absolute site collection URL javascript variable - rumremix</title>
      <link>https://snipplr.com/view/71802/sharepoint-absolute-site-collection-url-javascript-variable</link>
      <description>&lt;p&gt;Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jul 2013 04:55:00 UTC</pubDate>
      <guid>https://snipplr.com/view/71802/sharepoint-absolute-site-collection-url-javascript-variable</guid>
    </item>
    <item>
      <title>(JavaScript) How to retrieve data from a list in Sharepoint 2013 using oData and JavaScript - rumremix</title>
      <link>https://snipplr.com/view/71175/how-to-retrieve-data-from-a-list-in-sharepoint-2013-using-odata-and-javascript</link>
      <description>&lt;p&gt;The following code fetches contents of each Title field from the list called "LandingMiddleLinks"&lt;/p&gt;</description>
      <pubDate>Wed, 15 May 2013 03:29:20 UTC</pubDate>
      <guid>https://snipplr.com/view/71175/how-to-retrieve-data-from-a-list-in-sharepoint-2013-using-odata-and-javascript</guid>
    </item>
    <item>
      <title>(Other) what to do if sharepoint designer gets out of sync with server - rumremix</title>
      <link>https://snipplr.com/view/70376/what-to-do-if-sharepoint-designer-gets-out-of-sync-with-server</link>
      <description>&lt;p&gt;check the file out in the browser&#13;
in spd, right click the file and choose "undo checkout"&#13;
repeat the last two steps until the checkmark goes away in spd&#13;
check the file out in spd. it should now get the latest version to edit&lt;/p&gt;</description>
      <pubDate>Wed, 13 Mar 2013 10:17:47 UTC</pubDate>
      <guid>https://snipplr.com/view/70376/what-to-do-if-sharepoint-designer-gets-out-of-sync-with-server</guid>
    </item>
    <item>
      <title>(JavaScript) dynamic current year with JavaScript - rumremix</title>
      <link>https://snipplr.com/view/69286/dynamic-current-year-with-javascript</link>
      <description>&lt;p&gt;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 accomplish this.&lt;/p&gt;</description>
      <pubDate>Fri, 28 Dec 2012 09:44:12 UTC</pubDate>
      <guid>https://snipplr.com/view/69286/dynamic-current-year-with-javascript</guid>
    </item>
    <item>
      <title>(JavaScript) Fixing IE Z-index with jquery - rumremix</title>
      <link>https://snipplr.com/view/68977/fixing-ie-zindex-with-jquery</link>
      <description>&lt;p&gt;Useful trick from css tricks blog at http://css-tricks.com/snippets/jquery/fixing-ie-z-index/&lt;/p&gt;</description>
      <pubDate>Thu, 06 Dec 2012 06:25:41 UTC</pubDate>
      <guid>https://snipplr.com/view/68977/fixing-ie-zindex-with-jquery</guid>
    </item>
    <item>
      <title>(C#) sharepoint 2010 event receiver code that checks in files newly added to style library - rumremix</title>
      <link>https://snipplr.com/view/68942/sharepoint-2010-event-receiver-code-that-checks-in-files-newly-added-to-style-library</link>
      <description>&lt;p&gt;Keep the namespace name, class name, guid that VS automatically generates. Make sure all of the "using" inclusions included.&lt;/p&gt;</description>
      <pubDate>Tue, 04 Dec 2012 12:35:06 UTC</pubDate>
      <guid>https://snipplr.com/view/68942/sharepoint-2010-event-receiver-code-that-checks-in-files-newly-added-to-style-library</guid>
    </item>
    <item>
      <title>(XSLT) How to create a sharepoint data form web part that uses only client side JavaScript - rumremix</title>
      <link>https://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript</link>
      <description>&lt;p&gt;With jQuery and SPServices, we have very powerful tools for accessing and manipulating Sharepoint data and precisiely contolling the presentation, entirely from the client side. But such solutions generally need to be either hard-coded into pages or require cumbersome content editor pastes or includes. The advantage of packaging a solution as a web part is that it is a breeze to drop it anywhere on the site. Using the technique below you can package up a purely HTML/JavaScript solution as a web part, combining the benefits of both.&#13;
&#13;
1. Create the HTML/JS content that you would like to turn into a web part in the manner you are most comfortable with&#13;
2. Create a dummy page in the site to initially hold our xslt&#13;
3. Open site in Sharepoint Designer&#13;
4. Find the page created in step 2, detach it from the page layout (by right clicking it), and open it for editing.&#13;
5. Place your cursor before the closing &lt; /ContentTemplate &gt; or closing &lt; /asp:Content &gt; tag&#13;
6. Paste the code in the source block below.&#13;
7. Find &#13;
Title="DataView 1" &#13;
in the code you pasted and replace it with&#13;
Title="MoreUsefulWebPartName" &#13;
8. Replace the contents between the opening and closing ![CDATA tags with the HTML and/or JavaScript you created in step 1&#13;
9. Select all of the new code, starting with and including the opening WebPartPages:DataFormWebPart tag and ending with and including the closing /WebPartPages:DataFormWebPart tag&#13;
10. Switch from code view to designer view. You may ignore any warning you see about missing data sources.&#13;
11. Click the web part tab&#13;
12. In the "Save Web part" section, select the manner in which you would like to save the new web part.&#13;
13. Give the web part a useful name&#13;
14. Once you make the new web part available in the web part gallery, users may now add your javascript solution to any page as they would any other web part.&lt;/p&gt;</description>
      <pubDate>Wed, 26 Sep 2012 05:06:47 UTC</pubDate>
      <guid>https://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript</guid>
    </item>
    <item>
      <title>(ASP) how to use dynamically generated .Net element IDs on page in jquery or css - rumremix</title>
      <link>https://snipplr.com/view/67168/how-to-use-dynamically-generated-net-element-ids-on-page-in-jquery-or-css</link>
      <description>&lt;p&gt;In the examples, below, Step1 is the id  given to the element. If the element is set to runat="server", when it is rendered on the page, the id will change dynamically to something like ctl00$PlaceHolderMain$Step1. But the actual value may change. To make sure we capture the correct value to manipulate the element in javascript or CSS, use the technique below. Note that this code will need to live on the same page as the element, not in an external js or css file.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Sep 2012 04:37:21 UTC</pubDate>
      <guid>https://snipplr.com/view/67168/how-to-use-dynamically-generated-net-element-ids-on-page-in-jquery-or-css</guid>
    </item>
    <item>
      <title>(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 - rumremix</title>
      <link>https://snipplr.com/view/65637/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</link>
      <description>&lt;p&gt;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 have that surrounds the global navigation piece. But this can be anything that encompasses the entire navigation region.&lt;/p&gt;</description>
      <pubDate>Fri, 15 Jun 2012 08:35:48 UTC</pubDate>
      <guid>https://snipplr.com/view/65637/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</guid>
    </item>
    <item>
      <title>(jQuery) custom jquery selectbox dropdown - rumremix</title>
      <link>https://snipplr.com/view/64524/custom-jquery-selectbox-dropdown</link>
      <description>&lt;p&gt;Simple solution found via link. Just edit code from demo page(s). Also http://uniformjs.com/&lt;/p&gt;</description>
      <pubDate>Thu, 12 Apr 2012 09:25:51 UTC</pubDate>
      <guid>https://snipplr.com/view/64524/custom-jquery-selectbox-dropdown</guid>
    </item>
    <item>
      <title>(ASP) Breadcrumb in Sharepoint 2010 - rumremix</title>
      <link>https://snipplr.com/view/63654/breadcrumb-in-sharepoint-2010</link>
      <description>&lt;p&gt;Both ASP and Javascript versions provided below. Use either one or the other. Code should be placed in a SharePoint 2010 master page.&lt;/p&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:57:15 UTC</pubDate>
      <guid>https://snipplr.com/view/63654/breadcrumb-in-sharepoint-2010</guid>
    </item>
    <item>
      <title>(XML) Setting up Sharepoint files as a visual studio .Net solution - rumremix</title>
      <link>https://snipplr.com/view/63219/setting-up-sharepoint-files-as-a-visual-studio-net-solution</link>
      <description>&lt;p&gt;&lt;strong&gt;Setting up a sp .net soln&lt;/strong&gt; &#13;
&#13;
&lt;p&gt;File --&amp;gt; New --&amp;gt; Project&lt;/p&gt;&#13;
&lt;p&gt;on lefthand side -&amp;gt; Sharepoint -&amp;gt; 2010&lt;/p&gt;&#13;
&lt;p&gt;usually select an empty template&lt;/p&gt;&#13;
&lt;p&gt;name the project&lt;/p&gt;&#13;
&lt;p&gt;&lt;/p&gt;&#13;
&lt;p&gt;to add files, create a module...&lt;/p&gt;&#13;
&lt;p&gt;right-click project --&amp;gt; add --&amp;gt; new item&lt;/p&gt;&#13;
&lt;p&gt;select "module"&lt;/p&gt;&#13;
&lt;p&gt;give the module a name (such as masterpagecatalog)&lt;/p&gt;&#13;
&lt;p&gt;this will create the module, containing an elements.xml file and open the elements.xml file in code editor. Sample.txt will also be created but may be deleted.&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Drag any previously created files that will live in the new module into the module icon in solution explorer&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Edit elements.xml.  (See example edits to elements.xml in code block further down.) &lt;/p&gt;&#13;
&#13;
&#13;
&lt;p&gt;Edits to make to default xml:&lt;/p&gt;&#13;
&#13;
&lt;p&gt;in &amp;lt;Module&amp;gt; tag, put a url (such as  Url="_catalogs/masterpage" ) and put  RootWebOnly="TRUE"&lt;/p&gt;&#13;
&#13;
&lt;p&gt;The &amp;lt;file&amp;gt; tag will also be created with a default url property. Make sure to edit this so that it is correct. By default, it will create a path starting with the name of the module. And if there is no such folder already with that name beneath the Module path, the feature will create one.  The actual path is designated by both the &amp;lt;module&amp;gt; url property and the &amp;lt;file&amp;gt; url property (that is, both of those properties are combined).&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Add Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" to the &amp;lt;file&amp;gt; elements. IgnoreIfAlreadyExists="TRUE" means "overwrite existing file". Type="GhostableInLibrary" setting is used when a file is placed into a library. If a file is placed outside of a library, Type="Ghostable" would be used.&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Change the &amp;lt;file&amp;gt; tags so that it is not self-closing.&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Add some Property tags.Columns in the master page correspond to file object properties indicated in the module xml. Other file properties in the xml will also be added to the "property bag" that do not correspond to master page columns (see &amp;lt;property&amp;gt; tags above). &lt;/p&gt;&#13;
&#13;
&lt;p&gt;First, it is good practice to always add&#13;
&amp;lt;Property Name="FeatureId" Value="$SharePoint.Feature.Id$" Type="string"/&amp;gt;&lt;/p&gt;&#13;
&#13;
&lt;p&gt;On compliation, Value="$SharePoint.Feature.Id$" will be replaced with guid of feature. &lt;/p&gt;&#13;
&#13;
&lt;p&gt;For a master page, the following metadata will be added via the property tags&lt;/p&gt;&#13;
&#13;
&lt;p&gt;&amp;lt;Property Name="UIVersion" Value="4" /&amp;gt; &lt;/p&gt; &#13;
&lt;p&gt;&amp;lt;Property Name="ContentTypeId" Value="0x010105" /&amp;gt;&lt;/p&gt;&#13;
&lt;p&gt;&amp;lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_masterpage_name;" /&amp;gt;&lt;/p&gt;&#13;
&lt;p&gt;&amp;lt;Property Name="MasterPageDescription" Value="Masterpage for SepulvedaPOC sites." /&amp;gt; &lt;/p&gt;&#13;
&#13;
&#13;
&lt;p&gt;Make sure to edit the description as appropriate.&lt;/p&gt;&#13;
&#13;
&lt;p&gt;When the module was created, VS automatically created a feature called "Feature 1". Note that features may also be created by right-clicking "Features" in soln explorer and selecting "Add Feature".&lt;/p&gt;&#13;
&#13;
&lt;p&gt;Next step: add event reciever feature activated code if necessary&lt;/p&gt;&#13;
&#13;
&lt;p&gt;* Make sure to add the proper modules to the feature&lt;br&gt;&#13;
* Make sure that Scope is set to "Site" in the feature if the solution is a sandbox solution&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 10 Feb 2012 04:50:30 UTC</pubDate>
      <guid>https://snipplr.com/view/63219/setting-up-sharepoint-files-as-a-visual-studio-net-solution</guid>
    </item>
    <item>
      <title>(XSLT) hijack submit or save button on sharepoint list form to redirect - rumremix</title>
      <link>https://snipplr.com/view/60467/hijack-submit-or-save-button-on-sharepoint-list-form-to-redirect</link>
      <description>&lt;p&gt;Comment out the SharePoint:SaveButton tag and replace with input tag&lt;/p&gt;</description>
      <pubDate>Wed, 02 Nov 2011 10:13:46 UTC</pubDate>
      <guid>https://snipplr.com/view/60467/hijack-submit-or-save-button-on-sharepoint-list-form-to-redirect</guid>
    </item>
    <item>
      <title>(XSLT) How to embed javascript and html inside xslt - rumremix</title>
      <link>https://snipplr.com/view/59544/how-to-embed-javascript-and-html-inside-xslt</link>
      <description>&lt;p&gt;Place the following inside a `&lt;xsl:template&gt;`  block&lt;/p&gt;</description>
      <pubDate>Sat, 08 Oct 2011 03:14:16 UTC</pubDate>
      <guid>https://snipplr.com/view/59544/how-to-embed-javascript-and-html-inside-xslt</guid>
    </item>
    <item>
      <title>(CSS) bringing back list styles in a section after they have been removed from section\'s parent - rumremix</title>
      <link>https://snipplr.com/view/56592/bringing-back-list-styles-in-a-section-after-they-have-been-removed-from-sections-parent</link>
      <description>&lt;p&gt;We use lists for all sorts of things, especiall navigation elements for which bullets don't make sense. Often, it is most convenient to remove bullet/list styles from all list elements globally. In fact many css resets do just that. However, there may be content areas where we do want bullets! The following css brings back the list styles for all list elements within a container with the class "bulletsAvailable". These values approximate the normal default browser behavior.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Jul 2011 10:57:26 UTC</pubDate>
      <guid>https://snipplr.com/view/56592/bringing-back-list-styles-in-a-section-after-they-have-been-removed-from-sections-parent</guid>
    </item>
    <item>
      <title>(JavaScript) change the default search box text in SharePoint 2010 using JQuery - rumremix</title>
      <link>https://snipplr.com/view/54473/change-the-default-search-box-text-in-sharepoint-2010-using-jquery</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Fri, 27 May 2011 10:32:15 UTC</pubDate>
      <guid>https://snipplr.com/view/54473/change-the-default-search-box-text-in-sharepoint-2010-using-jquery</guid>
    </item>
    <item>
      <title>(jQuery) hide if empty using jquery - rumremix</title>
      <link>https://snipplr.com/view/53729/hide-if-empty-using-jquery</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 18 May 2011 10:58:49 UTC</pubDate>
      <guid>https://snipplr.com/view/53729/hide-if-empty-using-jquery</guid>
    </item>
    <item>
      <title>(CSS) Fix SharePoint 2010 scrollbar issues - rumremix</title>
      <link>https://snipplr.com/view/52707/fix-sharepoint-2010-scrollbar-issues</link>
      <description>&lt;p&gt;see link&lt;/p&gt;</description>
      <pubDate>Thu, 28 Apr 2011 06:11:23 UTC</pubDate>
      <guid>https://snipplr.com/view/52707/fix-sharepoint-2010-scrollbar-issues</guid>
    </item>
    <item>
      <title>(CSS) style the search bar in sharepoint 2010 - rumremix</title>
      <link>https://snipplr.com/view/52508/style-the-search-bar-in-sharepoint-2010</link>
      <description>&lt;p&gt;This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.&lt;/p&gt;</description>
      <pubDate>Sat, 23 Apr 2011 08:50:11 UTC</pubDate>
      <guid>https://snipplr.com/view/52508/style-the-search-bar-in-sharepoint-2010</guid>
    </item>
    <item>
      <title>(ASP) removing I Like and Tags and Notes icons from Sharepoint 2010 - rumremix</title>
      <link>https://snipplr.com/view/52397/removing-i-like-and-tags-and-notes-icons-from-sharepoint-2010</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 21 Apr 2011 03:38:24 UTC</pubDate>
      <guid>https://snipplr.com/view/52397/removing-i-like-and-tags-and-notes-icons-from-sharepoint-2010</guid>
    </item>
    <item>
      <title>(HTML) how to remove unwanted elements from appearing in sharepoint dialog boxes - rumremix</title>
      <link>https://snipplr.com/view/52396/how-to-remove-unwanted-elements-from-appearing-in-sharepoint-dialog-boxes</link>
      <description>&lt;p&gt;simply add s4-notdlg to the class of the element that you don't want to appear in dialog boxes. See example.&lt;/p&gt;</description>
      <pubDate>Thu, 21 Apr 2011 03:31:30 UTC</pubDate>
      <guid>https://snipplr.com/view/52396/how-to-remove-unwanted-elements-from-appearing-in-sharepoint-dialog-boxes</guid>
    </item>
    <item>
      <title>(CSS) sharepoint 2010 css reset - rumremix</title>
      <link>https://snipplr.com/view/52395/sharepoint-2010-css-reset</link>
      <description>&lt;p&gt;The "inherit" aspect of this did not always work for me. For example, font-family may need to be explicitly specified in the generated css (in place of "inherit"). But this just takes a couple seconds. Simply search for "family" and replace "inherit" with the correct font family -- only appears in two places so this is really easy. May need to do this for other inherit declarations also.&lt;/p&gt;</description>
      <pubDate>Thu, 21 Apr 2011 03:24:57 UTC</pubDate>
      <guid>https://snipplr.com/view/52395/sharepoint-2010-css-reset</guid>
    </item>
    <item>
      <title>(Other) how to fix sharepoint designer when it gets out of sync - rumremix</title>
      <link>https://snipplr.com/view/51810/how-to-fix-sharepoint-designer-when-it-gets-out-of-sync</link>
      <description>&lt;p&gt;Sometimes SPD gets confused as to which files are checked out or not and to whom. This fix generally works.&lt;/p&gt;</description>
      <pubDate>Sat, 09 Apr 2011 07:36:38 UTC</pubDate>
      <guid>https://snipplr.com/view/51810/how-to-fix-sharepoint-designer-when-it-gets-out-of-sync</guid>
    </item>
    <item>
      <title>(JavaScript) Extending SharePoint modal window - rumremix</title>
      <link>https://snipplr.com/view/51375/extending-sharepoint-modal-window</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 31 Mar 2011 10:22:23 UTC</pubDate>
      <guid>https://snipplr.com/view/51375/extending-sharepoint-modal-window</guid>
    </item>
    <item>
      <title>(C#) SharePoint Edit Mode Panel - rumremix</title>
      <link>https://snipplr.com/view/50729/sharepoint-edit-mode-panel</link>
      <description>&lt;p&gt;You need to register this at the top of the page (see code below).  Remember you can do this on a layout page as well, instead of the master page.&#13;
&#13;
&#13;
Then place the PublishingWebControls:EditModePane tag inline (see below).  The ID can be anything you want, just make sure not to duplicate it on a layout and master page.&lt;/p&gt;</description>
      <pubDate>Wed, 16 Mar 2011 10:53:11 UTC</pubDate>
      <guid>https://snipplr.com/view/50729/sharepoint-edit-mode-panel</guid>
    </item>
    <item>
      <title>(Other) caml for today or now - rumremix</title>
      <link>https://snipplr.com/view/50519/caml-for-today-or-now</link>
      <description>&lt;p&gt;See link for offset syntax.&lt;/p&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:52:43 UTC</pubDate>
      <guid>https://snipplr.com/view/50519/caml-for-today-or-now</guid>
    </item>
    <item>
      <title>(JavaScript) jquery templating - rumremix</title>
      <link>https://snipplr.com/view/50416/jquery-templating</link>
      <description>&lt;p&gt;Most of spservices function can be ignored -- not specifically relevant to templating. Important code in that block is the array push.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Mar 2011 05:08:22 UTC</pubDate>
      <guid>https://snipplr.com/view/50416/jquery-templating</guid>
    </item>
    <item>
      <title>(JavaScript) javascript replace all instances in a string - rumremix</title>
      <link>https://snipplr.com/view/49187/javascript-replace-all-instances-in-a-string</link>
      <description>&lt;p&gt;Normal replace() function only replaces first instance.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Feb 2011 09:54:36 UTC</pubDate>
      <guid>https://snipplr.com/view/49187/javascript-replace-all-instances-in-a-string</guid>
    </item>
    <item>
      <title>(jQuery) reading and writing list data in SharePoint 2010 using SPServices - rumremix</title>
      <link>https://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices</link>
      <description>&lt;p&gt;Just syntax examples here. First block reads, second writes. Top function just a debugging helper.&#13;
&#13;
Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as&#13;
$(xData.responseXML).find("nodeName='z:row']").each(function(i)... with single quotes around 'z:row'.&lt;/p&gt;</description>
      <pubDate>Wed, 05 Jan 2011 14:21:56 UTC</pubDate>
      <guid>https://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices</guid>
    </item>
    <item>
      <title>(CSS) Sharepoint 2010 Custom Class For Content Editor Web Part Css Syntax - rumremix</title>
      <link>https://snipplr.com/view/46067/sharepoint-2010-custom-class-for-content-editor-web-part-css-syntax</link>
      <description>&lt;p&gt;Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below:&#13;
&#13;
&#13;
 .ms-rteElement-appleRed {&#13;
	color:red; &#13;
	-ms-name:"appleRed";&#13;
}&#13;
&#13;
Note: for the above custom-named style to appear in the rich text editor, it must live in a css file linked directly from the master page. That is, it will not work if it lives in a css file that is linked via an @import in  another css file.&lt;/p&gt;</description>
      <pubDate>Thu, 23 Dec 2010 09:40:50 UTC</pubDate>
      <guid>https://snipplr.com/view/46067/sharepoint-2010-custom-class-for-content-editor-web-part-css-syntax</guid>
    </item>
    <item>
      <title>(HTML) simple graphic box code (3 col example) - rumremix</title>
      <link>https://snipplr.com/view/46061/simple-graphic-box-code-3-col-example</link>
      <description>&lt;p&gt;This is simple but saves time to copy-paste. This example has three columns (.boxcol) within the box. But the columns can be removed for single-column box.&lt;/p&gt;</description>
      <pubDate>Thu, 23 Dec 2010 06:07:52 UTC</pubDate>
      <guid>https://snipplr.com/view/46061/simple-graphic-box-code-3-col-example</guid>
    </item>
    <item>
      <title>(jQuery) jquery find child of $(this) - rumremix</title>
      <link>https://snipplr.com/view/46030/jquery-find-child-of-this</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 22 Dec 2010 09:35:52 UTC</pubDate>
      <guid>https://snipplr.com/view/46030/jquery-find-child-of-this</guid>
    </item>
    <item>
      <title>(HTML) flash or object tags and z-index - rumremix</title>
      <link>https://snipplr.com/view/45004/flash-or-object-tags-and-zindex</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 29 Nov 2010 08:28:37 UTC</pubDate>
      <guid>https://snipplr.com/view/45004/flash-or-object-tags-and-zindex</guid>
    </item>
    <item>
      <title>(JavaScript) Sharepoint: limit the results in caml query - rumremix</title>
      <link>https://snipplr.com/view/44496/sharepoint-limit-the-results-in-caml-query</link>
      <description>&lt;p&gt;First option uses a parameter in &lt;a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/"&gt;spservices method&lt;/a&gt; to limit the results to four.  Second option limits the results returned to six in the caml query iteslf using the &amp;lt;RowLimit&amp;gt; property.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Nov 2010 11:43:12 UTC</pubDate>
      <guid>https://snipplr.com/view/44496/sharepoint-limit-the-results-in-caml-query</guid>
    </item>
    <item>
      <title>(CSS) css image replacement technique - rumremix</title>
      <link>https://snipplr.com/view/44206/css-image-replacement-technique</link>
      <description>&lt;p&gt;Technique #8 in example page.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Nov 2010 18:25:10 UTC</pubDate>
      <guid>https://snipplr.com/view/44206/css-image-replacement-technique</guid>
    </item>
    <item>
      <title>(CSS) css border shorthand order - rumremix</title>
      <link>https://snipplr.com/view/44205/css-border-shorthand-order</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 15 Nov 2010 18:22:15 UTC</pubDate>
      <guid>https://snipplr.com/view/44205/css-border-shorthand-order</guid>
    </item>
    <item>
      <title>(SVN) tortoise svn crib notes - rumremix</title>
      <link>https://snipplr.com/view/43209/tortoise-svn-crib-notes</link>
      <description>&lt;p&gt;General Notes:&#13;
Don't use "import" command&#13;
&#13;
&#13;
&#13;
Steps for creating new svn project&#13;
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-import.html#tsvn-dug-import-in-place&#13;
&#13;
&#13;
1. Use the repository browser to create a new project folder directly in the repository.&#13;
&#13;
2. Checkout the new folder over the top of the folder you want to import. You will get a warning that the local folder is not empty. Now you have a versioned top level folder with unversioned content.&#13;
&#13;
3. Use TortoiseSVN ? Add... on this versioned folder to add some or all of the content. You can add and remove files, set svn:ignore properties on folders and make any other changes you need to.&#13;
&#13;
4. Commit the top level folder, and you have a new versioned tree, and a local working copy, created from your existing folder.&#13;
&#13;
&#13;
&#13;
&#13;
&#13;
Steps for syncing to existing project that someone else created on the repository&#13;
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html&#13;
&#13;
Steps for creating new visual studio project and syncing it to the repository&#13;
create project and click "add to repository" (or something) checkbox (the vs tortoise plugin must be installed).&lt;/p&gt;</description>
      <pubDate>Fri, 29 Oct 2010 05:34:34 UTC</pubDate>
      <guid>https://snipplr.com/view/43209/tortoise-svn-crib-notes</guid>
    </item>
    <item>
      <title>(CSS) CSS Conditional Comments in SharePoint 2010 - rumremix</title>
      <link>https://snipplr.com/view/42521/css-conditional-comments-in-sharepoint-2010</link>
      <description>&lt;p&gt;We discovered that conditional comments donâ€™t always work so well in SP2010. Instead, it is necessary to use a SP control. Below is the correct syntax.&lt;/p&gt;</description>
      <pubDate>Tue, 19 Oct 2010 06:24:45 UTC</pubDate>
      <guid>https://snipplr.com/view/42521/css-conditional-comments-in-sharepoint-2010</guid>
    </item>
    <item>
      <title>(JavaScript) strip html tags from a string in Javascript - rumremix</title>
      <link>https://snipplr.com/view/42152/strip-html-tags-from-a-string-in-javascript</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 13 Oct 2010 05:24:44 UTC</pubDate>
      <guid>https://snipplr.com/view/42152/strip-html-tags-from-a-string-in-javascript</guid>
    </item>
    <item>
      <title>(HTML) Customizing Ribbon Positioning in SharePoint 2010 Master Pages - rumremix</title>
      <link>https://snipplr.com/view/41729/customizing-ribbon-positioning-in-sharepoint-2010-master-pages</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 07 Oct 2010 10:28:21 UTC</pubDate>
      <guid>https://snipplr.com/view/41729/customizing-ribbon-positioning-in-sharepoint-2010-master-pages</guid>
    </item>
    <item>
      <title>(C#) sharepoint master page css link - rumremix</title>
      <link>https://snipplr.com/view/39198/sharepoint-master-page-css-link</link>
      <description>&lt;p&gt;Using the CssRegistration control is the proper way to register CSS in a SharePoint master page/layout page, but it has drawbacks.  Namely, no matter what order you put them on the page the server loads them in a seemingly arbitrary order,  making it difficult to ensure that your CSS is loaded in the order you want.  If you want to force the order you can use the After attribute, but it will only work if you give it the full path.  &#13;
&#13;
&#13;
&#13;
 Notice that corev4.css doesnâ€™t need the full path.  I believe it is using the location of corev4.css as a itâ€™s default, so it doesnâ€™t need the whole path.&lt;/p&gt;</description>
      <pubDate>Wed, 18 Aug 2010 03:21:01 UTC</pubDate>
      <guid>https://snipplr.com/view/39198/sharepoint-master-page-css-link</guid>
    </item>
    <item>
      <title>(ASP) sharepoint master page script link - rumremix</title>
      <link>https://snipplr.com/view/39197/sharepoint-master-page-script-link</link>
      <description>&lt;p&gt;&lt;asp:ScriptManager&gt; must be placed inside a form tag with runat=server, that is, beneath&#13;
&#13;
&amp;lt;form&amp;gt;&lt;/p&gt;</description>
      <pubDate>Wed, 18 Aug 2010 03:18:54 UTC</pubDate>
      <guid>https://snipplr.com/view/39197/sharepoint-master-page-script-link</guid>
    </item>
    <item>
      <title>(JavaScript) javascript conditional assignment shorthand - rumremix</title>
      <link>https://snipplr.com/view/38965/javascript-conditional-assignment-shorthand</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 12 Aug 2010 08:40:39 UTC</pubDate>
      <guid>https://snipplr.com/view/38965/javascript-conditional-assignment-shorthand</guid>
    </item>
    <item>
      <title>(JavaScript) sharepoint: grabbing top-level Style-Library url from any page using Javascript - rumremix</title>
      <link>https://snipplr.com/view/38910/sharepoint-grabbing-toplevel-stylelibrary-url-from-any-page-using-javascript</link>
      <description>&lt;p&gt;Use when you don't know what the top-level collection will be called.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Aug 2010 11:50:36 UTC</pubDate>
      <guid>https://snipplr.com/view/38910/sharepoint-grabbing-toplevel-stylelibrary-url-from-any-page-using-javascript</guid>
    </item>
    <item>
      <title>(JavaScript) sharepoint root url - rumremix</title>
      <link>https://snipplr.com/view/38126/sharepoint-root-url</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 31 Jul 2010 08:24:36 UTC</pubDate>
      <guid>https://snipplr.com/view/38126/sharepoint-root-url</guid>
    </item>
    <item>
      <title>(CSS) sharepoint 2010 how to remove height from ribbon area when ribbon hidden - rumremix</title>
      <link>https://snipplr.com/view/38081/sharepoint-2010-how-to-remove-height-from-ribbon-area-when-ribbon-hidden</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jul 2010 11:33:01 UTC</pubDate>
      <guid>https://snipplr.com/view/38081/sharepoint-2010-how-to-remove-height-from-ribbon-area-when-ribbon-hidden</guid>
    </item>
    <item>
      <title>(CSS) sharepoint 2010 site actions and welcome link taming code - rumremix</title>
      <link>https://snipplr.com/view/38080/sharepoint-2010-site-actions-and-welcome-link-taming-code</link>
      <description>&lt;p&gt;Both master page code and css included here. If adding master page code to a master page, remove other instances of any controls that already exist on the master page. Also included here is css for just ie7 as it renders differently than ie8 and other browsers. place this code in a file called ie7.css and link to it via\\r\\n\\r\\n\\r\\n&lt;!--[if&gt;\\r\\n		&lt;link&gt;\\r\\n		&lt;![endif]--&gt;\\r\\n\\r\\nin the master page.&lt;/p&gt;</description>
      <pubDate>Fri, 30 Jul 2010 11:20:02 UTC</pubDate>
      <guid>https://snipplr.com/view/38080/sharepoint-2010-site-actions-and-welcome-link-taming-code</guid>
    </item>
    <item>
      <title>(JavaScript) SHAREPOINT 2010 READ FROM LIST USING ECMASCRIPT - rumremix</title>
      <link>https://snipplr.com/view/37785/sharepoint-2010-read-from-list-using-ecmascript</link>
      <description>&lt;p&gt;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 (use different names for that page-scoped variable in each case).&#13;
&#13;
For caml queries, wrap Query tag in View tag.&#13;
&#13;
For lookup fields use .get_lookupValue() property syntax. For example...&#13;
&#13;
&lt;pre&gt;topNavSection[enm] = oListItem.get_item('Section').get_lookupValue();&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 23 Jul 2010 07:56:45 UTC</pubDate>
      <guid>https://snipplr.com/view/37785/sharepoint-2010-read-from-list-using-ecmascript</guid>
    </item>
    <item>
      <title>(JavaScript) sharepoint 2010 write to list using ecmascript - rumremix</title>
      <link>https://snipplr.com/view/37784/sharepoint-2010-write-to-list-using-ecmascript</link>
      <description>&lt;p&gt;This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Jul 2010 07:52:30 UTC</pubDate>
      <guid>https://snipplr.com/view/37784/sharepoint-2010-write-to-list-using-ecmascript</guid>
    </item>
    <item>
      <title>(JavaScript) Sharepoint Ajax List Data populater Example - rumremix</title>
      <link>https://snipplr.com/view/35898/sharepoint-ajax-list-data-populater-example</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 19 Jun 2010 03:36:51 UTC</pubDate>
      <guid>https://snipplr.com/view/35898/sharepoint-ajax-list-data-populater-example</guid>
    </item>
  </channel>
</rss>
