views:

350

answers:

1

Hi Guys,

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
A: 

Have you tried

new Effect.Corner($('header'), '5px');
Pointy