Solved

Jquery and Rounded Corners in WSS 3.0 (Sharepoint)

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My Sharepoint challenge 4 26
Sharepoint 2010 Audit Logs 11 86
sharepoint online 3 35
Create Task List as an icon on Home Page 6 21
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…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now