Thanks, Dave!

I never would have recognized the demo page code as necessary
for the effect I was using.

I thought I had gotten all the code off the demo page I needed!

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Methvin
Sent: Friday, January 26, 2007 12:25 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Anyone see why this code isn't working?

> Does anyone see a problem with what I have that
> keeps the rounded corners from working?

You missed the important code on the demo page:
 
<script type="text/javascript">
  // The code tags have the actual code, which is applied to the div
  $(document).ready(function(){
    $(".adorned").each(function(){
        eval($("code", this).text());
    });
  });
</script>

For your own pages, you usually wouldn't have the code inside the div, so
you'd use something like this:

  $(document).ready(function(){
    $(".demo").corner();
  });






_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to