Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-21-2007, 09:30 PM   PM User | #1
7079
New Coder

 
Join Date: Jul 2006
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
7079 is an unknown quantity at this point
Spry Effects Error, Invalid Argument

Hi,

I posted the page that i'm having trouble with online at:

http://7079.net/Spry/index.cfm

If you "click me", the page fades out and a div grows in the middle of the green area. The yellow box has a link to close it, if you click that, it will set the page back to normal. If you go and "click me" again, it doesn't work the second time, instead it gives an error on line 1240 which is this piece of code:

if (this.options.scaleContent)
{

for(var i=0; i < this.childImages.length; i++)
{
this.childImages[i][0].style.width = propFactor * this.childImages[i][1] + this.units;
this.childImages[i][0].style.height = propFactor * this.childImages[i][2] + this.units;
}
this.element.style.fontSize = fontSize + 'em';
}

if(this.enforceVisible)
{
Spry.Effect.enforceVisible(this.element);
this.enforceVisible = false;
}

I am having trouble figuring it out, i would appreciate any help you can offer.

Thanks,

7079
7079 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:34 PM.


Advertisement
Log in to turn off these ads.