Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver 3 crashing due to onOpen.htm file - Help !

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi All,

I am working with Dreamweaver 3 and it is constantly crashing as soon as I open any file. It give the error due to the onload in command in onOpen.htm file. This is Javascript and I don't know what is wrong with it. I have reinstalled Dreamweaver a number of times and it still doesn't work. I have included the javascript code below. Also I am using Dreamweaver 3 as my default editor for Robohelp 9.

If you can offer any advice I would be very grateful.

<!-- MENU-LOCATION=NONE -->
<HTML>
<HEAD>
<TITLE>on Open</TITLE>
<SCRIPT LANGUAGE=&quot;javascript&quot;>
<!-- Copyright 1999 Macromedia, Inc. All rights reserved. -->
function onOpen() {
// Search for all files ending with the _onOpen name.
var filePath = dw.getConfigurationPath()+'/Commands/';
var fileFilter = '?*_onOpen.htm';
var fileList = DWfile.listFolder(filePath+fileFilter, 'files');
for (var i = 0; i < fileList.length; i++) {
// Call each specified command file.
dw.popupCommand(fileList);
}
}
</SCRIPT>
</HEAD>
<BODY onLoad=&quot;onOpen()&quot;>

Please help!

Thanks

Roisin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top