Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
Marje #1
Error on Checking/Unchecking "Show"
I an a designer getting ready to train my client in Contribute CS3. I have
considerable experience with optional editable areas in DW templates and
training clients in how to make items visible and not visible.
However, in my current website I receive an error whenever I check or uncheck
the Show box. (Also, I am using the MM_swapImage behavior in the top menu.)
Format>Template Properties > either click or unclick the Show checkbox for an
editable optional area, I receive this error message.
*****
While executing onLoad in Swap Image.htm, the following JavaScript error(s)
occurred:
At line 303 of file "C:\Program Files\Adobe]Adobe Contribute
CS3\Configuration\Behaviors\Actions\Swap Image.js";
TypeError: dw.getBehaviorTag is not a function
****
I then have to press the OK button on the error message 5 or more times, the
error message then disappears, and I am able to click the Publish button and
it successfully publishes the page.
How can I prevent this error message from appearing.
Here's a page on the site I'm building.
[url]http://www.sivitzdesigns.com/about.php[/url]
Marje Guest
-
Checking "Remember Password" Does Not Work
We have a client who is using Contribute 3.1 under Windows 98 to connect to a site hosted on our Publishing Services server. When you first start up... -
"Error Creating Control" and "Cast from String"
I'm creating a custom date control. In appearance, it's just a textbox and a button. It has three custom properties: CalDate, CalDateType and... -
Acrobat Form Submit error: changes VALUE="true" to "0"
I wrote an HTML page with a form. In the form I had many inputs as in: <INPUT TYPE="radio" NAME="Q1" VALUE="true"> and <INPUT TYPE="radio"... -
Domain does not show up as a "location" for choosing users (server 2003)
I have a windows 2003 server. I added a new Windows 2003 server as a member server. However when I try to set permissions on a folder on this 2003... -
#12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
ID: 12029 Comment by: sietzepost at streetwisedd dot nl Reported By: root at byone dot com Status: Bogus Bug... -
David C Johnson #2
Re: Error on Checking/Unchecking "Show"
In "Swap Image.js" change line 303
from: if (!dw.getBehaviorTag())
to: if (dw.getBehaviorTag && (!dw.getBehaviorTag() ))
and change line 306
from: if (dw.getBehaviorElement()) selTag =
dw.getBehaviorElement().tagName;
to: if (dw.getBehaviorElement && dw.getBehaviorElement()) selTag =
dw.getBehaviorElement().tagName;
You'll have to change it on your user's computer. It's a Contribute problem,
not a Dreamweaver problem. The complete code snippet with before and after is:
function initializeUI(){
var niceNameSrcArray=new Array(), nameArray, i, selTag="";
var imgSrcArray = new Array();
var endsWithZero = /\[0\]$/; //ref ends with [0]
//Determine if RESTORE is an option. If not, remove UI for it
//the dw.getBehaviorTag() check ensures the checkbox
//is not available if a behavior is attached to a timeline
var removeCheckbox = false;
//david, this was: if (!dw.getBehaviorTag())
if (dw.getBehaviorTag && (!dw.getBehaviorTag() )) //if behavior is in a
timeline
removeCheckbox = true;
else {
//david, this was: if (dw.getBehaviorElement()) selTag =
dw.getBehaviorElement().tagName;
if (dw.getBehaviorElement && dw.getBehaviorElement()) selTag =
dw.getBehaviorElement().tagName;
and then the rest of the function.
David C Johnson Guest
-
valintrusa #3
Re: Error on Checking/Unchecking "Show"
I have the exact same issue, but with a different file being referenced. This
is my error message:
# #
#
While executing onLoad in Set Nav Bar Image.htm, the following JavaScript
error(s) occurred:
At line 196 of file "C:\Program Files\Adobe\Adobe Contribute
CS3\Configuration\Behaviors\Actions\Set Nav Bar Image.js:"
TypeError: dw.getBehaviorElement is not a function.
#
# #
How do I handle that?
Thanks in advance!
valintrusa Guest



Reply With Quote

