Adobe Dreamweaver Forums



Last 10 THreads :         Is there an easier or neater way to code this... (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          Letters are cutoff (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          IllegalRequest error with loadclip (Last Post : eps67 - Replies : 0 - Views : 1 )           »          IllegalRequest error with loadclip (Last Post : eps67 - Replies : 0 - Views : 1 )           »          compilation error (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          Give a checkbox a variable name. (Last Post : NedWebs - Replies : 2 - Views : 3 )           »          A New Joke Website (Last Post : nightwolf666 - Replies : 6 - Views : 7 )           »          Flash Player 10, problem with emdended fonts andattachment (Last Post : plasmaflex - Replies : 2 - Views : 3 )           »          DWCS4 Effects>Appear on DIV background image? (Last Post : Murray *ACE* - Replies : 4 - Views : 5 )           »          flash and wide-gamut monitors (Last Post : tonton66 - Replies : 1 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Extensions
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 08-06-2008, 09:59 PM
ndutzie ndutzie is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Diggs: 0
Default [HELP] dw CS3 and MX2004 don't execute javascript

I have an extension that copies some files and folders from dreamweaver configuration folder to user's local site folder.

To make it easy, I tried to put that up under INSERT menu on dreamweaver. When clicked, it is suppose to execute an html file with the javascript on it. The menu works really well under dreamweaver 8 (it executes the html).

However, when I tried the extension on dreamweaver CS3 and MX2004, it didn't do anything although it was successfully installed. It seemed that these version didn't manage to execute my html that contains the javascript. And to my surprise, there was no error message at all displayed on the screen.

Is there any chance that I mistakenly write the wrong code in my XMI file?

I enclosed my XMI file below:

Code:
<macromedia-extension id="" 
	name="Ext11"
	version="1"
	type="suite">

	<!-- List the required/compatible products -->
	
	<products>
		<product name="Dreamweaver" version="4" primary="true" /> 
	</products> 

	<!-- Describe the author -->
	
	<author name="name" />

	<!-- Describe the extension -->
	
	<description>
	<![CDATA[
		description
	]]>
	</description>

	<ui-access>
	<![CDATA[ ]]>
	</ui-access>

	
	<files>
		<file source="file_copy.html" destination="$dreamweaver/Configuration/commands/folder1/file_copy.html" />
	</files>

<configuration-changes>
		<menu-insert insertAfter="DWMenu_Insert_Media" skipSeparator="true">
			<menu id="menu1" name="_menu1"></menu>
		</menu-insert>
		<menu-insert appendTo="menu1">
			<menuitem id="folder1_1" file="commands/folder1/file_copy.html" command="dw.runCommand('folder1/file_copy.html');" name="Install Now!" />
		</menu-insert>
	</configuration-changes>
		
</macromedia-extension>
I really appreciate any help and comment on this.

Looking forward to your helps ...



Last edited by ndutzie : 08-06-2008 at 10:52 PM.
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk