Javascript error

Posted: 10-04-2005, 07:43 PM
Hi,

I recently downloaded the Photo Album 2 extension and each time I try to use
it and get a Javascript error message that it cannot load.

I'm using it in DM8 but the same error occurs in DMX2004. I've tried
reinstalling it but it still wont work.

Any ideas would be appreciated.

Thanks

David

Reply With Quote

Responses to "Javascript error"

tabasco1
Guest
Posts: n/a
 
Re: Javascript error
Posted: 10-13-2005, 01:41 AM
Hi,

I get a JavaScript error too. I've posted it
http://www.macromedia.com/cfusion/we...catid=190&thre
adid=1065705&enterthread=y

Am not sure if its similar to your error msg.

Reply With Quote
ganand28
Guest
Posts: n/a
 
Javascript error
Posted: 10-25-2005, 06:36 PM
This script basically determines what version of flash player you are using,
this code works with IE browser. Similar code can be found in msdn website.
http://msdn.microsoft.com/library/de.../behaviors/ref
erence/methods/getcomponentversion.asp .
This attached code works with all versions of flash player except from version
8. I am not sure if its a bug.

<HTML xmlns:IE>
<HEAD>
<STYLE>
@media all {
IE\:clientCaps {behavior:url(#default#clientcaps)}
}
</STYLE>
</HEAD>

<BODY>
<IE:clientCaps ID="oClientCaps" />

<SCRIPT>


var id1="{D27CDB6E-AE6D-11CF-96B8-444553540000}"; // id for macromedia flash
//Check if component is installed.
var flash1 = oClientCaps.isComponentInstalled(id1,
"ComponentID");
alert("Macromedia flash installed :" + flash1);

//Get the version no of the component.
var flash2 = oClientCaps.getComponentVersion(id1,
"ComponentID");
alert("Version Number of flash :" + flash2);
</SCRIPT>

Test
</BODY>

Reply With Quote
cbpayne
Guest
Posts: n/a
 
Javascript error
Posted: 11-26-2005, 10:53 PM
When I try to copy or paste text in Contribute I get this error:
"While executing DWMenu_Edit_Cut command in ccmenus.xml, the
followingJavascript error(s) occured:
TypeError: MM.event has no properties:

Reply With Quote
thombr
Guest
Posts: n/a
 
Javascript Error
Posted: 12-05-2005, 02:24 PM
The attached line of javascript yields a "Permission denied" error when I
cancel or publish an edited page containing this script. This line is part of
breadcrumb function which works without error in both IE and Mozilla. Why does
Contribute generate this error?

var crumbs = location.pathname.split('/');

Reply With Quote
thombr
Guest
Posts: n/a
 
Re: Javascript Error
Posted: 12-05-2005, 03:01 PM
Still not sure what causes the error in Contribute, but here's my solution
(which is better coding practice anyway): wrap the code in a try...catch block.




function breadcrumbs(indexPage)
{
try
{
var crumbs = location.pathname.split('/');

if(crumbs)
{
var path = '/';
var output = '<a href="/home.aspx">Home</a> &gt; ';

if(indexPage) crumbs.length--;

for(i = 1; i < crumbs.length - 1; i++)
{
path += crumbs[i] + '/';
output += '<a href="' + path + '">' + crumbs[i] + '</a> &gt; ';
}
output += document.title;
document.write(output);
}
}
catch(e){}
}

Reply With Quote
fifi
Guest
Posts: n/a
 
JavaScript Error
Posted: 06-21-2006, 12:07 AM
I get the following error in Dreamweaver when ever I open a cfm file
with a recordset:

"JavaScript error while loading Recordset.htm: Unable to open script
file "C:\Program Files\Macromedia\Dreamweaver 8\Configuration\Server
Behaviors\ColdFusion\Field Types.js"
(error 2).

the path to the file is correct. this error just started happening.
anyone know what I can do?

thanks

Reply With Quote
simmysmith@googlemail.com
Guest
Posts: n/a
 
Javascript Error
Posted: 04-28-2008, 02:46 PM
Hi,

I have recently made a change to a webpage and am trying to publish it
but when I try to publish it I get the following error and then
Contribute closes...

While Executing Edit_Action_Publish command in cctoolbars.xml, the
following Javascript error(s) occured:
Exception thrown in native function.

I would be grateful for any advice

Regards

Si
Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Connection Wizard / Javascript Error gregsinibaldi Macromedia Flash Data Integration 2 10-14-2005 01:30 PM
Javascript Error: Object expected jce1975 Macromedia ColdFusion 2 03-03-2005 01:28 PM
PS CS - Javascript Error on Scripts > Layer Comps to PDF? Mike_Boreham@adobeforums.com Adobe Photoshop Mac CS, CS2 & CS3 2 04-14-2004 05:53 PM
need javascript staff (anyone who knows javascript peroid) (READ) Šark Templer webforumsuser@macromedia.com Macromedia Dynamic HTML 14 01-09-2004 12:37 PM
Javascript error: exception throw... RufusToofus webforumsuser@macromedia.com Macromedia Dreamweaver 1 07-08-2003 05:14 PM