PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : 600 کدجاوا


BOOGATY
Saturday 26 September 2009-1, 03:47 PM
این هم اولیش یه ماشین حساب ساده:

<!-- TWO STEPS TO INSTALL 5 FUNCTION CALCULATOR:

1. Paste the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Original: Rick Johnson -->
<!-- Web Site: -->

<!--Total Java Scripts 99 - Next Step Software-->

<!-- Begin
function a_plus_b(form) {
a=eval(form.a.value)
b=eval(form.b.value)
c=a+b
form.ans.value = c
}
function a_minus_b(form) {
a=eval(form.a.value)
b=eval(form.b.value)
c=a-b
form.ans.value=c
}
function a_times_b(form) {
a=eval(form.a.value)
b=eval(form.b.value)
c=a*b
form.ans.value=c
}
function a_div_b(form) {
a=eval(form.a.value)
b=eval(form.b.value)
c=a/b
form.ans.value = c
}
function a_pow_b(form) {
a=eval(form.a.value)
b=eval(form.b.value)
c=Math.pow(a, b)
form.ans.value = c
}
// End -->
</SCRIPT>

<!-- STEP TWO: Put this code into the BODY of your HTML document -->

<BODY>
<CENTER>
<FORM name="formx"><input type=text size=4 value=12 name="a">
<input type="button" value=" + " onClick="a_plus_b(this.form)">
<input type="button" value=" - " onClick="a_minus_b(this.form)">
<input type="button" value=" x " onClick="a_times_b(this.form)">
<input type="button" value=" / " onClick="a_div_b(this.form)">
<input type="button" value=" ^ " onClick="a_pow_b(this.form)">
<input type="number" size=4 value=3 name="b"> = <input type "number" value=0 name="ans" size=9>
</FORM>
</CENTER>

<!-- Script Size: 1.72 KB -->

BOOGATY
Saturday 26 September 2009-1, 03:57 PM
این هم یه پیام باکس که شما می تونین پیام خودتونو توش بذارین :

فقط به جای این جمله(( This is a message ))>>خط 12 هم<< و سه جمله ی بعد از آنجمله خودتان را بذارید


<script language="JavaScript">
<!-- begin
var max=0;
function textlist()
{
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];
}
tl=new textlist
(
"This is a message",
"Another one",
"And this will be the third",
"And the fourth is the last !"



);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l) { pos=0; setTimeout("textticker()",1000); x++;
if(x==max) x=0; l=tl[x].length; } else
setTimeout("textticker()",50);
}
// end -->
</script>
<head>
<body onLoad="textticker()" >

<form name="tickform"><input type=text name="tickfield" size=40></form>

BOOGATY
Saturday 26 September 2009-1, 04:13 PM
این هم متن متحرک .
فقط باید دنبال قسمت <BEGIN> بگردید و بعد از آن بجای اینوشته(((Total JavaScript 99, another marvelous use of bandwidth - Next Step)) متن خود را قرار دهید.


<!-- ONE STEP TO INSTALL MARQUEE SCROLL:

1. Paste the coding into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the BODY of your HTML document -->
<html>

<head>
<title>E:\scrolls\flasher_.htm</title>
</head>

<body>
<script LANGUAGE="JavaScript">

<!--Total Java Scripts 99 - Next Step Software-->

<!-- Original: -->

<!-- Begin
mesg = "Total JavaScript 99, another marvelous use of bandwidth - Next Step!";
isNS = (navigator.appName == "Netscape")
isIE = (navigator.appName == "Microsoft Internet Explorer")
text = ("<i><font size=2>"+mesg+"</font></i>")
if (isNS) {
document.write("<blink>" + text + "</blink>")}
else if (isIE) {
document.write("<MARQUEE BEHAVIOR=ALTERNATE DIRECTION=RIGHT>" + text + "</MARQUEE>")}
// End -->
</script>
<NOSCRIPT>
<i><font size="2">

<p>The JavaScript Source, another marvelous use of bandwidth!</font></i> </NOSCRIPT> <!-- Script Size: 1.00 KB --> </p>
</body>
</html>

BOOGATY
Saturday 26 September 2009-1, 07:21 PM
لینکی که بارفتن موس بر روی آن لینک خودبه خود باز می شود

<script language="JavaScript">
<!-- vor alten Browsern verstecken copyright Arnold Schiller
function msgopen() {
fenster = open("", "Welcome", "scrollbar=yes,width=400,height=200");
fenster.document.open();
with (fenster.document) {
write("<html><base target='Frame 0'><body onBlur='window.close()'>");//Frame0 is name of the display change it, if //necessary
write("Hi There! <BR>");
write(" Here's a quick way to get another window up here.<BR>");
write("<A HREF=''>><BR>");
write("<P>Close the window to grab the script.<BR>");
write("</body></html>");
}
fenster.document.close();
}


// -->

</script>

<a href="" onMouseover="msgopen()">Open the message window on Mouseover</a>

hiss
Saturday 26 September 2009-1, 07:51 PM
با سلام
دوست عزیز با تشکر از پست های خوبتان
شم باید در این انجمن ارسال کنید

ممنون