JavaScript.com: The Definitive JavaScript Resource
This script creates rounded corners with a drop shadow without using images. You can use different formats on the same page. Highly customizable. Non-obtrusive.
Use this script when you want to use the DOM to include a cascading style sheet. Very simple to implement.
JavaScript-generated rounded corners for any DIV element. Corners are anti-aliased, and support borders of any width and color. Displays nicely with square corners, if JavaScript is turned-off. No images or CSS required.
Three functions, one to return a CSS style object, one to create a new CSS rule, and one to delete a CSS style object. Dynamically create, change, and delete stylesheets. Easy to use and heavily commented.
Use this snippet to get the rendered style of an element. Quick and simple to implement.
• Attention JavaScript Coders!
Want some recognition for your scripts? Submit them to us and they may be featured here and on JavaScript Source! |