This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-01-04 15:05:51

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Oos Help!

I am working on a Online Operating System. I need help. This doesn't work:

Code:

<html>
<head>
<title>pwiterOS</title>
<style type="text/css" src="pwiter.css">
</head>
<body>
<div id="alert">
<p id="white">LOG IN</p><br><br><br>
<form action="">
<fieldset>
<label>Username:</label><input type="text" name="id" size="10">
<label>Password:</label><input type="text" name="pass" size="10">
<button type="submit" onclick="check()">Enter</button>
</fieldset>
</form>
</div>
<script type="text/javascript">
var user = document.getElementById("id");
var pass = document.getElementById("pass");
if (user == "dev" && pass == "pwiter"){
</script>
<div id="bar"></div>
<div id="start">
<img src="start.jpg"><p>Start</p>
</div>
<script>
} 
</script>
</body>
</head>

CSS:

Code:

body {
background-image: img("bg.jpg");
background-repeat: y;
}
p {
color: #000;
}
#bar{
border: 2px black bold;
background-image: img("bar.jpg");
}
#start{
background: gray;
border: 2px black bold;
}
#menu{
background-image: img("wel.jpg");
}
#alert {
background-image: img("alert.jpg");
border: 1em black bold;
}
#white{
color: #000;
}
#start{
border: 1em black;
background-color: gray;
}

If you would like to help, I'll give you the other resources.

Offline

 

#2 2011-01-04 16:05:26

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Oos Help!

First off, you would need lots and lots and lots and did i say lots of Javascript. So, if i were you, i would make files (.js) containing your code.

And second, It would be very limited, unless you made a way to write code to itself / to make your own code for it.

Sorry about how i phrased this, just couldn't find another way to put it.


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#3 2011-01-04 16:41:01

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Oos Help!

Just to let you know, Advanced Topics is for topics that are advanced and related to Scratch, not for advanced things outside of Scratch.

If you are unsure of where to put your post, see this Scratch Wiki article.

I'll report this thread and hopefully a moderator will move it...  smile


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#4 2011-01-04 21:06:07

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Oos Help!

Are you trying to make a game engine out with javascript?  My brother and I have made one that is pretty advanced (in my opinion).  I've made minesweeper, a simple platformer, and together we've made pacman.  Is this what you want?


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#5 2011-01-05 07:55:03

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Oos Help!

I think I know how to fix it...

Offline

 

Board footer