|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | RE: [ECS] JAVA and HTML blues David Kindred Tue, 29 Feb 2000 14:48:09 -0500 |
Don,
I don't see the gateKeeper function in the code you quoted. Is it definitely
there? It should look something like:
function gateKeeper() {
some code
some more code
}
Remember to watch your case. JavaScript is case sensitive.
--David
-----Original Message-----
From: Don Stephens [mailto:donstephens@101freeway.com]
Sent: Tuesday, February 29, 2000 1:57 PM
To: ECS List
Subject: [ECS] JAVA and HTML blues
Any JavaScript or HTML gurus out there?
I'm trying to create a password protected page for ECS's webpage but I'm
having trouble with the following script found on (www.dynamicdrive.com).
IE5 reports back
a script problem on line #12 of the script below. It reports error object
expected.
Here is line #12
<input type="button" value="Enter Here" onClick="gateKeeper()">
Please remember that my formatting may not be correct .
I'm assuming that this is line #12 but I am into deep water here.
Could anyone comment?
Thanks
<HTML>
<BODY<SCRIPT LANGUAGE="javascript">
<!--- Hide from tired old browsers
var nifty_little_window = null;
function gateKeeper() {
nifty_little_window = window.open('gatekeep.html',
'theKeeper', 'width=350,height=200,resizable=1');
}
// End hiding --->
</SCRIPT>
<form>
<input type="button" value="Enter Here" onClick="gateKeeper()">
</form>
</BODY>
</HTML>
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects