Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
choochootwain webforumsuser@macromedia.com #1
What does this mean??
I was trying to add a pop-up menu behavior. When I click 'ok', the following message pops up:
"While executing applyBehavior in Show Pop-Up Menu.htm, the following javascript error(s) occured:
At Line 207 of file "OS X:Appplications:Macromedia Dreamweaver MX:Configuration:Behaviors:Actions:Show Pop-Up menu.js". Reference Error: imgName is not defined"
Has anyone seen this and know what it means? or how to get rid of it so I can add pop-up menus??
thanks
choochootwain webforumsuser@macromedia.com Guest
-
Kim Cavanaugh #2
Re: What does this mean??
choochoo--
Name the image you are attaching the behavior to in the Property inspector
*before* you apply the behavior. That's what this--"imgName is not
defined"--in the error message means.
--
Kim Cavanaugh, author
Beginner's Guides to Dreamweaver and Fireworks
[url]http://www.dw-fw-beginners.com[/url]
------------
Extending Knowledge Daily at:
[url]http://www.communitymx.com[/url]
------------
Team Macromedia Volunteer for Fireworks
[url]http://www.macromedia.com/go/team[/url]
"choochootwain" <webforumsuser@macromedia.com> wrote in message
news:bfpong$c5k$1@forums.macromedia.com...following message pops up:> I was trying to add a pop-up menu behavior. When I click 'ok', thejavascript error(s) occured:>
> "While executing applyBehavior in Show Pop-Up Menu.htm, the followingMX:Configuration:Behaviors:Actions:Show Pop-Up menu.js". Reference Error:> At Line 207 of file "OS X:Appplications:Macromedia Dreamweaver
imgName is not defined"can add pop-up menus??>
> Has anyone seen this and know what it means? or how to get rid of it so I>
> thanks
>
>
Kim Cavanaugh Guest
-
Bill #3
What does this mean??
int(rsGetCart.cart_sku_qty / 2) << It's the significance of the 2 that I
don't get. Following the code it appears to has something to do with even
numbers.
Am I right??
Bill Guest
-
mpwoodward *TMM* #4
Re: What does this mean??
On 2005-06-16 06:55:49 -0500, "Bill" <bill.betournay<SpamTrap>@gmail.com> said:
Actually that wouldn't *necessarily* give you even numbers. Taken out> int(rsGetCart.cart_sku_qty / 2) << It's the significance of the 2
> that I don't get. Following the code it appears to has something to do
> with even numbers.
>
> Am I right??
of context I have no clue what the purpose of this chunk of code is,
but what it does is takes rsGetCart.cart_sku_qty, divides that by 2,
then what int() does is returns the integer value that is nearest to
but smaller than the result of the division operation.
So for example if rsGetCart.cart_sku_qty is 7, the division would give
you 3.5, then int() would return 3 (yes, int always returns the LOWER
number, so even if the division resulted in 3.9 int would return 3).
Again I'm not sure what the point of the code is, but I believe that's
the behavior you would see.
Matt
--
Matt Woodward
[email]mpwoodward@gmail.com[/email]
Team Macromedia - ColdFusion
mpwoodward *TMM* Guest
-
-
Bill #6
Re: What does this mean??
Thanks Matt. That's answers the Q perfectly
Bill
"mpwoodward *TMM*" <mpwoodward@gmail.com> wrote in message
news:d8rrnq$cv$1@forums.macromedia.com...> On 2005-06-16 06:55:49 -0500, "Bill" <bill.betournay<SpamTrap>@gmail.com>
> said:
>>>> int(rsGetCart.cart_sku_qty / 2) << It's the significance of the 2 that
>> I don't get. Following the code it appears to has something to do with
>> even numbers.
>>
>> Am I right??
> Actually that wouldn't *necessarily* give you even numbers. Taken out of
> context I have no clue what the purpose of this chunk of code is, but what
> it does is takes rsGetCart.cart_sku_qty, divides that by 2, then what
> int() does is returns the integer value that is nearest to but smaller
> than the result of the division operation.
>
> So for example if rsGetCart.cart_sku_qty is 7, the division would give you
> 3.5, then int() would return 3 (yes, int always returns the LOWER number,
> so even if the division resulted in 3.9 int would return 3). Again I'm
> not sure what the point of the code is, but I believe that's the behavior
> you would see.
>
> Matt
> --
> Matt Woodward
> [email]mpwoodward@gmail.com[/email]
> Team Macromedia - ColdFusion
>
Bill Guest



Reply With Quote

