PDA

View Full Version : my codes that i made


Chris1-1
04-26-2007, 11:28 AM
ps. the buttons or some may not work please dont panic im only 10 im a beginner.
This is the welcome message when ever some one comes to your site a pop up comes and say welcome change 'welcome to the demon web site' to what ever you want.

<body>


<script language="JavaScript" TYPE="Text/Javascript">
<!--start hiding javascript statments
window.alert ('welcome to the demon web site');
// End hiding JavaScript statments -->
</Script>


</body>


</HTML>

The www.hickpad.piczo.com (http://www.hickpad.piczo.com) is my website change it to your.Basically it puts this password protection on your site please scan the codes

<HTML>

<HEAD>

<TITLE> Script 4.16 - a simple password-protection example
</TITLE>


<SCRIPT LANGUAGE="javascript" TYPE="text/javascript">

<!-- Start hiding Javascript statements
function Load the URL () {
document.location.href = "http://hickpad.piczo.com/" +
document.myForm.psswdFeild.value + ".html";
}
//end hiding Javascript statemnets -->
</SCRIPT>

</HEAD>

<BODY>
<B>this is the message you want to tell people:</B>
<FORM action="password feild" enctype="application/x-www-form-urlencoded" NAME="my form">
<INPUT NAME="psswdFeild" TYPE="password" size="15">
<INPUT NAME="login" TYPE="button" value="login"
onClick="LoadTheURl ()">
</FORM>


this is my website which is in progress


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- DW6 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link rel="stylesheet" href="emx_nav_left.css" type="text/css">
<script type="text/javascript">
<!--
var time = 3000;
var numofitems = 7;
//menu constructor
function menu(allitems,thisitem,startstate){
callname= "gl"+thisitem;
divname="subglobal"+thisitem;
this.numberofmenuitems = 7;
this.caller = document.getElementById(callname);
this.thediv = document.getElementById(divname);
this.thediv.style.visibility = startstate;
}
//menu methods
function ehandler(event,theobj){
for (var i=1; i<= theobj.numberofmenuitems; i++){
var shutdiv =eval( "menuitem"+i+".thediv");
shutdiv.style.visibility="hidden";
}
theobj.thediv.style.visibility="visible";
}

function closesubnav(event){
if ((event.clientY <48)||(event.clientY > 107)){
for (var i=1; i<= numofitems; i++){
var shutdiv =eval('menuitem'+i+'.thediv');
shutdiv.style.visibility='hidden';
}
}
}
// -->
</script>
</head>
<body onmousemove="closesubnav(event);">
<div class="skipLinks">skip to: <a href="#content">page content</a> | <a href="pageNav">links on this page</a> | <a href="#globalNav">site navigation</a> | <a href="#siteInfo">footer (site information)</a> </div>
<div id="masthead">
<h1 id="siteName">chris's site </h1>
<div id="utility">
<a href="#">Utility Link</a> | <a href="#">Utility Link</a> | <a href="#">Utility
Link</a>
</div>
<div id="globalNav">
<img alt="" src="gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="glbnav_right.gif" height="32" width="4" id="gnr">
<div id="globalLink">
<a href="#" id="gl1" class="glink" onmouseover="ehandler(event,menuitem1);">www.freewebs.com/stickrpgforums
</a><a href="#" id="gl2" class="glink" onmouseover="ehandler(event,menuitem2);">www.bloodluke007.piczo.com
</a><a href="#" id="gl3" class="glink" onmouseover="ehandler(event,menuitem3);">www.crazymonkeygames.com
</a><a href="#" id="gl4" class="glink" onmouseover="ehandler(event,menuitem4);">www.runscape.com
</a><a href="#" id="gl5" class="glink" onmouseover="ehandler(event,menuitem5);">www.worldofwarcraft.com
</a><a href="#" id="gl6" class="glink" onmouseover="ehandler(event,menuitem6);">www.gaiaonline.com
</a><a href="#" id="gl7" class="glink" onmouseover="ehandler(event,menuitem7);">www.hickpad.piczo.com
</a>
</div>
<!--end globalLinks-->
<form id="search" action="">
<input name="searchFor" type="text" size="10">
<a href="">search</a>
</form>
</div>
<!-- end globalNav -->
<div id="subglobal1" class="subglobalNav">
<a href="#">subglobal1 link</a> | <a href="#">subglobal1 link</a> | <a href="#">subglobal1
link</a> | <a href="#">subglobal1 link</a> | <a href="#">subglobal1 link</a> | <a href="#">subglobal1
link</a> | <a href="#">subglobal1 link</a>
</div>
<div id="subglobal2" class="subglobalNav">
<a href="#">subglobal2 link</a> | <a href="#">subglobal2 link</a> | <a href="#">subglobal2
link</a> | <a href="#">subglobal2 link</a> | <a href="#">subglobal2 link</a> | <a href="#">subglobal2
link</a> | <a href="#">subglobal2 link</a>
</div>
<div id="subglobal3" class="subglobalNav">
<a href="#">subglobal3 link</a> | <a href="#">subglobal3 link</a> | <a href="#">subglobal3
link</a> | <a href="#">subglobal3 link</a> | <a href="#">subglobal3 link</a> | <a href="#">subglobal3
link</a> | <a href="#">subglobal3 link</a>
</div>
<div id="subglobal4" class="subglobalNav">
<a href="#">subglobal4 link</a> | <a href="#">subglobal4 link</a> | <a href="#">subglobal4
link</a> | <a href="#">subglobal4 link</a> | <a href="#">subglobal4 link</a> | <a href="#">subglobal4
link</a> | <a href="#">subglobal4 link</a>
</div>
<div id="subglobal5" class="subglobalNav">
<a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5
link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5
link</a> | <a href="#">subglobal5 link</a>
</div>
<div id="subglobal6" class="subglobalNav">
<a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6
link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6
link</a> | <a href="#">subglobal6 link</a>
</div>
<div id="subglobal7" class="subglobalNav">
<a href="#">subglobal7 link</a> | <a href="#">subglobal7 link</a> | <a href="#">subglobal7
link</a> | <a href="#">subglobal7 link</a> | <a href="#">subglobal7 link</a> | <a href="#">subglobal7
link</a> | <a href="#">subglobal7 link</a>
</div>
<div id="subglobal8" class="subglobalNav">
<a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8
link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8
link</a> | <a href="#">subglobal8 link</a>
</div>
</div>
<!-- end masthead -->
<div id="pagecell1">
<!--pagecell1-->
<img alt="" src="tl_curve_white.gif" height="6" width="6" id="tl"> <img alt="" src="tr_curve_white.gif" height="6" width="6" id="tr">
<div id="breadCrumb">
<a href="#">Breadcrumb</a> / <a href="#">Breadcrumb</a> / <a href="#">Breadcrumb</a> /
</div>
<div id="pageName">
<h2>Page Name</h2>
<img alt="small logo" src="" height="59" width="66"/>
</div>
<div id="pageNav">
<div id="sectionLinks">
<a href="#">Section Link</a> <a href="#">Section Link</a> <a href="#">Section
Link</a> <a href="#">Section Link</a> <a href="#">Section Link</a> <a href="#">Section
Link</a>
</div>
<div class="relatedLinks">
<h3>Related Link Category</h3>
<a href="#">Related Link</a> <a href="#">Related Link</a> <a href="#">Related
Link</a> <a href="#">Related Link</a> <a href="#">Related Link</a> <a href="#">Related
Link</a>
</div>
<div class="relatedLinks">
<h3>Related Link Category</h3>
<a href="#">Related Link</a> <a href="#">Related Link</a> <a href="#">Related
Link</a> <a href="#">Related Link</a> <a href="#">Related Link</a> <a href="#">Related
Link</a>
</div>
<div id="advert">
<img src="" alt="" width="107" height="66" /> Advertisement copy goes here.
Advertisement copy goes here.
</div>
</div>
<div id="content">
<div class="feature">
<img src="" alt="" width="280" height="200">
<h3>&nbsp;</h3>
</div>
<div class="story">
<h3>&nbsp;</h3>
<p>&nbsp;
</p>
</div>
<div class="story"> </div>
</div>
<div id="siteInfo">
<img src="" width="44" height="22"> <a href="#">About Us</a> | <a href="#">Site
Map</a> | <a href="#">Privacy Policy</a> | <a href="#">Contact Us</a> | &copy;2003
Company Name
</div>
</div>
<!--end pagecell1-->
<br>
<script type="text/javascript">
<!--
var menuitem1 = new menu(7,1,"hidden");
var menuitem2 = new menu(7,2,"hidden");
var menuitem3 = new menu(7,3,"hidden");
var menuitem4 = new menu(7,4,"hidden");
var menuitem5 = new menu(7,5,"hidden");
var menuitem6 = new menu(7,6,"hidden");
var menuitem7 = new menu(7,7,"hidden");
// -->
</script>
</body>
</html>




please leave a comment or bugs in the script

Matt
04-26-2007, 11:50 AM
This is the FLASH game dev. Plus there are about a billion scripts for those exact things everywhere.

Max
04-26-2007, 06:07 PM
I know matt said this already, but this is the flash dev section of the forums, web development and coding doesn't belong here.

arkhan
04-27-2007, 05:27 AM
exept of course if its eighter flash or game development related..

Chris1-1
04-27-2007, 08:54 AM
oops were does it go

LizardRob
04-27-2007, 03:46 PM
oops were does it go
That's a good question, there isn't really a good place to put that kind of code...

medhopz
04-27-2007, 04:21 PM
oops were does it go


take the s down from your post and it soes belong here...kinda...

Homakruz
04-28-2007, 07:13 PM
This is the FLASH game dev. Plus there are about a billion scripts for those exact things everywhere.

I know matt said this already, but this is the flash dev section of the forums, web development and coding doesn't belong here

If that true Matt and Max...
Then why does Matt always post his new website layouts here?

I know they are associated by having flash in them, but nothing really on the development of flash except for poor graphics and simple gotoAndStop() functions, so by posting the layouts you are just posting threads on web development not flash GAME DEV. By your words there is no reason that you should be posting them except to try and get your site more publicity. Plus, since most of the threads here are not about game development just flash questions, and the occasional PHP and mySQL questions, I think it is quite alright for him to post this topic here even though it has nothing to do with flash, it has something to do with programming in a language which some of the people here can probably help with.

Now to get back on topic, Chris...
Please don't take credit of the hard work of others, I know that is not your code because the link in the bottom code takes you directly to a page that has this;

-------------------
Authors:
Dave Raggett <dsr@w3.org>
Arnaud Le Hors <lehors@w3.org>
Ian Jacobs <ij@w3.org>
----------------------


~Homakruz

Matt
04-28-2007, 07:36 PM
Alright, point taken.

Insane Knux
04-30-2007, 10:17 PM
Matt got served. :D

I agree, these codes were indeed stolen.
We don't take kindly to liars at xGen...

Jacob
05-02-2007, 07:03 PM
Now to get back on topic, Chris...
Please don't take credit of the hard work of others, I know that is not your code because the link in the bottom code takes you directly to a page that has this;

-------------------
Authors:
Dave Raggett <dsr@w3.org>
Arnaud Le Hors <lehors@w3.org>
Ian Jacobs <ij@w3.org>
----------------------

~Homakruz

Most properly formatted web documents have that link because its within the DOCTYPE tag. This is the document type declaration and is used to give the browser some info it may need to render the page properly. In fact, its supposed to be in many of your documents. The link is just a link back to w3.org, a group of international developers that created the standards used in that particular language (they develop a lot of web standards). In fact, just view the source on this very page, and you'll see a w3.org link.

So dont consider a w3.org link to mean that a person stole the source from somewhere. It's standard. (Thats not to say he didnt steal that source - its possible of course).

Chris1-1
05-03-2007, 08:15 AM
i didnt know some else made them too i might be 500 billionth person i didnt know 500 BILLION PEOPLE MADE IT!!!!!!!!!!!!!!!!!!!!!!!!!!!
edit: ww.w3.org thing i used a template and i done the website up a bit