Still a no-go.

 

I found a couple of errors that I corrected in my code:

 

"functions" was missing the "c" and

the dimensions.js file was required and that's in there now.

 

However, it still won't work.

 

Here's the error message I get now:

 

$("#shadow").dropshadow is not a function

      $("$shadow").dropshadow({left:6, top:6, blur:3});

 

Here's the entire page code:

 

<html>

 

      <cfsetting showdebugoutput = "no">

 

      <head>

      

            <script type="text/javascript" src="../js/jquery.js"></script>

            <script type="text/javascript" 
src="../js/jquery.dimensions.js"></script>           

            <script type="text/javascript" 
src="../js/jquery.dropshadow.js"></script>

            

            <script type="text/javascript">

            

                  window.onload = function() {

                        $("#shadow").dropshadow({left:6, top:6, blur:3});

                        }

                        

            </script>

            

            <style type="text/css">

            

                  .image { height:200px; width:300px; border:1px solid black; 
background:#ccc; }

                  

            </style>

            

      </head>

      

      <body>

      

            <div id="shadow" class="image"></div>

            

      </body>

      

</html>

 

See anything amiss?

 

Thanks,

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron 
Heimlich
Sent: Friday, December 14, 2007 11:31 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Ok, I give... where does the ; go in this code?

 

<script type="text/javascript">
    window.onload = function() {
        $(".image").dropshadow({left:6, top:6, blur:3}); // semi-colon 
definitely goes here
    }; // I think one can go here too 
</script>

On Dec 14, 2007 10:05 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote:

Hi, all.

I'm getting this error message:

missing ; before statement

        window.onload=function() {\n

for this code:

<script type= "text/javascript" >

                

        window .onload = funtion() {

        $( ".image") . dropshadow({left: 6, top : 6, blur :3 })

        } 

                                

</script> 

I tried putting the ; everywhere in the code, but

couldn 't figure it out.

HELP!

Rick




-- 
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com  <http://aheimlich.freepgs.com> 

Reply via email to