What does this mean??

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default 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

  2. #2

    Default 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...
    > 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
    >
    >

    Kim Cavanaugh Guest

  3. #3

    Default 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

  4. #4

    Default Re: What does this mean??

    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

    mpwoodward *TMM* Guest

  5. #5

    Default Re: What does this mean??

    need more context to be able to help at all.
    gclausen Guest

  6. #6

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139