4 Replies Latest reply on Mar 31, 2009 2:42 PM by Newsgroup_User

    Putting Drop Down Javascript in External File

    andrewmcgibbon Level 1
      I am creating drop-down menus using Fireworks. I am then importing them into DW. The problem is that this menu is going into a template so any time I make a change to the navigation bar I have to update all the pages and re-upload all the pages that use that template for it to take affect.

      Is there a way of putting the javascript for these menus into an external file rather than having it live in the template. That way all I would have to do is replace the file.

      Many thanks in advance,
      Andy
        • 1. Re: Putting Drop Down Javascript in External File
          Level 7
          >I am creating drop-down menus using Fireworks

          Mistake #1.

          > I am then importing them into DW.

          Mistake #2.

          > The problem is that this menu is going into a template so any time I make
          > a change to the navigation bar I have to update all the pages and
          > re-upload all
          > the pages that use that template for it to take affect.

          Depending on which version of FW you are using this could well be the third
          strike. Which FW is it?

          > Is there a way of putting the javascript for these menus into an external
          > file
          > rather than having it live in the template. That way all I would have to
          > do is
          > replace the file.

          No, it's not all you would have to do. The javascript only defines the
          menu's functionality, not its characteristics.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "andrewmcgibbon" <webforumsuser@macromedia.com> wrote in message
          news:gqtdic$12g$1@forums.macromedia.com...
          >I am creating drop-down menus using Fireworks. I am then importing them
          >into
          > DW. The problem is that this menu is going into a template so any time I
          > make
          > a change to the navigation bar I have to update all the pages and
          > re-upload all
          > the pages that use that template for it to take affect.
          >
          > Is there a way of putting the javascript for these menus into an external
          > file
          > rather than having it live in the template. That way all I would have to
          > do is
          > replace the file.
          >
          > Many thanks in advance,
          > Andy
          >

          • 2. Putting Drop Down Javascript in External File
            jazzguy2
            I am using the FW in CS3. I'm open to other suggestions. Why are these mistakes?
            • 3. Re: Putting Drop Down Javascript in External File
              pixlor Level 4
              Using the FW menus is a mistake because they are not very good. What they will end up doing is causing you more headaches and hassle than anything else.

              You're building code, so you should use Dreamweaver. If you know how to write the code, then do so...write your own menus. If you don't know how to write your own code, then your best option is to buy a professional menu system.

              Here are two sites that have menu plug-ins for Dreamweaver (not Fireworks):
              Pluginlab Limited
              Project Seven
              The Project Seven menus are regularly recommended, but I have no personal experience with either of them.

              • 4. Re: Putting Drop Down Javascript in External File
                Level 7
                Nearly every site I build has a PVII menu in it.

                --
                Murray --- ICQ 71997575
                Adobe Community Expert
                (If you *MUST* email me, don't LAUGH when you do so!)
                ==================
                http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                ==================


                "pixlor" <webforumsuser@macromedia.com> wrote in message
                news:gqtr10$gv3$1@forums.macromedia.com...
                > Using the FW menus is a mistake because they are not very good. What they
                > will
                > end up doing is causing you more headaches and hassle than anything else.
                >
                > You're building code, so you should use Dreamweaver. If you know how to
                > write
                > the code, then do so...write your own menus. If you don't know how to
                > write
                > your own code, then your best option is to buy a professional menu
                > system.
                >
                > Here are two sites that have menu plug-ins for Dreamweaver (not
                > Fireworks):
                > http://www.pluginlab.com/dreamweaver-extensions.asp?pr=dw
                > http://www.projectseven.com/
                > The Project Seven menus are regularly recommended, but I have no personal
                > experience with either of them.
                >
                >
                >