Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #21

    Default Re: script error

    Ok...Have I fixed everything? I hope so anyway ...this is all new to me. I did
    validate that template and I did not get those errors on the report. Is there
    another way in Dw that I can get an error check? Thanks, Nancy

    [url]http://www.msad54.org/bloomfield/faculty.htm[/url]

    skowhegan Guest

  2. Similar Questions and Discussions

    1. IE Script Error
      I keep running into this scripting error: Internet Explorer Script Error. An error has occured in the script on this page. (Lists lines, charc,...
    2. CloneModelFromCastMember : Script error: Error
      :beer; Thank you very much! I was having the same problem and this resolved it. :)
    3. Malformed Header from Script error (Error 500)
      Hi! If i tried to view a php page that is located on my webserver, apache shows the error #500 and the error_log says: malformed header from...
    4. Publisher Error or Script Error
      Line 1 Char 0 Error: Object does not support this property or method. Code: 0 URL:mk:@MSIT Store:C: Program %20 files\microsoft%20...
    5. Java Script error (error 3) when trying to access Commands
      Hello folks: I have been a long time lurker/reader of this forum. As of yesterday, out of nowhere, when accessing 'Commands' from the top level...
  3. #22

    Default script error

    :disgust; I cannot seem to complete a game on the games.com website as i keep
    getting an error message saying that a scrip t in the movie is causing
    macromedia flash 8 to run slowly and may make my computer irresponsive. Can
    someone please help as I am now banging my head off a brick wall

    celticchamp Guest

  4. #23

    Default Script Error

    How do I stop the errors that say movie script is causing flash player to play slow and could cause more problems?
    Juvis Guest

  5. #24

    Default Re: Script Error

    so i have that problem
    i have been testing opera,mozilla an explorrer and i have same problem,nobody help us
    herfes Guest

  6. #25

    Default Re: Script Error

    [q]Originally posted by: Juvis
    How do I stop the errors that say movie script is causing flash player to play slow and could cause more problems?[/q]


    Louis672 Guest

  7. #26

    Default script error

    When I am in Contribute on a pc. I get a script error on all these pages.

    < [url]http://www.msad54.org/sams/[/url] >

    I have a clock and drop downs on these page. I cannot take either off, the
    school district needs them. How can we get the script error to go away.

    Thanks,
    Nancy

    skowhegan Guest

  8. #27

    Default Re: script error

    Your pages are missing a link to the runclock JavaScript called in the onload event attached to your <body> tag. Firefox's JavaScript console is a good debugging tool for JavaScript and CSS :smile;
    Tom Benjamin Guest

  9. #28

    Default Re: script error

    Hi,
    Here is the code to that page. I am afraid I do not understand what link is
    missing.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>MSAD #54 Skowhegan Area Middle School</title>
    <!-- TemplateEndEditable -->
    <link href="/sams/sams_p7exp.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/sams_p7exp/p7exp.js"></script>
    <!--[if lte IE 7]>
    <style>
    #menuwrapper, #p7menubar ul a {height: 1%;}
    a:active {width: auto;}
    </style>
    <![endif]-->
    <link href="../sams/sams.css" rel="stylesheet" type="text/css">
    <!-- TemplateBeginEditable name="SpecificPageCss" -->
    <style type="text/css">
    body {
    background-color: #C5D4C3;
    }
    </style>
    <!-- TemplateEndEditable -->
    </head>
    <body onLoad="P7_ExpMenu();runclock()">
    <!--#include virtual="/sams/sams_includes/drops.html" -->
    <br>
    <!-- TemplateBeginEditable name="content" -->
    <table width="770" border="1" align="center" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    <!-- TemplateEndEditable -->
    <table width="770" border="0" align="center" cellspacing="0">
    <tr>
    <td><table width="770" border="0" align="center" cellspacing="0"
    id="footer">
    <tr>
    <td><p align="center">Current Time: <span
    id="servertime"></span></p>
    <p align="center">Comments, Ideas, <a href=
    "mailto:lrichter@msad54.org">Email Webmaster Laura Richter </a>
    <script type="text/javascript">

    // Current Server Time script (SSI or PHP)- By JavaScriptKit.com
    ([url]http://www.javascriptkit.com[/url])
    // For this and over 400+ free scripts, visit JavaScript Kit-
    [url]http://www.javascriptkit.com/[/url]
    // This notice must stay intact for use.

    //Depending on whether your page supports SSI (.shtml) or PHP (.php),
    UNCOMMENT the line below your page supports and COMMENT the one it does not:
    //Default is that SSI method is uncommented, and PHP is commented:

    var currenttime = '<!--#config timefmt="%B %d, %Y %H:%M:%S"--><!--#echo
    var="DATE_LOCAL" -->' //SSI method of getting server date
    //var currenttime = '<? print date("F d, Y H:i:s", time())?>' //PHP method of
    getting server date

    ///////////Stop editting here/////////////////////////////////

    var montharray=new
    Array("January","February","March","April","May"," June","July","August","Septemb
    er","October","November","December")
    var serverdate=new Date(currenttime)

    function padlength(what){
    var output=(what.toString().length==1)? "0"+what : what
    return output
    }

    function displaytime(){
    serverdate.setSeconds(serverdate.getSeconds()+1)
    var datestring=montharray[serverdate.getMonth()]+"
    "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
    var
    timestring=padlength(serverdate.getHours())+":"+pa dlength(serverdate.getMinutes(
    ))+":"+padlength(serverdate.getSeconds())
    document.getElementById("servertime").innerHTML=da testring+" "+timestring
    }

    {
    setInterval("displaytime()", 1000)
    }
    </script>
    <p align="center">Last modified:
    <!--#echo var="LAST_MODIFIED"-->
    </p></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <p align="center">&nbsp;</p>
    <p>&nbsp;</p>
    </body>
    </html>


    skowhegan Guest

  10. #29

    Default Re: script error

    Hi Nancy,

    About one quarter of the way down your source code is the body tag:
    <body onLoad="P7_ExpMenu();runclock()">

    The onLoad event runs two JavaScript functions:
    1. P7_expMenu (which is in the linked file /sams_p7exp/p7exp.js - see <script
    type="text/javascript" src="/sams_p7exp/p7exp.js"></script> on the 10th line)
    2. runclock - which can't be found in any of the JavaScript embedded in your
    page or attached to the page.

    But I wonder if the Current Server Time JavaScript at the end of your page is
    supplying the time you need - you can see it being constantly updated at the
    bottom of the page. If that's the case you can use Dreamweaver (I can see that
    your pages use a Dreamweaver template) to remove the ";runclock()" from the
    body tag.

    Tom Benjamin Guest

  11. #30

    Default Re: script error

    Thank you so much for helping me. I really appreciate it. I took the runclock() off the body tag and the script error is gone and the clock still works. Thanks, Nancy
    skowhegan Guest

  12. #31

    Default Re: script error

    I have another problem. The page below uses the same clock at the one we talked
    about previously. But this page uses different drop down menu's. If I take the
    runclock off the body tag of this page the clock does not work?

    < [url]http://www.msad54.org/mcss[/url] >

    Thanks,
    Nancy

    skowhegan Guest

  13. #32

    Default Re: script error

    Hi Nancy,

    Glad the script error is gone for you.

    That second page you have - [url]http://www.msad54.org/mcss[/url] - has some errors on
    it. The <body> tag onLoad event has an MM_preloadImages call but the files in
    the list are referenced as being on someone's personal Mac, not on your web
    server.

    And the runClock() call works on that page because the function is part of the
    Current Server Time JavaScript at the end of that page! On the first page you
    showed the end of that script says
    {
    setInterval("displaytime()", 1000)
    }
    but on the second the function name runClock is there!
    function runClock(){
    setInterval("displaytime()", 1000)
    }

    You could make it consistent by removing "function runClock()"

    Tom Benjamin Guest

  14. #33

    Default Re: script error

    I think I have done what you say and removed the run clock and the function runClock. Now the clock does not run.

    I also took off the extra images.

    < [url]http://www.msad54.org/mcss[/url] >

    Nancy
    skowhegan Guest

  15. #34

    Default Re: script error

    Did you fix it? The clock is running on that page.
    Tom Benjamin Guest

  16. #35

    Default Re: script error

    What I did was change the type of drop down menu's. It seemed that the
    p7express type drops lets me take the run clock tag off the body and alows the
    clock to work. The other type of menu I had originally on that page, hide show
    menu's, did not let me take the run clock off the body tag. I am planning on
    using the express drops around the district so this suits me. I am just a
    beginner and I do not know why this is so, if you can explain, I would love to
    hear.

    It seems to have taken the script error off the page. Do you think it did?

    Nancy

    skowhegan Guest

  17. #36

    Default Script Error

    I'm trying to edit our website, but I can just gain access to the main domain
    (.com) whereas I can't update the other versions (.net,.it,.eu.com etc.). Every
    time I try to get into these versions, it's forever giving me this error

    '...an error has occurred in the scrip of this page..'
    Our server provider assured me that FTP details haven't changed, so what
    shall I do to sort this problem out??

    [url]www.marksontennis.it[/url]

    JonathaMarksonTennis Guest

  18. #37

    Default Re: Script Error

    When you create a Contribute connection, you specify the URL that you want it
    to use. So if you set up your connection to use website.com, then it will give
    an error when you try to edit pages on website.net because you do not have
    access to that site via your Contribute connection - you only have access to
    edit the pages on website.com. If the other versions of your domains have
    different web pages, then you will need to create a connection for each domain.
    If all of your domains are using the same set of web pages, then you should
    just need to update the main domain (I may be a little unclear about the way
    your domains are setup).

    I hope that helps.

    Kathy_OCNC Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139