Posted by maureeze on April 29, 2009 at 9:20am
Jump to:
| Project: | CurvyCorners |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | maureeze |
| Status: | closed (works as designed) |
Issue Summary
Hi,
I'm using drupal 6.x with the marinelli theme.
I want to curve the tops of the primary links, like tabs.
I've installed the Jquery plugin and de curvy corners plugin, and activated it.
But what kind of lines should I put in the textbox below in drupal?
I want to apply it to all pages
This is the ID: #utilities #plinks ul li a
I've tried this, but it does nothing.
$("#utilities #plinks ul li a ").corner("round top");
Please help,
Thanks in advance!
Maurice
Comments
#1
See documentation link.
You would paste something like this in the code box:
window.onload = function() {
var settings = {
tl: { radius: 20 },
tr: { radius: 20 },
bl: { radius: 20 },
br: { radius: 20 },
antiAlias: true
}
var divObj = document.getElementById("myDiv");
curvyCorners(settings, divObj);
}