Solved

Jquery and Rounded Corners in WSS 3.0 (Sharepoint)

Posted on 2009-07-07
4
1,435 Views
Last Modified: 2012-05-07
I'm using the example shown here:
http://sharethelearning.blogspot.com/2008/11/jquery-in-sharepoint-example-rounded.html

to integrate rounded corners into WSS 3.0 site using Jquery and a plugin.

The code is attached. Arcel.clanhq.net is a server of mine.

I use the content editor web part on the page and add the code. Nothing happens. Can someone help me get this working?
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> 
<script type="text/javascript" src="http://arcel.clanhq.net/jquery/jquery.corner.js"></script>
<script type="text/javascript">
function AddQuickLaunchCorners()
 
{
 
    $(".ms-quicklaunchouter").corner("10px");
 
    $("div.ms-quickLaunch h3.ms-standardheader span div.ms-quicklaunchheader").css("background-color", "#c1ecff").corner("top 7px");
 
    $("table.ms-recyclebin:last td").corner("bottom 7px");
 
}
</script>

Open in new window

0
Comment
Question by:Anti-Mhz
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:MsShadow
ID: 24801316
Where do you call AddQuickLanchCorners?
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 24821914
i thought that script pasted above calls for it
0
 
LVL 19

Accepted Solution

by:
MsShadow earned 250 total points
ID: 24822207
No, it just described the function. You need to call it :

$(document).ready(function() {
   AddQuickLaunchCorners();
 });

take a look at this tutorial to understand more about it:
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
0
 
LVL 1

Author Comment

by:Anti-Mhz
ID: 24822420
im going off this guide:

http://sharethelearning.blogspot.com/2008/11/jquery-in-sharepoint-example-rounded.html

but it seems like there's more to it. Thank you.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Configure Sharepoint 2013 to allow Excel files to be edited online 9 74
window.setInterval not firing 7 36
Error in JQuery 5 51
Scroll 5 news at a time. 4 25
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question