1 Reply Latest reply: Jun 7, 2007 3:54 PM by Newsgroup_User RSS

    How do I prevent DW from inserting rollover code in a template update?

    theMikeD Community Member
      Hi there

      I have looked through the help and searched online, and found only one reference this question, and it was never answered.

      I have a template, and in the non-editable region of the header, I have a link to a .js file containing the javascript rollover effect code.

      However, when I update the html files based on this template, DW inserts the rollover code into a <script> in the head of the html file, which is redundant and bloats the file.

      I can't find a way to disable this behaviour.

      Can anyone give me any guidance?

      ...Mike
        • 1. Re: How do I prevent DW from inserting rollover code in a template update?
          Newsgroup_User Community Member
          > I can't find a way to disable this behaviour.

          There isn't. Sorry. It is a known bug in DW.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "Photos for Life" <webforumsuser@macromedia.com> wrote in message
          news:f4a0t0$o6n$1@forums.macromedia.com...
          > Hi there
          >
          > I have looked through the help and searched online, and found only one
          > reference this question, and it was never answered.
          >
          > I have a template, and in the non-editable region of the header, I have a
          > link
          > to a .js file containing the javascript rollover effect code.
          >
          > However, when I update the html files based on this template, DW inserts
          > the
          > rollover code into a <script> in the head of the html file, which is
          > redundant
          > and bloats the file.
          >
          > I can't find a way to disable this behaviour.
          >
          > Can anyone give me any guidance?
          >
          > ...Mike
          >