Web Design Forums

Javascript, AJAX, and JSON

Having problems with Javascript? Need help picking a library? Post your questions here.

Creating Rounded Corners with CurvyCorners



Site of the Month Nominations
ENTER YOUR SITE NOW!

Reply
 
LinkBack Thread Tools
Old May 31 '07, 08:55 PM (#1)
sinjix_media is offline
New Member!
 
sinjix_media's Avatar
 
Join Date: March 2006
Posts: 3
sinjix_media is an unknown quantity at this point
Creating Rounded Corners with CurvyCorners

I'm having some real issues with CurvyCorners, Javascript rounded corners.
I am not a coder and I've never messed around with javascript, so I was wondering if anyone could help me with setting rounded corners to ONLY the bottoms of some table/divs for some table/divs

The axample.html only applies it to all corners for you.
Attached Files
File Type: txt demo2 - .html.txt (3.9 KB, 11 views)
File Type: txt demo - .html.txt (3.9 KB, 9 views)
File Type: txt rounded_corners.inc - .js.txt (46.6 KB, 20 views)
File Type: txt rounded_corners_lite.inc - .js.txt (24.5 KB, 17 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1 '07, 06:21 AM (#2)
hyperair is offline
--Nerd--
 
hyperair's Avatar
 
Join Date: May 2005
Posts: 452
hyperair is just really nicehyperair is just really nicehyperair is just really nicehyperair is just really nice
Man.. I checked out their site, and the product really looks cool. Oo

Anyway check out this page: http://www.curvycorners.net/usage.php
It gives you rather complete instructions on how to set it up =)

Last edited by hyperair; June 1 '07 at 06:26 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1 '07, 10:31 AM (#3)
sinjix_media is offline
New Member!
 
sinjix_media's Avatar
 
Join Date: March 2006
Posts: 3
sinjix_media is an unknown quantity at this point
I read that. I still don't understand it.
Can you give me an eample of how I would set it to do JUST the bottom?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1 '07, 11:32 AM (#4)
hyperair is offline
--Nerd--
 
hyperair's Avatar
 
Join Date: May 2005
Posts: 452
hyperair is just really nicehyperair is just really nicehyperair is just really nicehyperair is just really nice
Code:
window.onload = function() {
var settings = {
tl: { radius: 20 },
tr: {radius: 20},
bl: false,
br: false
antiAlias: true
autoPad: false
};
var myObj = document.getElementById('WhateverObjectId');
var curvesObj = new curvyCorners(settings,myObj);
curvesObj.applyCornersToAll();
}
antiAlias.. well you could search that up in a wiki for explanation, and autoPad is this feature whereby the curvyCorners will automatically fix any problems caused by padding (if false, you cannot set padding in the object you want to have curvy corners for, or you must implement the hack manually; if true, it will automatically implement the padding hack for you)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1 '07, 12:03 PM (#5)
smoseley is offline
WDF Moderator
 
smoseley's Avatar
 
Join Date: March 2003
Location: Miami, FL
Posts: 8,796
smoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud of
Looks like my 0-GFX toolkit I made a few years back... anyone remember that? Filb, do you still have the files? Post them up for everyone to see!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2 '07, 01:20 PM (#6)
filburt1 is offline
bored
 
filburt1's Avatar
 
Join Date: July 2002
Location: Maryland, US
Posts: 11,785
filburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to all
If it's publicly viewable: My Entry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » Javascript, AJAX, and JSON

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Best and Fastest Method For Rounded Corner Designs sinjix_media HTML and CSS Help 4 June 2 '07 01:48 PM
rounded corners in flash solidgold Adobe Flash Help 12 January 21 '07 05:00 PM
Rounded corners with CSS. goldfish HTML and CSS Help 1 March 26 '06 01:16 AM
making small rounded corner images load before table seanus HTML and CSS Help 2 September 25 '03 03:46 AM

 
User Infomation
Your Avatar

Site Of The Month

Ticket Cake
Ticket Cake

Ticket Cake is a drupal based event ticketing platform. It features that ability to browse events and share them.

Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:32 AM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163