Jaszpurr wrote:
Quote:
Does anyone know of a way to stop Dreamweaver from auto inserting the
javascript code and body code if you use the swap image behavior.
Dreamweaver finally got smart enough to see that it doesn't need to do this
when I have the js code in a outside file that is called in the header, but if
I am working in an includes (which of course has no call to the js file in it)
Dreamweaver, it adds the code to my include. So every time I add that behavior,
I have to strip the added code back out. |
you can set up your include to be a "complete" page, then use comments
to hide the html, head, and body tags including the link to an external
file with the swap image behaviors in it
When you need to edit the behavior, uncomment. When done, comment or
make a copy and remove the extraneous tags
or just leave the added functions there and comment those the same way.
there's no other way to do it as DW will always add in the functions for
native behaviors.
Donna