Just a follow-up on having to specify width and height of an image for the dropShadow plug-in to work properly.
I figured out that I can use the cfimage (ColdFusion) tag to determine the width and height of an image, then turn those into variables that I can then use in the plug-in. Works like a charm! Rick > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick > Faircloth > Sent: Saturday, December 15, 2007 10:48 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Ok, I give... where does the ; go in this code? > > > Hi, Liam, and thanks for the reply... > > It turns out that the problem was with the case-sensitive > spelling of "dropShadow"... I had it as "dropshadow". > > I also had left out the dimensions plug-in which was required. > > And the final issue was, indeed, with the misspelling of "function". > > The shadowDrop plug-in working well now. > > I just need to test and see if the width and height always have to be > specified or if the width can be provided only, etc. > > Rick > > > -----Original Message----- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > > Liam Byrne > > Sent: Saturday, December 15, 2007 9:36 AM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Re: Ok, I give... where does the ; go in this code? > > > > > > There's a typo in the spelling of "function", so maybe the error message > > that you're getting is misleading ? > > > > e.g. if "funtion" was a variable, you wouldn't have brackets after it - > > you'd have a semicolon. > > > > L > > > > Rick Faircloth 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 > > > > > > ------------------------------------------------------------------------ > > > > > > No virus found in this incoming message. > > > Checked by AVG Free Edition. > > > Version: 7.5.503 / Virus Database: 269.17.1/1183 - Release Date: > > > 13/12/2007 09:15 > > > > >