While executing ObjectTag in flash.htm, a javascript error occurred

I'm attempting to place a SWF file in an editable region on a page created from a template.  I get the error: While executing ObjectTag in flash.htm, a javascript error occurred.  I saw on another sight that someone found the problem which was editable regions remove the head tag information.  But I do not know how to enter this info.  I tried just putting  a </head> and a head and body tag in code view inside the name region but this did not work. Any help would be appreciated.

Main.dwt
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #00C;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
#container {
background-color: #FFF;
width: 900px;
margin-right: auto;
margin-left: auto;
#flashbanner {
background-color: #FFF;
height: 350px;
width: 900px;
#title {
background-color: #FFF;
height: 35px;
width: 900px;
#navtop {
background-color: #FFF;
height: 100px;
width: 900px;
#spacer1 {
background-color: #00C;
height: 20px;
width: 900px;
#navleft {
background-color: #FFF;
float: left;
height: 1200px;
width: 250px;
border-right-width: medium;
border-right-style: solid;
border-right-color: #00C;
#mainbody {
background-color: #FFF;
height: 1200px;
width: 646px;
float: left;
#spacer2 {
background-color: #00C;
height: 20px;
width: 900px;
clear: both;
#navbottom {
background-color: #FFF;
height: 100px;
width: 900px;
#spacer3 {
background-color: #00C;
height: 20px;
width: 900px;
-->
</style></head>
<body>
<div id="container"><!-- TemplateBeginEditable name="flashbanner" -->
  <div id="flashbanner">flashbanner</div>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="title" -->
<div id="title">title</div>
<!-- TemplateEndEditable -->
<div id="navtop">nav top</div>
  <div id="spacer1"></div>
  <div id="navleft">nav left</div>
  <!-- TemplateBeginEditable name="mainbody" -->
  <div id="mainbody">mainbody</div>
  <!-- TemplateEndEditable -->
  <div id="spacer2"></div>
  <div id="navbottom">nav bottom</div>
  <div id="spacer3"></div>
container</div>
</body>
</html>
Index.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #00C;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
#container {
background-color: #FFF;
width: 900px;
margin-right: auto;
margin-left: auto;
#flashbanner {
background-color: #FFF;
height: 350px;
width: 900px;
#title {
background-color: #FFF;
height: 35px;
width: 900px;
#navtop {
background-color: #FFF;
height: 100px;
width: 900px;
#spacer1 {
background-color: #00C;
height: 20px;
width: 900px;
#navleft {
background-color: #FFF;
float: left;
height: 1200px;
width: 250px;
border-right-width: medium;
border-right-style: solid;
border-right-color: #00C;
#mainbody {
background-color: #FFF;
height: 1200px;
width: 646px;
float: left;
#spacer2 {
background-color: #00C;
height: 20px;
width: 900px;
clear: both;
#navbottom {
background-color: #FFF;
height: 100px;
width: 900px;
#spacer3 {
background-color: #00C;
height: 20px;
width: 900px;
-->
</style></head>
<body>
<div id="container"><!-- InstanceBeginEditable name="flashbanner" -->
  <div id="flashbanner">flashbanner</div>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="title" -->
<div id="title">title</div>
<!-- InstanceEndEditable -->
<div id="navtop">nav top</div>
  <div id="spacer1"></div>
  <div id="navleft">nav left</div>
  <!-- InstanceBeginEditable name="mainbody" -->
  <div id="mainbody">mainbody</div>
  <!-- InstanceEndEditable -->
  <div id="spacer2"></div>
  <div id="navbottom">nav bottom</div>
  <div id="spacer3"></div>
container</div>
</body>
<!-- InstanceEnd --></html>

Similar Messages

  • While executing objecttag in table.htm a javascript error occurred

    When I'm trying to insert a table I get the following error: while executing objecttag in table.htm a javascript error occurred

    You need to turn on your hidden files/folders to see them...
    Windows 8 How To: 19. Show Hidden Files, Folders and Drives - Dr. Z's Blog - Site Home - MSDN Blogs

  • Trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error o

    trying to insert a table and getting a "While executing objectTag in Table.htm, a JavaScript error occurred." message appears.  how do I fix this?

    Try this Technote
    http://kb2.adobe.com/cps/405/kb405604.html
    Try step 4 here
    http://kb2.adobe.com/cps/405/kb405604.html#main_dat

  • "When I try to create a new file I am getting this message:  "While executing getDynamicContent in AddressURL.htm, a JavaScript error occured".... what should I do?  Thank you, Lisa

    "When I try to create a new file I am getting this message:  "While executing getDynamicContent in AddressURL.htm, a JavaScript error occured".... what should I do?  Thank you, Lisa

    Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Start with steps #4, #12 and #10.
    Nancy O.

  • While executing inspectSelection in cf_select.htm, a Javascript error occurred.

    I keep getting this retarded error 3 times in a row when I put in a cfselect box.
    While executing inspectSelection in cf_select.htm, a Javascript error occurred.
    it makes me click "OK" 3x before continuing then it pops up every time i make a change to the page.
    What is going on?

    This is what fixed it for me.
    c:\program files\adobe\dreamweaver CS5\configurations\inspectors\cf_select.js
    Went to line 231  canInspectSelection() function.  Changed it to return (false);  instead of true. 
    Something to do with the property inspectors.
    http://help.adobe.com/en_US/dreamweaver/cs/extend/WS5b3ccc516d4fbf351e63e3d117f508c8de-7ff b.html

  • While executing inpectSelection in asp_command.htm, a JavaScript error occurred.

    While executing inpectSelection in asp_command.htm, a JavaScript error occurred.
    Error pops up In Dreamweaver CS6. I'm in code view when this happens.
    Seems to happen only when I try to scroll up or down using scroll bar or keyboard arrow keys.
    Any help is appreciated.

    Just tried #12 and #4.... .. no solution, yet.
    Tried #6 -- recreate site cache...  not a solution.
    Now I'm getting multiple types of similar errors on a few pages...  I'm going to have to make a list of error issues so I can be more precise about what's happening.
    I may be back within a day or two after some data collection.

  • While executing onLoad in Date_beforeSave.htm, a javascript error occurred.

    I have set up some pages to have an automatically updating
    "Last Modified On" date. However, I have been getting 2 error
    dialog boxes every time I save a file, both with the same message:
    "While executing onLoad in Date_beforeSave.htm, a javascript error
    occurred." In looking at some other threads on this forum, I have
    tried deleting the Application Data files
    "Configuration\SiteCache\SEL Web Site.dws" and
    "Configuration\WinFileCache-####.dat". I have also tried several
    different date formats, but that didn't seem to change anything.
    I have not been able to find any threads specific to this
    exact error, though.
    Any help would be highly appreciated! The site is at
    http://picea.sel.uaf.edu/index.html,
    if that helps.
    Thanks for your help,
    Jock

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jockamo" <[email protected]> wrote in
    message
    news:etpo3o$54c$[email protected]..
    >I have set up some pages to have an automatically
    updating "Last Modified
    >On"
    > date. However, I have been getting 2 error dialog boxes
    every time I save
    > a
    > file, both with the same message: "While executing
    onLoad in
    > Date_beforeSave.htm, a javascript error occurred." In
    looking at some
    > other
    > threads on this forum, I have tried deleting the
    Application Data files
    > "Configuration\SiteCache\SEL Web Site.dws" and
    > "Configuration\WinFileCache-####.dat". I have also tried
    several
    > different
    > date formats, but that didn't seem to change anything.
    >
    > I have not been able to find any threads specific to
    this exact error,
    > though.
    >
    > Any help would be highly appreciated! The site is at
    >
    http://picea.sel.uaf.edu/index.html,
    if that helps.
    >
    > Thanks for your help,
    > Jock
    >

  • While executing applyServerBehaviour in ShowifRSNotEmpty.htm, a JavaScript error occurred?

    Hi forum,
    Long time no post!
    Well, I've been trying out mySQL and Dreamweaver. I've found a book called Dreamweaver MX 2004 Design Projects and I am trying to write and get working Allan Kent's News Portal site as it seems to have all the things I want to learn in it.
    However, my question is this:
    When I have put in this code:
    <p>
      <span class="Headline"><?php echo $row_rstLatestNews['news_headline']; ?></span><br />
      <img src="showimage.php?show=icon&story=1" class="imgLeft" width="60" height="60" />
      <?php echo
    $row_rstLatestNews['news_pk']; ?>"    <?php echo
    $row_rstLatestNews['news_icon_meta']; ?>  /><?php echo
    $row_rstLatestNews['news_precis']; ?><br />
    <a href="news.php?story=<?php echo
    $row_rstLatestNews['news_pk']; ?>" class="More">Read More</a>
    </p>
    and then highlight all of the <p> to </p> (i.e. everything above) and apply show region if recordset Not Empty Server Behaviour
    it says:
    "While executing applyServerBehaviour in ShowifRSNotEmpty.htm, a JavaScript error occurred."
    what does this mean?
    why is it doing this?
    Please help!
    T.

    tomcausland wrote:
    I did this and it didn't work, I deleted the file and then it generated a new one.
    Yes, it will generate a new one. That's the idea of deleting the one that has become corrupted. However, if it didn't fix the problem, it could mean that an extension is causing problems. The next stage is to delete or rename your personal configuration folder. Doing so reverts Dreamweaver back to all its default settings, and should clear any problem. However, your later comments suggest the problem might lie elsewhere.
    May I ask, what is SQL injection and what is insecure code?
    Sure, you can ask, but a quick Google search would bring you the answer much quicker than waiting for me to have time to reply. Read the following page, and you'll understand what SQL injection is and why code vulnerable to is is insecure: http://en.wikipedia.org/wiki/Sql_injection.
    The exercise to create a news website uses server behaviours. I have gone through the exercise and it didn't seem to work properly. So I went through and tried reapplying server behaviours and this is when I get the error message opening and closing the server behaviours. When it happens once it happens to all of them so I have to reboot DW.
    I have read that server behaviours have a logical order on a web page and changing one effects the operation of others.
    Server behaviors are simply PHP code that has been generated automatically by Dreamweaver. When applied correctly, they should work without problem. However, a lot of people use them without understanding any of the code generated by Dreamweaver. That's when problems arise. If you make a mistake, you can't just select things in Design view and press Delete. To remove a server behavior cleanly, you need to select its name in the Server Behaviors panel, and click the minus button.
    Also, I know that Allan's instructions involve editing server behavior code. Once you do so, Dreamweaver usually no longer recognizes it as a server behavior, so you need to edit the code entirely in Code view. If you're not sure what you're doing, problems can again arise. I would suggest wiping the page clean, and starting again.
    Allan is an experienced author and PHP developer, so I assume that his instructions are correct. However, mistakes do occur in books. I see there is no errata page for that book, but that doesn't mean it's free of mistakes. I submitted corrections to a couple of my books several months ago, but friends of ED hasn't bothered to put them on its website. You can download the example files for that book. If there's a set of complete files, test them in a browser. Then compare your files with the author's.

  • While executing getDynamicContent in AdressURL.htm, a JavaScript error occurred"

    I am using a 4 weeks trail Dreamweaver cc. I am getting this error: "While executing getDynamicContent in AdressURL.htm, a JavaScript error occurred"
    I am getting this with every single site of folder I am opening..
    What can /must I do?
    Thanks for your response

    Below is the whole enchilada on JS Errors.  Start with #4, 6, 10, 12.
    Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6...
    Nancy O.

  • While executing findDynamicSources in SpryDataSet.htm, a JavaScript error occurred.

    I'm working with Spry datasets for some time now. But now I have a very annoying problem.
    When I use  the character '{' in any part of the HTML-sourcecode (HTML or JS) my Dreamweaver CS5 (11.0 build 4964)  freezes and crashes.
    When I try to examine the reason (by re-bulding part by part the code), I've got the message "While executing findDynamicSources in SpryDataSet.htm, a JavaScript error occurred." . Any ideas what is happening here?
    I know, DW wants to analyze the inside of XML dataset, but it's not there. It will be generated online. So while editing the source code it's not available.
    var dsLog = new Spry.Data.XMLDataSet("xml_log.php", "LOGS/ITEM", {filterFunc: MyPagingFunc, useCache:false, entityEncodeStrings:false});
    Any clues how to solve this?
    Thanks, Pieter

    Two possible solutions
    create a local file for a design time feed
    use SpryDataYQLDataSet which allows cross domain access
    Gramps

  • While executing applyserverbehavior in repeatedregion.htm a javascript error occurred

    "While executing applyserverbehavior in repeatedregion.htm a
    javascript error occurred". Can't find anything at all relevant to
    CS3 after googling this. What I did find seems to indicate a
    problem with DW. But where??? Heeeeeeeeeelp please. Thanks!

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "SailorBr549" <[email protected]> wrote in
    message
    news:fvoquk$cpu$[email protected]..
    > "While executing applyserverbehavior in
    repeatedregion.htm a javascript
    > error
    > occurred". Can't find anything at all relevant to CS3
    after googling this.
    > What
    > I did find seems to indicate a problem with DW. But
    where??? Heeeeeeeeeelp
    > please. Thanks!
    >

  • While executing applyServerBehavior in kd_RestrictAccessPage.htm, a javascript error occurred

    .. Getting random javascript errors and pages that were working fine, in which i have done no manual editing get a red exclamation mark by themselves.
    especially the list recordset.. get a red "!"
    The loop parameters bla bla bla..
    Exact Error message below.
    "Error processing insertText tag: 'loop' parameter arrays must be the same length. The 'loop' parameter 'tableCSSWidth' does not have the same length as the previous 'loop' parameter(s)."
    and so on.. I simply cannot apply any server behaviors or edit them.
    mohnkhan
    http://www.mohitech.com

    Hi,
    Reinstalling helped me with that issue ..
    to avoid such issues whenever i used dreamweaver i do it in a vmware box...
    regards
    mohnkhan
    http://www.mohtiech.com

  • Error while executing objecttag in textarea.htm

    Its sad what adobe has done to dreamweaver its all broke since all the new updates and the stupid decaprecation (sorry to rant but im so upset with adobe), ok since dreamweaver CC is the worst version i have used i had to download the dreamweaver cs6 version we are giving here for cc users, it brought back a bunch of features for php and dynamic developing but its full of errors, example if i try to insert any NORMAL form field in design view i get the following javascript errors popup While executing ObjectTag in Textarea.htm, a javascript error ocurred. I can add it in code view without it giving me any error but again i find it quicker to use in design view and this makes it so bloody annoying, what solution does adobe have for this mess?
    Btw deleting cache .dat files wont fix neither renaming the configuration folder.
    I still can't understand adobe decaprecating these last versions instead of making it more compatible with any newer version of php and dynamic programming instead of making it an expensive css editor, if this continues i know a hole community that uses dreamweaver on php that we are already looking for a replace ment and if we find it its by by to adobe, since adobe doesnt listen to us the users of their products.

    Yes it is sad to see our favourites being deleted, our workflows being messed around and the seemingly endless bomb-outs.
    That was exactly my frame of mind, so I started looking for alternatives. Found a darn good one called Sublime Text. Fast, modern, good features that are constantly being updated and added to by the community.
    This was the so-called 'Grass-on-the-other-side-of-the-fence-is-greener' syndrome.
    In my quest to coming back to reality, I even tried using both DW and ST simultaneously to get the best from both worlds.
    Bugger! I am back to using DW exclusively, together with all of its nastiness.
    Difference now is my frame of mind. I am now working within the NEW confines of DW and having an exciting time learning new technologies while going about my business.
    Having learnt my lesson with ADDT and Spry, I am staying well clear of Adobe's frameworks opting for ones that will be continued into the future. jQuery replaces Spry, Foundation (or Bootstrap) replaces FGL, Webassist products replaces ADDT.

  • While executing onLoad in Date_before Save.htm, a JavaScript error occurred

    While executing onLoad in Date_before Save.htm, a JavaScript error occurred, I have looked af the Forum and it tells me to delete Program Files\Macromedia\Dreamweaver CS3\Configuration\Commands and I cannot find these files despite searching.
    I had a text conversation with support at Adobe and they no longe support Dreamweaver CS3!  Has anyone else had a similar problem and if so how was it fixed.
    Regards

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jockamo" <[email protected]> wrote in
    message
    news:etpo3o$54c$[email protected]..
    >I have set up some pages to have an automatically
    updating "Last Modified
    >On"
    > date. However, I have been getting 2 error dialog boxes
    every time I save
    > a
    > file, both with the same message: "While executing
    onLoad in
    > Date_beforeSave.htm, a javascript error occurred." In
    looking at some
    > other
    > threads on this forum, I have tried deleting the
    Application Data files
    > "Configuration\SiteCache\SEL Web Site.dws" and
    > "Configuration\WinFileCache-####.dat". I have also tried
    several
    > different
    > date formats, but that didn't seem to change anything.
    >
    > I have not been able to find any threads specific to
    this exact error,
    > though.
    >
    > Any help would be highly appreciated! The site is at
    >
    http://picea.sel.uaf.edu/index.html,
    if that helps.
    >
    > Thanks for your help,
    > Jock
    >

  • "While executing applyBehavior in Swap image.htm, a JavaScript error occurred."

    What should be a simple web update is turning into a nightmare. I can't select any of my images to apply onMouseOver Swap Image behaviors, and I keep getting the message above.
    Can I just say right now that I hate Dreamweaver CS6 and what it's doing to this project?
    Ugh!

    Is this a plea for help or a rant?
    Javascript Errors in CS4, CS5, CS6 (the whole enchilada of trouble shooting)
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html
    Start with #4, #10 and #12
    Nancy O.

Maybe you are looking for

  • CRM_IC_ERP_BADI

    Hello: We have implemented BADI "CRM_IC_ERP_BADI" by creating a custom implementation. We would like to know how the field values in the ERP Sales Order user interface can be manipulated? Thanks! Regina

  • Setting Shutdown time in Energy Saver

    I'm trying to set a shutdown time in the Energy Saver on an additionaliMac G5 I have. The wakeup time works fine; however, every time I go into the Energy Saver, the lock is unlocked even though I've locked it when I set the time and closed out. The

  • Green pixelated video since latest software 4.0.2

    i have videos taken of my child on the iphone 4. they were working perfectly but have since turned green and become very pixelated. anyone have ideas why????

  • Problem finding Adapter WSDL files......

    Guys, I have installed and configured a Siebel Adapter on AS 10.1.2.0.2, BPEL PM 10.1.2.0.2 and Adapters 10.1.2.0.2 on Solaris. My adapters WSDL file is located in $ORACLE_HOME/adapters/application/wsdls However, when I am build my BPEL process using

  • Iphoto shuts down when uploading photo book

    Since upgrading iPhoto to v11 I cannot buy photo books.  Have created a photo book but when uploading iPhoto unexpectedly shuts down.  It always occurs at page 48 of 50.  I have tried hard cover, soft cover and wire but same result each time.  frustr