I am using http://nurey.com/corners.html with Prototype framework and trying to get some rounded corner action happening.
However, the script I am using
Event.observe(window, 'load', function() {
if($$('header')!=null) {
$('header').Effect.Corner("5px");
}
});
Doesn't appear to actually make the corners work ? Can anyone help ?
Edit: The error I get is
$("header").Effect is undefined
你有没有尝试过
new Effect.Corner($('header'), '5px');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.