Solved

Jquery and Rounded Corners in WSS 3.0 (Sharepoint)

Posted on 2009-07-07
4
1,436 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

730 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