Ask a Question related to Macromedia Director Lingo, Design and Development.
-
skowhegan #21
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
-
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,... -
CloneModelFromCastMember : Script error: Error
:beer; Thank you very much! I was having the same problem and this resolved it. :) -
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... -
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... -
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... -
celticchamp #22
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
-
Juvis #23
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
-
herfes #24
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
-
Louis672 #25
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
-
skowhegan #26
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
-
Tom Benjamin #27
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
-
skowhegan #28
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> </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"> </p>
<p> </p>
</body>
</html>
skowhegan Guest
-
Tom Benjamin #29
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
-
skowhegan #30
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
-
skowhegan #31
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
-
Tom Benjamin #32
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
-
skowhegan #33
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
-
Tom Benjamin #34
Re: script error
Did you fix it? The clock is running on that page.
Tom Benjamin Guest
-
skowhegan #35
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
-
JonathaMarksonTennis #36
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
-
Kathy_OCNC #37
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



Reply With Quote

