How to create a curved div/rectangle (with JQuery)?


Here is an example:

<META content=”text/html; charset=utf-8″ http-equiv=Content-Type>

<SCRIPT type=text/javascript src=”jslib/jquery-1.2.6.min.js”></SCRIPT>
<SCRIPT type=text/javascript src=”jslib/jquery.curvycorners.min.js”></SCRIPT>

<SCRIPT type=text/javascript>
tl: { radius: 10 },
tr: { radius: 10 },
bl: { radius: 10 },
br: { radius: 10 }});

<DIV style=”border: 1px solid”>
Inside a Curved Div…<br>


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: