Any Javascript gurus out there?

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

  1. #1

    Default Any Javascript gurus out there?

    Hello,

    I'm not a javascript guru, and am having a few problems changing the font color between different items in a dropdown menu created in firworks.

    Anyone familiar with the javascript used in Fireworks might be able to help and any ideas would be most appreciated!

    What i want is the first item in my dropdown to be red, the second item black, the third item grey and so on.

    Here's the javascript code at moment for one of the dropdown columns, where the colour is the same ("FFFFFF") for all the items.

    _______________________________

    window.mm_menu_0606145230_0_7 = new Menu("Contemporary",133,16,"verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#454750","#66ccff"," left","middle",3,0,1000,-5,7,true,false,true,12,false,true);
    mm_menu_0606145230_0_7.addMenuItem("Tap");
    mm_menu_0606145230_0_7.addMenuItem("Funk");
    mm_menu_0606145230_0_7.addMenuItem("Disco");
    mm_menu_0606145230_0_7.addMenuItem("RnB");
    mm_menu_0606145230_0_7.addMenuItem("Break");
    mm_menu_0606145230_0_7.addMenuItem("HipHop");
    mm_menu_0606145230_0_7.addMenuItem("Interpretive") ;
    mm_menu_0606145230_0_7.bgImageUp="images/mmmenu6_133x16_up.gif";
    mm_menu_0606145230_0_7.bgImageOver="images/mmmenu6_133x16_over.gif";
    mm_menu_0606145230_0_7.hideOnMouseOut=true;
    mm_menu_0606145230_0_7.bgColor='#555555';

    _________________________________

    So the problem is that i want to say, make "Tap" a different colour to "Funk" and so on....


    Please - any ideas out there!!!!!!!!

    Many thanks, bpj
    ..


    bpj webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. getLinks & VB.NET - Gurus, please help!!!
      I am trying to use VS2005 (VB.NET) & the Acrobat SDK to do the following... - open a PDF - search each page for weblinks and read the target URL...
    2. Calling PHP gurus
      It's nice to see all the support in this newsgroup. Hopefully I'll be a contributor soon. For now I'm hoping you could answer a question about...
    3. Question to all ASP GURUS
      Hi all Is there any way I can copy one folder from one place to another place over the internet.... Kind regards
    4. Hey layers gurus-need an eye here
      This is my first "real" attempt at using layers. www.billraydrums.com/7_19_03/new.htm Please take a look-see and give me some hints as to how...
    5. Kudos to the gurus
      Simply wanted to say thanks in general to all the experienced people that post to this newsgroup. I am constantly amazed at the responsiveness of...
  3. #2

    Default Re: Any Javascript gurus out there?



    "bpj" [email]webforumsuser@macromedia.com[/email] wrote:
    >Hello,
    >
    >I'm not a javascript guru, and am having a few problems changing the font color between different items in a dropdown menu created in firworks.
    >
    >Anyone familiar with the javascript used in Fireworks might be able to help and any ideas would be most appreciated!
    >
    >What i want is the first item in my dropdown to be red, the second item black, the third item grey and so on.
    >
    >Here's the javascript code at moment for one of the dropdown columns, where the colour is the same ("FFFFFF") for all the items.
    >
    >_______________________________
    >
    >window.mm_menu_0606145230_0_7 = new Menu("Contemporary",133,16,"verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#454750","#66ccff"," left","middle",3,0,1000,-5,7,true,false,true,12,false,true);
    >mm_menu_0606145230_0_7.addMenuItem("Tap");
    >mm_menu_0606145230_0_7.addMenuItem("Funk");
    >mm_menu_0606145230_0_7.addMenuItem("Disco");
    >mm_menu_0606145230_0_7.addMenuItem("RnB");
    >mm_menu_0606145230_0_7.addMenuItem("Break");
    >mm_menu_0606145230_0_7.addMenuItem("HipHop");
    >mm_menu_0606145230_0_7.addMenuItem("Interpretive" );
    >mm_menu_0606145230_0_7.bgImageUp="images/mmmenu6_133x16_up.gif";
    >mm_menu_0606145230_0_7.bgImageOver="images/mmmenu6_133x16_over.gif";
    >mm_menu_0606145230_0_7.hideOnMouseOut=true;
    >mm_menu_0606145230_0_7.bgColor='#555555';
    >
    >_________________________________
    >
    >So the problem is that i want to say, make "Tap" a different colour to "Funk" and so on....
    >
    >
    >Please - any ideas out there!!!!!!!!
    >
    >Many thanks, bpj
    >.
    >
    >
    >
    >
    >
    I already answered this in your other thread. Please read it.


    --
    enthusiastically,
    mark haynes
    fireworks product team liaison
    macromedia customer care
    Please post all replies to this forum
    Responses to the forum are more effective for everyone.
    For Fireworks support, go to:
    <http://www.macromedia.com/support/email/complimentary/>


    Announcing Macromedia DevNet Subscriptions
    Maximize your power with our new premium software subscription for Macromedia developers
    Find out more: [url]http://www.macromedia.com/go/devnetsubs/[/url]


    mark haynes 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