Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Help with JQuery

I just downloaded JQuery to my web server and would like to implement some rounded corners, as described here, http://www.malsup.com/jquery/corner/.

I have no clue how to get this started...any ideas?

Can you help me?
0
tru504187211
Asked:
tru504187211
  • 2
1 Solution
 
EyalCommented:
$('selector').corner();

see this for possible selectors...http://api.jquery.com/category/selectors/
0
 
tru504187211Author Commented:
Eyal: Thank you for this...but I'm a bit further behind the learning curve.

What goes in my CSS file and what goes in the HTML file, and how do I reference the JS file within my HTML file?
0
 
EyalCommented:
inside the head section add reference to the relevant scripts
like so...
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="jquery.corner.js?v2.11" type="text/javascript" ></script>
<script  type="text/javascript">
$(function(){
   $('.Corner').corner();
}); 
</script>

Open in new window

in the html give all the elements that you want to be rounded the 'Corner' class for example:
<div class="Corner">content</div>

Open in new window

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now