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="javascript">
<!-- 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="onOpen()">
Please help!
Thanks
Roisin
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="javascript">
<!-- 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="onOpen()">
Please help!
Thanks
Roisin