دوست عزیز، به سایت علمی نخبگان جوان خوش آمدید

مشاهده این پیام به این معنی است که شما در سایت عضو نیستید، لطفا در صورت تمایل جهت عضویت در سایت علمی نخبگان جوان اینجا کلیک کنید.

توجه داشته باشید، در صورتی که عضو سایت نباشید نمی توانید از تمامی امکانات و خدمات سایت استفاده کنید.
صفحه 3 از 9 نخستنخست 123456789 آخرینآخرین
نمایش نتایج: از شماره 21 تا 30 , از مجموع 87

موضوع: کدهای جاوا اسکریپ

  1. #21
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 21 کد اتوماتیک صفحه را ماکزیمم می کند

    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!-- START OF Window Auto Maximize DHTML -->
    
    
    <!-- SUMMARY BRIEF
    
    	This code will automatically maximize the
    	browser window when the page is loaded.
    
    -->
    
    
    <!-- Put this code inside of your <HEAD> tag. -->
    
    
    <script language="JavaScript1.2">
    <!--
    
    top.window.moveTo(0,0);
    if (document.all) {
    top.window.resizeTo(screen.availWidth,screen.availHeight);
    }
    else if (document.layers||document.getElementById) {
    if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
    top.window.outerHeight = screen.availHeight;
    top.window.outerWidth = screen.availWidth;
    }
    }
    
    //-->
    </script>
    
    
    <!-- END OF Window Auto Maximize DHTML -->
    uody

  2. #22
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 22 کد پرش به بالای صفحه


    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!-- START OF Watermark Jump to Top Link DHTML -->
    
    
    <!-- SUMMARY BRIEF
    
    	This DHTML script will put a small watermark
    	link in the bottom right corner of your page
    	that will stay there even when the page scrolls.
    	This link will always take the user back to
    	the top of the page.
    
    -->
    
    
    <!-- Put this portion of the script inside of your <HEAD> tag -->
    
    
    <script>
    <!--
    
    // Change this text to the text that you want to be displayed as the link on your page.
    
    var displayed="<nobr><font size=2 face=Arial><b>[Top]</b></font></nobr>"
    
    // === DO NOT EDIT ANYTHING BELOW THIS LINE!!! === //
    
    var logolink='javascript:window.scrollTo(0,0)'
    var ns4=document.layers
    var ie4=document.all
    var ns6=document.getElementById&&!document.all
    
    function regenerate(){
    window.location.reload()
    }
    function regenerate2(){
    if (ns4)
    setTimeout("window.onresize=regenerate",400)
    }
    
    if (ie4||ns6)
    document.write('<span id="logo" style="position:absolute;top:-300;z-index:100">'+displayed+'</span>')
    
    function createtext(){ //function for NS4
    staticimage=new Layer(5)
    staticimage.left=-300
    staticimage.document.write('<a href="'+logolink+'">'+displayed+'</a>')
    staticimage.document.close()
    staticimage.visibility="show"
    regenerate2()
    staticitns()
    }
    
    function staticit(){ //function for IE4/ NS6
    var w2=ns6? pageXOffset+w : document.body.scrollLeft+w
    var h2=ns6? pageYOffset+h : document.body.scrollTop+h
    crosslogo.style.left=w2
    crosslogo.style.top=h2
    }
    
    function staticit2(){ //function for NS4
    staticimage.left=pageXOffset+window.innerWidth-staticimage.document.width-28
    staticimage.top=pageYOffset+window.innerHeight-staticimage.document.height-10
    }
    
    function inserttext(){ //function for IE4/ NS6
    if (ie4)
    crosslogo=document.all.logo
    else if (ns6)
    crosslogo=document.getElementById("logo")
    crosslogo.innerHTML='<a href="'+logolink+'">'+displayed+'</a>'
    w=ns6? window.innerWidth-crosslogo.offsetWidth-20 : document.body.clientWidth-crosslogo.offsetWidth-10
    h=ns6? window.innerHeight-crosslogo.offsetHeight-15 : document.body.clientHeight-crosslogo.offsetHeight-10
    crosslogo.style.left=w
    crosslogo.style.top=h
    if (ie4)
    window.onscroll=staticit
    else if (ns6)
    startstatic=setInterval("staticit()",100)
    }
    
    if (ie4||ns6){
    window.onload=inserttext
    window.onresize=new Function("window.location.reload()")
    }
    else if (ns4)
    window.onload=createtext
    
    function staticitns(){ //function for NS4
    startstatic=setInterval("staticit2()",90)
    }
    
    //-->
    </script>
    
    
    <!-- END OF Watermark Jump to Top Link DHTML -->
    uody

  3. #23
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 23 کد منوی زیبایی که همیشه همراهتان است

    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!-- START OF Watermark Navigation Menu DHTML -->
    
    
    <!-- SUMMARY BRIEF
    
    	This DHTML script will make a navigation menu
    	that will follow your screen as you scroll,
    	kind of like the old Geocities™ watermark.
    
    	Look through the code for comments that will
    	tell you where to change the code to configure
    	it how you want in order to display the links
    	that you want.
    
    -->
    
    
    <!-- Put this code inside of your <HEAD> tag. -->
    
    
    <STYLE TYPE="text/css">
    <!--
    
    .menuheader {
    	BORDER-COLOR : #000000 ;
    	cursor : hand ;
    	Border-Left : #000000 ;
    	Border-Top : #000000 ;
    	Padding-Left : 1px ;
    	Padding-Top : 1px ;
    	Background-Color : #000000 ;
    }
    
    .menu {
    	Background-Color : white ;
    }
    
    .home {
    	cursor : hand ;
    }
    
    .menulinks {
    	text-decoration:none;
    }
    
    //-->
    </STYLE>
    
    
    <!-- Put this code inside of your <BODY> tag on your page, but OUTSIDE of any other tags. This can NOT be inside of any other tags on your page. -->
    
    
    <SCRIPT Language="Javascript1.2">
    <!--
    
    ///////////////////////////////////////////////////////////////
    // Change the width and placement of the menu on the page below.
    ///////////////////////////////////////////////////////////////
    
    var menuwidth=110
    var offsetleft=10
    var offsettop=10
    
    var ns4=document.layers?1:0
    var ie4=document.all?1:0
    var ns6=document.getElementById&&!document.all?1:0
    
    function makeStatic() {
    if (ie4) {object1.style.pixelTop=document.body.scrollTop+offsettop}
    else if (ns6) {document.getElementById("object1").style.top=window.pageYOffset+offsettop}
    else if (ns4) {eval(document.object1.top=eval(window.pageYOffset+offsettop));}
    setTimeout("makeStatic()",0);
    }
    
    if (ie4||ns6) {document.write('<span ALIGN="CENTER" ID="object1" STYLE="Position:absolute; Top:20; Left:'+offsetleft+'; Z-Index:5;cursor:hand;background-color:black;"><TABLE BORDER="1" width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="black" bgcolor="white">')}
    else if (ns4){ document.write('<LAYER top="20" name="object1" left="'+offsetleft+'" BGCOLOR=black><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" width="'+menuwidth+'">')}
    
    ///////////////////////////////////////////////////////////////
    // Change the name of the menu (the text at the top) below.
    // You can also shange the font face, size and border colors.
    ///////////////////////////////////////////////////////////////
    
    if (ie4||ns6||ns4)
    document.write('<TR><TD BGCOLOR="#3399FF" BORDERCOLORDARK="#99CCFF" BORDERCOLORLIGHT="#003399"><P ALIGN=CENTER><FONT SIZE="4" FACE=ARIAL>Navigation</FONT></TD></TR>')
    
    var menui = new Array();
    var menul = new Array();
    
    ///////////////////////////////////////////////////////////////
    // Edit menus listing here. You can make as many as you need,
    // just make sure that the numbers go up in order correctly.
    // The "menui" variables are the actual link text that will
    // show up in the menu. The "menul" variables are the URLs
    // that match the text displayed there.
    ///////////////////////////////////////////////////////////////
    
    menui[0]="CoffeeCup Software";
    menui[1]="CoffeeCup HTML Editor";
    menui[2]="CoffeeCup Help Site";
    menui[3]="CoffeeCup Site Map";
    menui[4]="Other CoffeeCup Products";
    menui[5]="Bob & Larry\'s Free Stuff";
    menui[6]="About CoffeeCup Software";
    menui[7]="Bluedomino Webhosting";
    
    menul[0]="http://www.webloger.5u.com";
    menul[1]="http://www.webloger.5u.com";
    menul[2]="http://www.webloger.5u.com";
    menul[3]="http://www.webloger.5u.com";
    menul[4]="http://www.webloger.5u.com";
    menul[5]="http://www.webloger.5u.com";
    menul[6]="http://www.webloger.5u.com";
    menul[7]="http://www.webloger.5u.com";
    
    for (i=0;i<=menui.length-1;i++)
    
    ///////////////////////////////////////////////////////////////
    // You can change table cell background colors below.
    // Just change the color names to whatever you want,
    // but do NOT change any other code.
    ///////////////////////////////////////////////////////////////
    
    if (ie4||ns6) {document.write('<TR><TD BORDERCOLOR="white" ONCLICK="location=\''+menul[i]+'\'" onmouseover="className=\'menuheader\'" onMouseout="className=\'menu\'"><CENTER><FONT>'+menui[i]+'</FONT></TD></TR>')}
    else if (ns4){document.write('<TR><TD BGCOLOR="white"><ILAYER><LAYER width="'+menuwidth+'" onmouseover="bgColor=\'yellow\'" onmouseout="bgColor=\'white\'"><CENTER><A HREF="'+menul[i]+'" class=menulinks>'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}
    
    if (ie4||ns6) {document.write('</TABLE></span>')}
    else if (ns4){document.write('</TABLE></TD></TR></TABLE></LAYER>')}
    
    function menu3(){
    if (ns6||ie4||ns4)
    makeStatic()
    }
    
    window.onload=menu3
    
    //-->
    </SCRIPT>
    
    
    <!-- END OF Watermark Navigation Menu DHTML -->
    uody

  4. #24
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 24 کد نمایش متن دلخاه به دور موس

    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!-- START OF Mouse Cursor Text Trailer DHTML -->
    
    
    <!-- SUMMARY BRIEF
    
    	This DHTML script will make a text message follow
    	your cursor around the screen. You can change the
    	message to say whatever you want.
    
    	You can change the font face, color and size in
    	the .trailersytle tag below. You can change the message
    	in the javascript below that. Just look for the 
    	comment that says "Insert your personal message below."
    
    -->
    
    
    <!-- Put this portion of the script inside of your <HEAD> tag -->
    
    
    <style>
    .trailerstyle {
    	position: absolute;
    	visibility: visible;
    	top: -50px;
    	font-size: 12px;
    	font-family: Arial,Helvetica,Verdana;
          	font-weight: bold;
    	color: #000000;
    }
    </style>
    
    <script>
    <!--
    
    var x,y
    var step=20
    var flag=0
    
    // Insert your personal message below.
    // Important: Do NOT remove the space at the end of the sentence!!!
    
    var message=" www.webloger.5u.com "
    message=message.split("")
    
    var xpos=new Array()
    for (i=0;i<=message.length-1;i++) {
    	xpos[i]=-50
    }
    
    var ypos=new Array()
    for (i=0;i<=message.length-1;i++) {
    	ypos[i]=-50
    }
    
    function handlerMM(e){
    	x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
    	y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
    	flag=1
    }
    
    function mousetrailer() {
    	if (flag==1 && document.all) {
        	for (i=message.length-1; i>=1; i--) {
       			xpos[i]=xpos[i-1]+step
    			ypos[i]=ypos[i-1]
        	}
    		xpos[0]=x+step
    		ypos[0]=y
    	
    		for (i=0; i<message.length-1; i++) {
        		var thisspan = eval("span"+(i)+".style")
        		thisspan.posLeft=xpos[i]
    			thisspan.posTop=ypos[i]
        	}
    	}
    	
    	else if (flag==1 && document.layers) {
        	for (i=message.length-1; i>=1; i--) {
       			xpos[i]=xpos[i-1]+step
    			ypos[i]=ypos[i-1]
        	}
    		xpos[0]=x+step
    		ypos[0]=y
    	
    		for (i=0; i<message.length-1; i++) {
        		var thisspan = eval("document.span"+i)
        		thisspan.left=xpos[i]
    			thisspan.top=ypos[i]
        	}
    	}
    		var timer=setTimeout("mousetrailer()",30)
    }
    
    //-->
    </script>
    
    
    <!-- Put this code inside of your <BODY> tag. -->
    
    
    <script>
    <!--
    
    for (i=0;i<=message.length-1;i++) {
        document.write("<span id='span"+i+"' class='trailerstyle'>")
    	document.write(message[i])
        document.write("</span>")
    }
    
    if (document.layers){
    	document.captureEvents(Event.MOUSEMOVE);
    }
    document.onmousemove = handlerMM;
    
    //-->
    </script>
    
    
    <!-- Lastly, insert the following into the <BODY> tag, itself, just like the example that follows. -->
    
    
    example:
    <body onLoad="mousetrailer()" style="width:100%;overflow-x:hidden;overflow-y:scroll">
    
    
    <!-- END OF Mouse Cursor Text Trailer DHTML -->
    uody

  5. #25
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 25 کد تغییر رنگ پشت صفحه

    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!-- Background Changer
    Just make sure you add your Title before this script.
    If you change the last line in will give you the rest
    of the information for your page (link color,text etc.)
    Play with the colors !-->
    
    
    <script>
    // Modified by CoffeeCup Software
    
    function initArray() 
    {
      this.length = initArray.arguments.length
      for (var i = 0; i < this.length; i++)
        this[i+1] = initArray.arguments[i]
    }
    
    var hexChars = "0123456789ABCDEF";
    
    function Dec2Hex (Dec) 
    {
      var a = Dec % 16;
      var b = (Dec - a)/16;
      hex = "" + hexChars.charAt(b) + hexChars.charAt(a);
      return hex;
    }
    
    function bgChanger (begin, end, steps) 
    {
      steps = steps -1 ;
    
      redA     = begin.charAt(0) + begin.charAt(1);
      red_valA = parseInt(redA,'16');
      redB     = end.charAt(0) + end.charAt(1);
      red_valB = parseInt(redB,'16');
      red_int  = ((red_valB - red_valA) / steps) * -1;
      grnA     = begin.charAt(2) + begin.charAt(3);
      grn_valA = parseInt(grnA,'16');
      grnB     = end.charAt(2) + end.charAt(3);
      grn_valB = parseInt(grnB,'16');
      grn_int  = ((grn_valB - grn_valA) / steps) * -1;
      bluA     = begin.charAt(4) + begin.charAt(5);
      blu_valA = parseInt(bluA,'16');
      bluB     = end.charAt(4) + end.charAt(5);
      blu_valB = parseInt(bluB,'16');
      blu_int  = ((blu_valB - blu_valA) / steps) * -1;
    
      step = 2;
      red = red_valA;
      grn = grn_valA;
      blu = blu_valA;
    
      document.bgColor = begin;
    
      while ( steps >= step ) 
      {
        red -= red_int;
        red_round = Math.round(red);
        red_hex = Dec2Hex(red);
    
        grn -= grn_int;
        grn_round = Math.round(grn);
        grn_hex = Dec2Hex(grn);
    
        blu -= blu_int;
        blu_round = Math.round(blu);
        blu_hex = Dec2Hex(blu);
    
        document.bgColor = red_hex + grn_hex + blu_hex;
    
        step++;
      }
      document.bgColor = end;
    }
    
    </script>
    </head>
    <body bgcolor=#000000 text=#FFFFFF link="FF0000" vlink="8888FF" alink="FF00FF">
    <script>
    <!-- 
    // black to black (pause)
      bgChanger("000000","000000",25);
    // black to red
      bgChanger("000000","FF0000",25);
    // red to black
      bgChanger("FF0000","000000",25);
    // black to purple 
      bgChanger("000000","AA00EE",25);
    // purple to black
      bgChanger("AA00EE","000000",25);
    // black to blue
      bgChanger("000000","0000FF",25);
    // blue to black
      bgChanger("0000FF","000000",25);
    // black to black (pause)
      bgChanger("000000","000000",25);
    // -->
    </script>
    </head>
    <body>
    <BODY BGCOLOR=000000 text="#ffffff" link="#0000ff" vlink="#c00c0">
    
    <CENTER><H2>khafankade</CENTER></H2>
    uody

  6. #26
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 26 کد ایجاد لینک زیر شاخه ای


    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!-- This script opens a separate window for the locations you give it.
    Pages are neat but pictures make a cool photo album. Change the 
    attributes that read menubar=0,toolbar=0, etc... and Width & Height 
    to meet your needs.  Make sure you place the URL's you want to go 
    to and their names below.-->
    
    <script language="JavaScript">
    <!-- Hide the script from old browsers --
    function surfto(form) 
    {
      var myindex=form.dest.selectedIndex
      window.open(form.dest.options[myindex].value,"main","menubar=1,toolbar=0,location=0,directories=0,status=1,copyhistory=0,width=235,height=235");
    }
    //-->
    </SCRIPT>
    <CENTER>
    <FORM NAME="myform">
      <SELECT NAME="dest" SIZE=1>
        <OPTION VALUE="http://www.coffeecup.com">CoffeeCup Software
        <OPTION VALUE="http://www.tmcm.com">Too Much Coffee Man
        <OPTION VALUE="http://www.netscape.com">Netscape
        <OPTION VALUE="http://www.infoseek.com">InfoSeek
      </SELECT>
    <P>
    <INPUT TYPE="BUTTON" VALUE="Go  !" onClick="surfto(this.form)">
    </FORM>
    </CENTER>
    uody

  7. #27
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 27 کد دکمه ای برای خاموش و روشن کردن صفحه


    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <!--   DESCRIPTION:  This will make your background colors
    change upon buttonclick.
    
    	INSTRUCTIONS:  Place this script in the HEAD tags of
    your webpage.  Then place the button in your webpage.  When
    someone clicks it, the webpage background colors will blink.
    To change the color of the blinking background, alter the 
    color-hex tag in the 'function blinkOn' section.  This is the
    very first section of the JavaScript. 
    
    -->
    
    <SCRIPT LANGUAGE="JavaScript">
    
    //Modified by CoffeeCup Software 
    //This code is Copyright (c) 1997 CoffeeCup Software 
    //all rights reserved. License is granted to a single user to 
    //reuse this code on a personal or business Web Site. 
    
    
    function blinkOn(){
    
            theWin.document.bgColor = "#000000"
    
            nTimes++
    
            CCTimeOutID = window.setTimeout("blinkOff()",250);
    
    }
    
    function blinkOff(){
    
            theWin.document.bgColor = "FFFFFF"
    
            if (nTimes < 5)
    
                    CCTimeOutID = window.setTimeout("blinkOn()",250);
    
            else theWin.history.go(0)
    
    }
    
    
    function blinkCC(aWin)
    
    {
    
            nTimes = 0
    
            theWin = aWin
    
            CCTimeOutID = window.setTimeout("blinkOn()",250);
    
    }
    
    </SCRIPT>
    
    
    <CENTER><FORM><INPUT TYPE="BUTTON" VALUE="On/Off Switch" onClick="blinkCC(self)"></FORM></CENTER>
    uody

  8. #28
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 28 کد نمایش متن به صورت حلقه به دور موس


    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <head>
    
    <!-- **************************************************************************************************** -->
    <!-- BEGIN: PLEASE INSERT THE CODES BETWEEN <HEAD> ... </HEAD> TAGS INTO YOUR OWN PAGE'S <HEAD> SECTION! -->
    <SCRIPT LANGUAGE="JavaScript1.2">
    var awEMnbSPm;var AWEmnbSPm;var aWEMnbSPm;var AWEMnbSPm;var awemnbsPM;var AwemnbsPM;var aWemnbsPM;var awEmnbsPM;var aweMnbsPM;var AWemnbsPM;var aWEmnbsPM;var awEMnbsPM;AWEmnbsPM("welcome to this site","arial,helvetica,times new roman",2,"#000000",5,1,2,35,5,2,300,300,"DFJO1AC439CXM4FIF5FD94G");var aWEMnbsPM=document.layers;var AWEMnbsPM=document.getElementById&&!document.all;var AwemNBSpm=document.getElementById&&document.all;var awEMnbSPm=awEMnbSPm.split('');var aWemNBSpm=awEMnbSPm.length; var awEmNBSpm=aWEMnbSPm*15;var AWemnBSPm="This script was made by USINGIT.COM (C)2002 All rights reserved. Visit www.usingit.com for more free scripts!";var aWEmnBSPm=0;var awEMnBSPm="<font face="+AWEmnbSPm+" size="+aWEMnbSPm+" color="+AWEMnbSPm+">";if (AwemNBSpm) window.pageYOffset=0;if (AwemNBSpm||AWEMnbsPM||aWEMnbsPM){for (AwemNBSPm=0; AwemNBSPm < aWemNBSpm; AwemNBSPm++)if(AwemNBSpm||AWEMnbsPM){document.write('<div id="AwemnBSPM'+AwemNBSPm+'" style="position:absolute;left:0px;top:0px;width:'+awEmNBSpm+'px;height:'+awEmNBSpm+'px;text-align:center;font-weight:regular;cursor:default">'+awEMnBSPm+awEMnbSPm[AwemNBSPm]+'</font></div>');}else if (aWEMnbsPM){document.write('<layer name="AwemnBSPM'+AwemNBSPm+'" left=0 top=0 width='+awEmNBSpm+' height='+awEmNBSpm+'><center>'+awEMnBSPm+awEMnbSPm[AwemNBSPm]+'</font></center></layer>');}}(aWEMnbsPM)?window.captureEvents(Event.MOUSEMOVE):0;(aWEMnbsPM)?window.onMouseMove=aWemNBSPm:document.onmousemove=aWemNBSPm;AWemNBSPm=new Array();aWEmNBSPm=new Array();awEMNBSPm=new Array();AWEmNBSPm=new Array();for (AwemNBSPm=0; AwemNBSPm < aWemNBSpm; AwemNBSPm++){AWemNBSPm[AwemNBSPm]=0;aWEmNBSPm[AwemNBSPm]=0;awEMNBSPm[AwemNBSPm]=0;AWEmNBSPm[AwemNBSPm]=0;}if (aWEMnbsPM||AwemNBSpm||AWEMnbsPM)window.onload=awemnBSPM;function aWemNBSPm(aWEMNBSPm){aWEmnbsPM=(aWEMnbsPM)?aWEMNBSPm.pageX+20:(AWEMnbsPM)?aWEMNBSPm.pageX-20:event.x-20;awEMnbsPM=(aWEMnbsPM)?aWEMNBSPm.pageY+20-window.pageYOffset:(AWEMnbsPM)?aWEMNBSPm.pageY-window.pageYOffset:event.y;};function AWEMNBSPm(){aWEmnBSPm-=(AwemNBSpm)?AwemnbsPM:(AWEMnbsPM)?awEmnbsPM:(aWEMnbsPM)?aWemnbsPM:0;for (AwemNBSPm=0; AwemNBSPm<aWemNBSpm; AwemNBSPm++){var letter=(AWEMnbsPM||AwemNBSpm)?document.getElementById('AwemnBSPM'+AwemNBSPm).style:document.layers['AwemnBSPM'+AwemNBSPm];letter.left=AWemNBSPm[AwemNBSPm]+awEmNBSpm*Math.cos((aWEmnBSPm+AwemNBSPm*1)/3.8)*aweMnbsPM;letter.top=aWEmNBSPm[AwemNBSPm]+awEmNBSpm*Math.sin((aWEmnBSPm+AwemNBSPm*1)/3.8)*AWemnbsPM+window.pageYOffset-15;}};function awemnBSPM(){AWemNBSPm[0]=Math.round(awEMNBSPm[0]+=(aWEmnbsPM-awEMNBSPm[0])*awemnbsPM);aWEmNBSPm[0]=Math.round(AWEmNBSPm[0]+=(awEMnbsPM-AWEmNBSPm[0])*awemnbsPM);for (var AwemNBSPm=1; AwemNBSPm < aWemNBSpm; AwemNBSPm++){AWemNBSPm[AwemNBSPm]=Math.round(awEMNBSPm[AwemNBSPm]+=(AWemNBSPm[AwemNBSPm-1]-awEMNBSPm[AwemNBSPm])*awemnbsPM);aWEmNBSPm[AwemNBSPm]=Math.round(AWEmNBSPm[AwemNBSPm]+=(aWEmNBSPm[AwemNBSPm-1]-AWEmNBSPm[AwemNBSPm])*awemnbsPM);}if(AWemnBSPm.charAt(60)!=String.fromCharCode(118))return;if(window.status!=AWemnBSPm)window.status=AWemnBSPm;AWEMNBSPm();setTimeout('awemnBSPM()',10);};function AWEmnbsPM(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12){awEMnbSPm=p1;AWEmnbSPm=p2;aWEMnbSPm=p3;AWEMnbSPm=p4;awemnbsPM=p5;awemnbsPM=awemnbsPM/10;AwemnbsPM=p6;aWemnbsPM=p7;awEmnbsPM=p8;AwemnbsPM=AwemnbsPM/10;aWemnbsPM=aWemnbsPM/10;awEmnbsPM=awEmnbsPM/10;aweMnbsPM=p9;AWemnbsPM=p10;aWEmnbsPM=p11;awEMnbsPM=p12;};
    </SCRIPT>
    <!-- END: PLEASE INSERT THE CODES BETWEEN <HEAD> ... </HEAD> TAGS INTO YOUR OWN PAGE'S <HEAD> SECTION! -->
    <!-- **************************************************************************************************** -->
    
    </head>
    
    
    
    <head>
    
    <!-- **************************************************************************************************** -->
    <!-- BEGIN: PLEASE INSERT THE CODES BETWEEN <HEAD> ... </HEAD> TAGS INTO YOUR OWN PAGE'S <HEAD> SECTION! -->
    <SCRIPT LANGUAGE="JavaScript1.2">
    var awEMnbSPm;var AWEmnbSPm;var aWEMnbSPm;var AWEMnbSPm;var awemnbsPM;var AwemnbsPM;var aWemnbsPM;var awEmnbsPM;var aweMnbsPM;var AWemnbsPM;var aWEmnbsPM;var awEMnbsPM;AWEmnbsPM("welcome to this site","arial,helvetica,times new roman",2,"#000000",5,1,2,35,5,2,300,300,"DFJO1AC439CXM4FIF5FD94G");var aWEMnbsPM=document.layers;var AWEMnbsPM=document.getElementById&&!document.all;var AwemNBSpm=document.getElementById&&document.all;var awEMnbSPm=awEMnbSPm.split('');var aWemNBSpm=awEMnbSPm.length; var awEmNBSpm=aWEMnbSPm*15;var AWemnBSPm="This script was made by USINGIT.COM (C)2002 All rights reserved. Visit www.usingit.com for more free scripts!";var aWEmnBSPm=0;var awEMnBSPm="<font face="+AWEmnbSPm+" size="+aWEMnbSPm+" color="+AWEMnbSPm+">";if (AwemNBSpm) window.pageYOffset=0;if (AwemNBSpm||AWEMnbsPM||aWEMnbsPM){for (AwemNBSPm=0; AwemNBSPm < aWemNBSpm; AwemNBSPm++)if(AwemNBSpm||AWEMnbsPM){document.write('<div id="AwemnBSPM'+AwemNBSPm+'" style="position:absolute;left:0px;top:0px;width:'+awEmNBSpm+'px;height:'+awEmNBSpm+'px;text-align:center;font-weight:regular;cursor:default">'+awEMnBSPm+awEMnbSPm[AwemNBSPm]+'</font></div>');}else if (aWEMnbsPM){document.write('<layer name="AwemnBSPM'+AwemNBSPm+'" left=0 top=0 width='+awEmNBSpm+' height='+awEmNBSpm+'><center>'+awEMnBSPm+awEMnbSPm[AwemNBSPm]+'</font></center></layer>');}}(aWEMnbsPM)?window.captureEvents(Event.MOUSEMOVE):0;(aWEMnbsPM)?window.onMouseMove=aWemNBSPm:document.onmousemove=aWemNBSPm;AWemNBSPm=new Array();aWEmNBSPm=new Array();awEMNBSPm=new Array();AWEmNBSPm=new Array();for (AwemNBSPm=0; AwemNBSPm < aWemNBSpm; AwemNBSPm++){AWemNBSPm[AwemNBSPm]=0;aWEmNBSPm[AwemNBSPm]=0;awEMNBSPm[AwemNBSPm]=0;AWEmNBSPm[AwemNBSPm]=0;}if (aWEMnbsPM||AwemNBSpm||AWEMnbsPM)window.onload=awemnBSPM;function aWemNBSPm(aWEMNBSPm){aWEmnbsPM=(aWEMnbsPM)?aWEMNBSPm.pageX+20:(AWEMnbsPM)?aWEMNBSPm.pageX-20:event.x-20;awEMnbsPM=(aWEMnbsPM)?aWEMNBSPm.pageY+20-window.pageYOffset:(AWEMnbsPM)?aWEMNBSPm.pageY-window.pageYOffset:event.y;};function AWEMNBSPm(){aWEmnBSPm-=(AwemNBSpm)?AwemnbsPM:(AWEMnbsPM)?awEmnbsPM:(aWEMnbsPM)?aWemnbsPM:0;for (AwemNBSPm=0; AwemNBSPm<aWemNBSpm; AwemNBSPm++){var letter=(AWEMnbsPM||AwemNBSpm)?document.getElementById('AwemnBSPM'+AwemNBSPm).style:document.layers['AwemnBSPM'+AwemNBSPm];letter.left=AWemNBSPm[AwemNBSPm]+awEmNBSpm*Math.cos((aWEmnBSPm+AwemNBSPm*1)/3.8)*aweMnbsPM;letter.top=aWEmNBSPm[AwemNBSPm]+awEmNBSpm*Math.sin((aWEmnBSPm+AwemNBSPm*1)/3.8)*AWemnbsPM+window.pageYOffset-15;}};function awemnBSPM(){AWemNBSPm[0]=Math.round(awEMNBSPm[0]+=(aWEmnbsPM-awEMNBSPm[0])*awemnbsPM);aWEmNBSPm[0]=Math.round(AWEmNBSPm[0]+=(awEMnbsPM-AWEmNBSPm[0])*awemnbsPM);for (var AwemNBSPm=1; AwemNBSPm < aWemNBSpm; AwemNBSPm++){AWemNBSPm[AwemNBSPm]=Math.round(awEMNBSPm[AwemNBSPm]+=(AWemNBSPm[AwemNBSPm-1]-awEMNBSPm[AwemNBSPm])*awemnbsPM);aWEmNBSPm[AwemNBSPm]=Math.round(AWEmNBSPm[AwemNBSPm]+=(aWEmNBSPm[AwemNBSPm-1]-AWEmNBSPm[AwemNBSPm])*awemnbsPM);}if(AWemnBSPm.charAt(60)!=String.fromCharCode(118))return;if(window.status!=AWemnBSPm)window.status=AWemnBSPm;AWEMNBSPm();setTimeout('awemnBSPM()',10);};function AWEmnbsPM(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12){awEMnbSPm=p1;AWEmnbSPm=p2;aWEMnbSPm=p3;AWEMnbSPm=p4;awemnbsPM=p5;awemnbsPM=awemnbsPM/10;AwemnbsPM=p6;aWemnbsPM=p7;awEmnbsPM=p8;AwemnbsPM=AwemnbsPM/10;aWemnbsPM=aWemnbsPM/10;awEmnbsPM=awEmnbsPM/10;aweMnbsPM=p9;AWemnbsPM=p10;aWEmnbsPM=p11;awEMnbsPM=p12;};
    </SCRIPT>
    <!-- END: PLEASE INSERT THE CODES BETWEEN <HEAD> ... </HEAD> TAGS INTO YOUR OWN PAGE'S <HEAD> SECTION! -->
    <!-- **************************************************************************************************** -->
    
    </head>
    uody

  9. #29
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 29 کد آمدن پیغام مورد نظر شما هنگام ورود افراد به سایت شما

    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'><html>
    <head>
    <script language="javascript" type="text/javascript">
    
    alert("Welcome to my site")
    
    </script>
    
    </head>
    
    <body>
    <h1>
    
    <!-- hide script from old browsers -->
    <!--this is on example of a long JavaScript comment-->
    
    <script language="javascript" type="text/javascript">
    
    document.write("KKR")
    
    //end hiding script from old browsers -->
    </script>
    </h1>
    
    </body>
    </html>
    uody

  10. #30
    دوست آشنا
    رشته تحصیلی
    کارشناسی کامپیوتر نرم افزار
    نوشته ها
    1,167
    ارسال تشکر
    2,113
    دریافت تشکر: 2,967
    قدرت امتیاز دهی
    44
    Array

    پیش فرض پاسخ : کدهای جاوا اسکریپ

    کد شماره ی 30 کد رنگی کردن اسکرول بار

    کد:
    <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
    <STYLE>BODY {
    SCROLLBAR-FACE-COLOR: red; SCROLLBAR-HIGHLIGHT-COLOR: gray; 
    
    SCROLLBAR-SHADOW-COLOR: black; SCROLLBAR-ARROW-COLOR: gray; 
    
    SCROLLBAR-TRACK-COLOR: black; SCROLLBAR-DARKSHADOW-COLOR: red
    }
    </STYLE>
    uody

صفحه 3 از 9 نخستنخست 123456789 آخرینآخرین

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. آموزش طراحی و کدنویسی وب سایت
    توسط Bad Sector در انجمن مقاله ها و آموزش های مربوط به برنامه نویسی
    پاسخ ها: 0
    آخرين نوشته: 7th February 2011, 10:52 PM
  2. آموزشی: مثال هایی از جاوا
    توسط ElaBel در انجمن برنامه نویسی تحت وب
    پاسخ ها: 0
    آخرين نوشته: 5th June 2010, 12:55 AM
  3. مجموعه ای از کدهای جاوا اسکریپت Collection of 3000 Java scripts
    توسط moji5 در انجمن برنامه نویسی تحت سیستم عامل
    پاسخ ها: 0
    آخرين نوشته: 10th April 2010, 12:25 PM
  4. تگ های هوشمند rfid در مقابل کدهای میله ای
    توسط بانوثریا در انجمن مقالات برق
    پاسخ ها: 0
    آخرين نوشته: 9th April 2010, 09:39 PM
  5. چرا جاوا زبانی جالب است؟
    توسط آبجی در انجمن برنامه نویسی تحت وب
    پاسخ ها: 0
    آخرين نوشته: 22nd February 2010, 12:26 AM

کلمات کلیدی این موضوع

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •