Archive for category jQuery

SharePoint 2010 Scrolling

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)
Loading...

View an updated cause and fix here that fixes more than just scrolling  http://withinsharepoint.com/archives/256 Yes, this is one of ‘those’ posts, about how to fix/workaround the issue of SharePoint having the Body set to scroll=”no” causing issues with scrolling. As a recap for those unfamiliar with this design decision from Microsoft it causes a few […]

4 Comments

Turning Quick Launch in to a Tab control

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

First, let me start this post by saying that I absolutely love that navigation in SP2010 is completely standard HTML. This is a ‘codeless’ method for turning that left nav quick launch in to a nifty tab control. The use case for this, was for some landing pages people wanted tabs rather than quick launch […]

1 Comment

Empty P tags in SharePoint

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

So, a common complaint I’ve seen from clients is how SharePoint 2010 inserts unnecessary paragraph tags within rich text content. Now, until Microsoft changes how this functionality works I’d like to present a simple jQuery solution for semi-intelligently hiding these unneeded P tags. What this does is run through the P tags on the current page. If […]

4 Comments

Hide the ‘Attach Files’ Option

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

So I got asked today for a way to block end users from attaching files to list items on a particular list. So I whipped out jQuery and quickly wrote a little selector to hide that page region.

5 Comments

jQuery Index Based Selectors

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

So this post is not really strictly SharePoint. But covers a cool function I hadn’t noticed before in jQuery, namely it supports CSS3 index based selectors.

1 Comment

Accordion Data View Web Part

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Even more ‘fun’! Making nifty things with jQuery with the data view web part, like an accordion!

No Comments

Multiple Entry Single Field

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

This is a method I came up with to use jQuery to fake an n+1 relationship for one or more columns within a single list item. You can see in the image below that the user is initially presented with the designated fields empty; they have a button for adding the new ‘rows’ in to the fields specified. This is a simple method for basic scenarios where you need a relational style input within a single form.

No Comments