Solved

Jquery and Rounded Corners in WSS 3.0 (Sharepoint)

Posted on 2009-07-07
4
1,437 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…

696 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