• 23
  • Feb, 05

Dreamweaver crashes using javascript src in default.html

One feature of Dreamweaver that I use quite often, is the ability to customize the default code that appears when you create a new document (see http://www.macromedia.com/go/tn_14196). Yesterday I wanted to add a little javascript to the bottom that would allow all of my newly created HTML documents to include the same .js file. Naturally, I added the following code:

<script language="javascript" src="myfile.js"
type="text/javascript"></script>

When I restarted Dreamweaver however, it crashed on startup. I logged off and back into Windows and rebooted the computer thinking something was conflicting with Dreamweaver. I even re-installed Dreamweaver which actually fixed the problem. But then when I copied my old configuration files back to the new setup, it crashed again. I started adding configuration folders one by one and then files one by one until figuring out it was indeed the default.html file causing the problems. I then proceded to mess with my most recent addition—the javascript code.

The code I’ve listed above crashes dreamweaver, but oddly, the following code does not:

<script language="javascript" src=""
type="text/javascript"></script>

Quite frankly, that sucks! I’ve already reported the bug to Macromedia. I guess we’ll see what comes of it.

Share and Enjoy:
  • Digg
  • Reddit
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Technorati
  • TwitThis
  • E-mail this story to a friend!

3 Responses

  1. Macromedia contacted me yesterday letting me know that they were able to reproduce this bug and have opened an internal bug report.

  2. The problem is gone in Dreamweaver 8.

  3. I have just began using DW MX 2002 i bought a few years back for flash and fireworks which i never fully understood(it was the suite) anyways, when DW auto added that script on me, things went haywire. Im not rich enuff right now to be forking out for dw 8 tho and this 56k is too slow to download it.

Leave a Reply

Car Humor | U2 News