Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Nine Toes

#161
Ha ha! Cute.
#162
Hmm... weird...

Yeah, I am logged in at the address AGA gave me, but if I close the browser and re-open it, at the main forum page it says, "Welcome, Guest...".

If I click on a thread, then I'm magically logged in again.

*shrugs*

EDIT:
Ha ha... sorry.  It was my bookmark.  It was still for the OLD forum address.  I deleted it, and bookmarked the new address.
#163
I have to re-login every time I close my browser (even with the checkbox checked), is that normal?
#164
General Discussion / Re: Javascript help.
Sun 26/11/2006 10:58:51
I made the necessary addition, plus a few other necessary additions.  I tried it in both IE and Firefox, and it works perfectly now.

Thanks.  :)
#165
General Discussion / Javascript help.
Sun 26/11/2006 10:32:09
I'm in the process of teaching myself Javascript.  The only thing is, this first script I've written all on my own just plain old isn't working... at all.  I've been sitting here for hours, going over my script again and again.  I've even been using W3Schools as a reference for everything, just to make sure I coded it all properly.  But, alas... I just can't get the script to do what I want it to do.

Here's the HTML for the page:
Code: ags

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Please enter your username and password...</title>
	
	<style type="text/css">
	  body {position:absolute; text-align:center}
	</style>
	
	<script type="text/javascript">
	function grantAccess() {
	  var username = document.getElementById("userName").value
	  var password = document.getElementById("passWord").value
	  var theusername = "John Doe"
	  var thepassword = "Enter"
	  var x = document.getElementById("accessForm")
	  submitOK = "true"
	  
*	 if (getElementById("userName").length==0) {
	    alert("Please enter a valid username.")
		submitOK = "false"
	  }
	  else if (getElementById("passWord").length==0) {
	    alert("Please enter a valid password.")
	    submitOK = "false"
	  }
	  else if (username != theusername || password != thepassword) {
	    alert("Invalid username.")
	    submitOK = "false"
	  }
	  else if (username == theusername && password == thepassword) {
	    alert("Welcome, " + username + ".")
		x.action="http://webpages.charter.net/thelostnumber/home.html"
	  }			
	  if (submitOK="false") {
	  return false
	  }
	}
	</script>
</head>

<body>

<form id="accessForm" action="" onsubmit="return grantAccess()">
Please enter your username and password.
<br />
<br />
Username: <input type="text" id="userName" size="20" /> 
<br />
Password: <input type="password" id="passWord" value="" size="20" />
<br />
<br />
<input type="submit" value="Submit" />
</form>

</body>
</html>


It's supposed to be my first attempt at a simple username and password login.

Here's the page, itself, if you want to try it out to see how it isn't working.
The username is "John Doe", and the password is "Enter".

The asterisk in the code is the line where I get an error while testing the page in 1st Page 2000 (after I click the submit button).

The error is as follows:
An error has occured in the script on this page.
Line: 20
Char: 4
Error: Object expected
Code: 0
URL: (... I don't think the rest of it is important, as I'm sure you're familiar with the routine...)

I haven't the foggiest idea what sort of object it's expecting there...

I really have no clue why it isn't working.  AFAIK, it should work just fine, right?  If someone could help me out, I'd appreciate it.
#166
General Discussion / Re: Happy Thanksgiving!!
Fri 24/11/2006 11:47:59
For me, Thanksgiving was officially over about five and a half hours ago.  I don't really like to get all mushy, touchy-feely and crap, but I decided to reply because I just don't stop and think about the things I should be thankful for as often as I should. (Did you get all that?)  I just spend too much of my time being pessimistic and worrying about the "what if..."s of the future.

Obviously, I'm thankful for my wife, Ashely, and my son, Zachary.

I'm thankful that I have a decent job, and it's keeping my family fed, sheltered, and entertained.

I'm thankful that I'm not dead, or in jail (trust me, I've done a lot of stupid things in my life).

...That's the best I could do.  Happy Thanksgiving.
#168
General Discussion / Re: AGS'ers with kids
Fri 17/11/2006 18:26:58
1 son, 3 months old.

I think it's funny how many of you list your wives in a thread about how many children you have.
#169
*Mr. Hyde feels really, REALLY stupid because he never would have thought of using this method to get himself out of a locked cell.
#170
EDIT: Nevermind.
#171
"Guess what I've been up to..."
Oh, I can only imagine...  ;)

Quote from: Haddas on Thu 09/11/2006 13:55:47
Man. EVERYONE is having a baby nowadays.
I know, I was thinking the same thing.  Must be another baby boom.

Congratulations, Snake.
#172
I think that actually IS live video, with the background traced out.
#173
Quote from: Layabout on Wed 01/11/2006 14:59:01
That is an old school gyppo caravan. You need a horse and wear funny clothes and smell funny and grow a beard to look the part with that caravan. Is there something you are not telling us OBI? You aren't a gyppo are you? I hope not.

Without looking at the picture, it almost sounds like you're talking about the Amish.
#174
What about the Welsh?
#175
General Discussion / Re: My new video! :)
Fri 27/10/2006 12:25:06
You're a goof, dude.

I must say, your music has really evolved quite a bit since you first added me on MySpace.  I'm starting to like it a lot more than that other arrogant prick... (What was his name again?... DreamUntilMyEgoDeflates...?)

So, I guess you got the last laugh, huh?
#176
You should see how many of your friends you can cram in there, and then hook it up to a pick up truck and go baja-ing through a cornfield.
#177
General Discussion / Re: MY Forums
Thu 26/10/2006 10:40:44
Quote from: neelhound on Thu 26/10/2006 10:21:29
I am trying to state, that they are not JUST for kids buts people cant say 'oh hes just a kid he wont be good with ags'
Understood. :)

Quote from: Alliance on Thu 26/10/2006 10:26:20
It's just how you act on these forums that affects what people think.
Trust me, man.  I know exactly what you mean.  You should read some of the dumb crap I've posted. 
#178
General Discussion / Re: MY Forums
Thu 26/10/2006 10:18:18
Don't get me wrong, I was quite the annoying noob myself at one point in time.

I wasn't trying to be a bully.  I just felt the need to state that video games aren't just for kids.  ...oh, and neither are Trix.
#179
General Discussion / Re: MY Forums
Thu 26/10/2006 10:08:10
Quote from: neelhound on Wed 25/10/2006 12:33:56
why do you do that when you dont realise that it IS childish doing adventure games???

Don't you realize that adventure games wouldn't even exist, if it weren't for nerdy old farts like us?  It's not like computer games just popped out of thin air one day.

Also, contrary to what you believe, there is no eleventh commandment stating: "Thou shalt not play computer games, unless thou art 13 and under".
#180
EDIT: Nothing.  Nevermind.
SMF spam blocked by CleanTalk