|
Post by Frogmaster on Feb 16, 2009 20:49:02 GMT -5
Here's a little project I was working on many months ago for my website. (The website, www.heartbeatgaming.com , appears not to have been updated for a long, long time, but there are a load of secret directories with neat invention scripts or beta games. I'll reveal some later.) www.heartbeatgaming.com/pp/Now, if you know HTML or Javascript, you'll love this. What I have are three little 'sandboxes' that can be edited by any user, and can be used to test layouts or other scripts. Fairly fun for a web designer, or just someone who wants to screw around. Just type any script into one of the "Edit" pages (PHP and serverside languages like Python are disabled for security reasons), then go to the matching "View" page and it will display your content. It's fairly self-explanatory, have fun!
|
|
|
Post by Qwerty333 on Feb 17, 2009 8:20:46 GMT -5
Wow... cool. XD GET READY TO... code... I guess...? WEWT
|
|
|
Post by Sandmaster on Feb 17, 2009 18:28:35 GMT -5
IDK how to program, but it might be fun to screw around with bold and underline here and there
|
|
|
Post by Frogmaster on Feb 17, 2009 20:32:50 GMT -5
Yeah, something fun to try is copying the source code off another website and pasting it in. In firefox, just go to View -> Page Source to see the source code.
|
|
|
Post by ROBiT on Feb 21, 2009 1:05:46 GMT -5
I left a lil' bit of Javascript on the first sandbox
|
|
|
Post by Sandmaster on Feb 21, 2009 13:38:53 GMT -5
very nice idea. Too bad I don't know crap bout programming.
|
|
|
Post by ROBiT on Feb 21, 2009 20:29:28 GMT -5
Saza, you fail at Javascript. You broke it But I fixed it
|
|
|
Post by General Veers on Feb 21, 2009 20:33:06 GMT -5
I figured I wouldn't mess with your work, so here is an edit:
<script language="javascript"> var color = 1; function changeColor() { if(color == 1) { document.all.msg.style.color = "red"; color = 2; }else if(color == 2) { document.all.msg.style.color = "gray"; color = 3; }else if(color == 3) { document.all.msg.style.color = "blue"; color = 1; } } </script> <div id="msg" style="color:black" onclick="changeColor()"><font size=100><b><u>General Veers was in oZone's message!:D </u></b></font> </div>
How would I add a subroutine into your existing code called "changeFont" (similar to your "changeColor") that changes the font from default font to newAurabesh and back?
var font = 1; function changeFont() if(font == 1) { document.all.msg.style.font = "newAurabesh"; font == 2; }else document.all.msg.style.font = "Courier New"; font == 1; } }
|
|
|
Post by Frogmaster on Feb 21, 2009 21:22:21 GMT -5
Hahaha, I love that somebody actually found good use for it.
|
|
|
Post by ROBiT on Feb 23, 2009 1:13:55 GMT -5
General/Natasha, I'll edit it for you. Although, only people with newAurabesh installed will actually see the change.
|
|
|
Post by General Veers on Feb 23, 2009 1:51:06 GMT -5
Thank you.
I warn you that I know absolutely nothing about java, css, etc. and was only making postulates based off your work in Sandbox 1.
My work is in Sandbox 2. I excluded the font thing since that didn't work.
|
|
|
Post by vaconcovat on Feb 24, 2009 16:35:28 GMT -5
LOL i put one of muy mmorpg scripts in... It died...
|
|
|
Post by General Veers on Mar 20, 2009 23:47:10 GMT -5
Whew, almost an entire month passed, but not quite...
I experimented with HTML based off www.wwwdotcom.com's webpage source code in Sandbox 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>General Veers's Sample Webpage</TITLE></HEAD> <BODY BGCOLOR="000000"> <P><BR> </P> <HR> <HR> <HR> <HR> <CENTER><FONT COLOR="888888"> <FONT SIZE="10"><B><U>Attention Rebel Scum:</U></B></FONT> <B> </B>
<P><BR><STRONG> Your position has been compromised.</STRONG></P>
<P><BR> <STRONG> All Terrain Armoured Transports will promptly destroy you and shut down your planetary shield generator while Snowtroopers will purge any surviving Rebel scum.</STRONG></P>
<P><BR> <STRONG> Accept defeat, for it is inevitable.</STRONG></P>
<P><BR> <STRONG><I>Compliments of Major General Maximilian Veers.</I></STRONG></P>
</FONT></CENTER> <HR> <HR> <HR> <HR></BODY></HTML> This code does the page in both the default font and in newAurabesh: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>General Veers's Sample Webpage</TITLE></HEAD> <BODY BGCOLOR="000000"> <P><BR> </P> <HR> <HR> <HR> <HR> <CENTER><FONT COLOR="888888"> <FONT SIZE="10"><B><U>Attention Rebel Scum:</U></B></FONT>
<P><BR><STRONG> Your position has been compromised.</STRONG></P>
<P><BR> <STRONG> All Terrain Armoured Transports will promptly destroy you and shut down your planetary shield generator while Snowtroopers will purge any surviving Rebel scum.</STRONG></P>
<P><BR> <STRONG> Accept defeat, for it is inevitable.</STRONG></P>
<P><BR> <STRONG><I>Compliments of Major General Maximilian Veers.</I></STRONG></P>
<P><BR></P> <HR> <P><BR></P>
<FONT FACE="newAurabesh">
<FONT SIZE="6"><B><U>Attention Rebel Scum:</U></B></FONT>
<FONT SIZE="1"><P><BR><STRONG> Your position has been compromised.</STRONG></P>
<P><BR> <STRONG> All Terrain Armoured Transports will promptly destroy you and shut down your planetary shield generator while Snowtroopers will purge any surviving Rebel scum.</STRONG></P>
<P><BR> <STRONG> Accept defeat, for it is inevitable.</STRONG></P>
<P><BR> <STRONG><I>Compliments of Major General Maximilian Veers.</I></STRONG></P>
</FONT></FONT></FONT></CENTER> <HR> <HR> <HR> <HR></BODY></HTML>
|
|
|
Post by The Dark Master on Mar 21, 2009 14:37:46 GMT -5
What happens if i try adding the script for pg into it....?
|
|
|
Post by artik on Mar 21, 2009 17:15:08 GMT -5
I left something in Sandbox 2.... DON'T LOOK AT IT!!!
|
|
|
Post by General Veers on Mar 21, 2009 23:09:05 GMT -5
It's a good thing I kept a copy of what I had in Sandbox 2 in this thread. The same goes for Sandbox 3...
It turns out you edited .oZone's Sandbox, too. You'll be in BIG trouble, especially since there was no copy of his sandbox in this thread...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
<head> <title>Imperial Engineers' Workstation - Index</title> </head>
<body bgcolor="black"> <center> <font color="grey"> <b><font size="20">Imperial Engineers' Workstation</font></b> <hr width="100%"> <p>Welcome to Imperial Engineers' Workstation, a public online web page editing service for Imperial officers and engineers. We provide Imperial engineers with several free, public 'sandboxes' that can be edited using any CSS, HTML, or Javascript available. As this is a public service, we ask that you follow Imperial regulations. You may use these for testing purposes or for casual experimentation, but we cannot and will not guarantee that any edited sandbox will remain as you last left it. The maker of this website and his superiors under no circumstances assume responsibilities for any damage caused to anything and/or anyone, whether it be physical, social, emotional, or mental. There is always a chance that Rebel scum accessed these sandboxes and loaded a page with offensive content, so proceed at your own risk.</p> <p>You have been warned.</p> <p>We do wish for you to enjoy our service, however, so thank you for visiting.</p>
<hr width="100%">
<br> <br> <table border="2" width="75%"> <tbody> <tr> <td><center><p><b>Sandbox 1</b></p> <p><a href="enterit1.php">Edit</a></p> <p><a href="readit1.php">View</a></p>
</center></td> <td><center><p><b>Sandbox 2</b></p> <p><a href="enterit2.php">Edit</a></p> <p><a href="readit2.php">View</a></p> </center></td> <td><center><p><b>Sandbox 3</b></p> <p><a href="enterit3.php">Edit</a></p>
<p><a href="readit3.php">View</a></p> </center></td> </tr> </tbody> </table> <br> <br> <hr width="100%"> All content belongs to its respective owner. Website coding and design is copyright 2008, Heartbeat Gaming. All rights reserved. By using this service you agree to be held accountable for any damage done to any other Imperial as a result of your actions.
<hr width="100%"> </font></center> </body> </html>
|
|
|
Post by TBP on Mar 21, 2009 23:37:07 GMT -5
=D That is so fun! I know squat about html or w/e though o.e
|
|
|
Post by General Veers on Mar 21, 2009 23:39:13 GMT -5
Oddly enough, same here: I'm simply experimenting with foreign languages...
|
|
|
Post by TBP on Mar 21, 2009 23:43:11 GMT -5
LOL I like what you did to sandbox 3, i thought the actual site page had changed for a second, lol xD
I edited sandbox 2 o.e Ahhh
|
|
|
Post by General Veers on Mar 21, 2009 23:59:10 GMT -5
Alright, I perfected Sandbox 3 to keep an Imperial color scheme... For some reason, it wouldn't accept hexadecimal codes for colors, only words... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
<head> <style type="text/css"><!-- A:link { color: blue; } A:visited { color: white; } A:hover { color: blue; } --></style> <title>Imperial Engineers' Workstation - Index</title> </head>
<body bgcolor="black"> <center> <font color="grey"> <b><font size="20">Imperial Engineers' Workstation</font></b> <hr width="100%"> <p>Welcome to Imperial Engineers' Workstation, a public online web page editing service for Imperial officers and engineers. We provide Imperial engineers with several free, public 'sandboxes' that can be edited using any CSS, HTML, or Javascript available. As this is a public service, we ask that you follow Imperial regulations. You may use these for testing purposes or for casual experimentation, but we cannot and will not guarantee that any edited sandbox will remain as you last left it. The maker of this website and his superiors under no circumstances assume responsibilities for any damage caused to anything and/or anyone, whether it be physical, social, emotional, or mental. There is always a chance that Rebel scum accessed these sandboxes and loaded a page with offensive content, so proceed at your own risk.</p> <p>You have been warned.</p> <p>We do wish for you to enjoy our service, however, so thank you for visiting.</p>
<hr width="100%">
<br> <br> <table border="2" width="75%"> <tbody> <tr> <td><center><p><b>Sandbox 1</b></p> <p><a href="enterit1.php">Edit</a></p> <p><a href="readit1.php">View</a></p>
</center></td> <td><center><p><b>Sandbox 2</b></p> <p><a href="enterit2.php">Edit</a></p> <p><a href="readit2.php">View</a></p> </center></td> <td><center><p><b>Sandbox 3</b></p> <p><a href="enterit3.php">Edit</a></p>
<p><a href="readit3.php">View</a></p> </center></td> </tr> </tbody> </table> <br> <br> <hr width="100%"> All content belongs to its respective owner. Website coding and design is copyright 2008, Heartbeat Gaming. All rights reserved. By using this service you agree to be held accountable for any damage done to any other Imperial as a result of your actions.
<hr width="100%"> </font></center> </body> </html>
|
|