Forum'da ara:
Ara


Yazar Mesaj
Mesaj07.01.2009, 17:11 (UTC)    
Mesaj konusu: Arka plan müzik kodu (java script)

Arka plan müzik kodu (java script)

Kod:
<!-- MÜZİK KODU BAŞLANGICI FOGE -->
<script language="JavaScript" type="text/javascript">
if (navigator.appName == "Microsoft Internet Explorer") {
document.write('<bgsound src="MÜZİK ADRESİ BURAYA GELİCEK" LOOP="true">');
}
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="background.mid" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="1" HEIGHT="1" WIDTH="1" loop="true"><br>');
}
// End -->
</script>
<!-- MÜZİK KODU BİTİŞİ FOGE -->
Mesaj07.01.2009, 17:16 (UTC)    
Mesaj konusu: tümünü seç kodu

tümünü seç kodu
Kod:
<!-- ONE STEP TO INSTALL SELECT ALL:

  1.  Copy the coding into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document  -->

<BODY>

<form>
<textarea name="yourForm" rows=3 cols=40 wrap=virtual>
Mesaj07.01.2009, 17:18 (UTC)    
Mesaj konusu: Farenin etrafında ismin dönsün

Farenin etrafında ismin dönsün
Kod:
<SCRIPT LANGUAGE="JavaScript1.2">

<!--//



//Circling text trail- Tim Tilton

//Website: http://www.tempermedia.com/

//Visit http://www.dynamicdrive.com for this script and more



// your message here

var msg='Dynamic Drive!';



var font='Verdana,Arial';

var size=3; // up to seven

var color='#000000';



// This is not the rotation speed, its the reaction speed, keep low!

// Set this to 1 for just plain rotation w/out drag

var speed=.3;



// This is the rotation speed, set it negative if you want

// it to spin clockwise

var rotation=.2;



// Alter no variables past here!, unless you are good

//---------------------------------------------------



var ns=(document.layers);

var ie=(document.all);

var msg=msg.split('');

var n=msg.length;

var a=size*15;

var currStep=0;

var ymouse=0;

var xmouse=0;

var scrll=0;

var props="<font face="+font+" size="+size+" color="+color+">";



if (ie)

window.pageYOffset=0



// writes the message

   if (ns){

   for (i=0; i < n; i++)

      document.write('<layer name="nsmsg'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+msg[i]+'</font></center></layer>');

   }

   if (ie){

      document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');

      for (i=0; i < n; i++)

         document.write('<div id="iemsg" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center;font-weight:regular;cursor:default">'+props+msg[i]+'</font></div>');

         document.write('</div></div>');

   }

   (ns)?window.captureEvents(Event.MOUSEMOVE):0;



function Mouse(evnt){

   ymouse = (ns)?evnt.pageY+20-(window.pageYOffset):event.y; // y-position

   xmouse = (ns)?evnt.pageX+20:event.x-20; // x-position

}



if (ns||ie)

(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;

y=new Array();

x=new Array();

Y=new Array();

X=new Array();

for (i=0; i < n; i++){

   y[i]=0;

   x[i]=0;

   Y[i]=0;

   X[i]=0;

}



function makecircle(){ // rotation properties

if (ie) outer.style.top=document.body.scrollTop;

currStep-=rotation;

   for (i=0; i < n; i++){ // makes the circle

      var d=(ns)?document.layers['nsmsg'+i]:iemsg[i].style;

      d.top=y[i]+a*Math.sin((currStep+i*1)/3.8)+window.pageYOffset-15;

      d.left=x[i]+a*Math.cos((currStep+i*1)/3.8)*2; // remove *2 for just a plain circle, not oval

   }

}



function drag(){ // makes the resistance

   scrll=(ns)?window.pageYOffset:0;

   y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);

   x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);

   for (var i=1; i < n; i++){

      y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);

      x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);



   }

   makecircle();

   // not rotation speed, leave at zero

   setTimeout('drag()',10);

}

if (ns||ie)window.onload=drag;



// -->

</SCRIPT>
Mesaj07.01.2009, 17:19 (UTC)    
Mesaj konusu: Online ziyaretci sayacı

Online ziyaretci sayacı
<script src="http://fastonlineusers.com/online.php?d=www.SİTENİZİNADIBURAYA.tr.gg"></script>
Mesaj07.01.2009, 17:23 (UTC)    
Mesaj konusu: Köşeden aşağıya doğru inen saat

Köşeden aşağıya doğru inen saat
Kod:
<!www.clup.6te.net" >

<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

<meta name="generator" content="Web Page Maker V2">



<style type="text/css">

/*----------Text Styles----------*/

.ws6 {font-size: 8px;}

.ws7 {font-size: 9.3px;}

.ws8 {font-size: 11px;}

.ws9 {font-size: 12px;}

.ws10 {font-size: 13px;}

.ws11 {font-size: 15px;}

.ws12 {font-size: 16px;}

.ws14 {font-size: 19px;}

.ws16 {font-size: 21px;}

.ws18 {font-size: 24px;}

.ws20 {font-size: 27px;}

.ws22 {font-size: 29px;}

.ws24 {font-size: 32px;}

.ws26 {font-size: 35px;}

.ws28 {font-size: 37px;}

.ws36 {font-size: 48px;}

.ws48 {font-size: 64px;}

.ws72 {font-size: 96px;}

.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;}

/*----------Para Styles----------*/

DIV,UL,OL /* Left */

{

 margin-top: 0px;

 margin-bottom: 0px;

}

</style>



</head>





<body>



<script language="JavaScript">



fCol='444444'; //face colour.

sCol='FF0000'; //seconds colour.

mCol='444444'; //minutes colour.

hCol='444444'; //hours colour.



YCbase=30; //Clock height.

XCbase=30; //Clock width.





H='...';

H=H.split('');

M='....';

M=M.split('');

S='.....';

S=S.split('');

NS4=(document.layers);

NS6=(document.getElementById&&!document.all);

IE4=(document.all);

Ypos=0;

Xpos=0;

cdots=12;

Split=360/cdots;

if (NS6){

for (i=1; i < cdots+1; i++){

document.write('<div id="n6Digits'+i+'" style="position:absolute;top:0px;left:0px;width:30px;height:30px;font-family:Arial;font-size:10px;color:#'+fCol+';text-align:center;padding-top:10px">'+i+'</div>');

}

for (i=0; i < M.length; i++){

document.write('<div id="Ny'+i+'" style="position:absolute;top:0px;left:0px;width:2px;height:2px;font-size:2px;background:#'+mCol+'"></div>');

}

for (i=0; i < H.length; i++){

document.write('<div id="Nz'+i+'" style="position:absolute;top:0px;left:0px;width:2px;height:2px;font-size:2px;background:#'+hCol+'"></div>');

}

for (i=0; i < S.length; i++){

document.write('<div id="Nx'+i+'" style="position:absolute;top:0px;left:0px;width:2px;height:2px;font-size:2px;background:#'+sCol+'"></div>');

}

}

if (NS4){

dgts='1 2 3 4 5 6 7 8 9 10 11 12';

dgts=dgts.split(' ')

for (i=0; i < cdots; i++){

document.write('<layer name=nsDigits'+i+' top=0 left=0 height=30 width=30><center><font face=Arial size=1 color='+fCol+'>'+dgts[i]+'</font></center></layer>');

}

for (i=0; i < M.length; i++){

document.write('<layer name=ny'+i+' top=0 left=0 bgcolor='+mCol+' clip="0,0,2,2"></layer>');

}

for (i=0; i < H.length; i++){

document.write('<layer name=nz'+i+' top=0 left=0 bgcolor='+hCol+' clip="0,0,2,2"></layer>');

}

for (i=0; i < S.length; i++){

document.write('<layer name=nx'+i+' top=0 left=0 bgcolor='+sCol+' clip="0,0,2,2"></layer>');

}

}

if (IE4){

document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i=1; i < cdots+1; i++){

document.write('<div id="ieDigits" style="position:absolute;top:0px;left:0px;width:30px;height:30px;font-family:Arial;font-size:10px;color:'+fCol+';text-align:center;padding-top:10px">'+i+'</div>');

}

document.write('</div></div>')

document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i=0; i < M.length; i++){

document.write('<div id=y style="position:absolute;width:2px;height:2px;font-size:2px;background:'+mCol+'"></div>');

}

document.write('</div></div>')

document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i=0; i < H.length; i++){

document.write('<div id=z style="position:absolute;width:2px;height:2px;font-size:2px;background:'+hCol+'"></div>');

}

document.write('</div></div>')

document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i=0; i < S.length; i++){

document.write('<div id=x style="position:absolute;width:2px;height:2px;font-size:2px;background:'+sCol+'"></div>');

}

document.write('</div></div>')

}







function clock(){

time = new Date ();

secs = time.getSeconds();

sec = -1.57 + Math.PI * secs/30;

mins = time.getMinutes();

min = -1.57 + Math.PI * mins/30;

hr = time.getHours();

hrs = -1.57 + Math.PI * hr/6 + Math.PI*parseInt(time.getMinutes())/360;



if (NS6){

Ypos=window.pageYOffset+window.innerHeight-YCbase-25;

Xpos=window.pageXOffset+window.innerWidth-XCbase-30;

for (i=1; i < cdots+1; i++){

 document.getElementById("n6Digits"+i).style.top=Ypos-15+YCbase*Math.sin(-1.56 +i *Split*Math.PI/180)

 document.getElementById("n6Digits"+i).style.left=Xpos-15+XCbase*Math.cos(-1.56 +i*Split*Math.PI/180)

 }

for (i=0; i < S.length; i++){

 document.getElementById("Nx"+i).style.top=Ypos+i*YCbase/4.1*Math.sin(sec);

 document.getElementById("Nx"+i).style.left=Xpos+i*XCbase/4.1*Math.cos(sec);

 }

for (i=0; i < M.length; i++){

 document.getElementById("Ny"+i).style.top=Ypos+i*YCbase/4.1*Math.sin(min);

 document.getElementById("Ny"+i).style.left=Xpos+i*XCbase/4.1*Math.cos(min);

 }

for (i=0; i < H.length; i++){

 document.getElementById("Nz"+i).style.top=Ypos+i*YCbase/4.1*Math.sin(hrs);

 document.getElementById("Nz"+i).style.left=Xpos+i*XCbase/4.1*Math.cos(hrs);

 }

}

if (NS4){

Ypos=window.pageYOffset+window.innerHeight-YCbase-20;

Xpos=window.pageXOffset+window.innerWidth-XCbase-30;

for (i=0; i < cdots; ++i){

 document.layers["nsDigits"+i].top=Ypos-5+YCbase*Math.sin(-1.045 +i*Split*Math.PI/180)

 document.layers["nsDigits"+i].left=Xpos-15+XCbase*Math.cos(-1.045 +i*Split*Math.PI/180)

 }

for (i=0; i < S.length; i++){

 document.layers["nx"+i].top=Ypos+i*YCbase/4.1*Math.sin(sec);

 document.layers["nx"+i].left=Xpos+i*XCbase/4.1*Math.cos(sec);

 }

for (i=0; i < M.length; i++){

 document.layers["ny"+i].top=Ypos+i*YCbase/4.1*Math.sin(min);

 document.layers["ny"+i].left=Xpos+i*XCbase/4.1*Math.cos(min);

 }

for (i=0; i < H.length; i++){

 document.layers["nz"+i].top=Ypos+i*YCbase/4.1*Math.sin(hrs);

 document.layers["nz"+i].left=Xpos+i*XCbase/4.1*Math.cos(hrs);

 }

}



if (IE4){

Ypos=document.body.scrollTop+window.document.body.clientHeight-YCbase-20;

Xpos=document.body.scrollLeft+window.document.body.clientWidth-XCbase-20;

for (i=0; i < cdots; ++i){

 ieDigits[i].style.pixelTop=Ypos-15+YCbase*Math.sin(-1.045 +i *Split*Math.PI/180)

 ieDigits[i].style.pixelLeft=Xpos-15+XCbase*Math.cos(-1.045 +i *Split*Math.PI/180)

 }

for (i=0; i < S.length; i++){

 x[i].style.pixelTop =Ypos+i*YCbase/4.1*Math.sin(sec);

 x[i].style.pixelLeft=Xpos+i*XCbase/4.1*Math.cos(sec);

 }

for (i=0; i < M.length; i++){

 y[i].style.pixelTop =Ypos+i*YCbase/4.1*Math.sin(min);

 y[i].style.pixelLeft=Xpos+i*XCbase/4.1*Math.cos(min);

 }

for (i=0; i < H.length; i++){

 z[i].style.pixelTop =Ypos+i*YCbase/4.1*Math.sin(hrs);

 z[i].style.pixelLeft=Xpos+i*XCbase/4.1*Math.cos(hrs);

 }

}

setTimeout('clock()',100);

}

clock();

//-->

</script>



</body>

</html>

Mesaj22.01.2009, 18:04 (UTC)    
Mesaj konusu:

Rakam yaz sana ingilizcesine çevirsin
Kod:
<!--- KAYNAK: http://www.hileci.net ---><SCRIPT LANGUAGE="JavaScript">
<!-- Original:  hileci( at )hileci.net -->
<!-- Başlangıç
var n = "";
function validate(input) {
if (input.length == 0) {
alert ('Bir rakam yazınız...');
document.myform.textver.value = "";
return true;
}
else convert(input);
}
function d1(x) {
switch(x) {
case '0': n= ""; break;
case '1': n= " One "; break;
case '2': n= " Two "; break;
case '3': n= " Three "; break;
case '4': n= " Four "; break;
case '5': n= " Five "; break;
case '6': n= " Six "; break;
case '7': n= " Seven "; break;
case '8': n= " Eight "; break;
case '9': n= " Nine "; break;
default: n = "Not a Number";
}
return n;
}
function d2(x) {
switch(x) {
case '0': n= ""; break;
case '1': n= ""; break;
case '2': n= " Twenty "; break;
case '3': n= " Thirty "; break;
case '4': n= " Forty "; break;
case '5': n= " Fifty "; break;
case '6': n= " Sixty "; break;
case '7': n= " Seventy "; break;
case '8': n= " Eighty "; break;
case '9': n= " Ninety "; break;
default: n = "Not a Number";
}
return n;
}
function d3(x) {
switch(x) {
case '0': n= " Ten "; break;
case '1': n= " Eleven "; break;
case '2': n= " Twelve "; break;
case '3': n= " Thirteen "; break;
case '4': n= " Fourteen "; break;
case '5': n= " Fifteen "; break;
case '6': n= " Sixteen "; break;
case '7': n= " Seventeen "; break;
case '8': n= " Eighteen "; break;
case '9': n= " Nineteen "; break;
default: n=  "Not a Number";
}
return n;
}
function convert(input) {
var inputlength = input.length;
var x = 0;
var teen1 = "";
var teen2 = "";
var teen3 = "";
var numName = "";
var invalidNum = "";
var a1 = "";
var a2 = "";
var a3 = "";
var a4 = "";
var a5 = "";
digit = new Array(inputlength);
for (i = 0; i < inputlength; i++)  {
digit[inputlength - i] = input.charAt(i)};
store = new Array(9);
for (i = 0; i < inputlength; i++) {
x= inputlength - i;
switch (x) {
case x=9: d1(digit[x]); store[x] = n; break;
case x=8: if (digit[x] == "1") {teen3 = "yes"}
          else {teen3 = ""}; d2(digit[x]); store[x] = n; break;
case x=7: if (teen3 == "yes") {teen3 = ""; d3(digit[x])}
          else {d1(digit[x])}; store[x] = n; break;
case x=6: d1(digit[x]); store[x] = n; break;
case x=5: if (digit[x] == "1") {teen2 = "yes"}
          else {teen2 = ""}; d2(digit[x]); store[x] = n; break;
case x=4: if (teen2 == "yes") {teen2 = ""; d3(digit[x])}   
          else {d1(digit[x])}; store[x] = n; break;
case x=3: d1(digit[x]); store[x] = n; break;
case x=2: if (digit[x] == "1") {teen1 = "yes"}
          else {teen1 = ""}; d2(digit[x]); store[x] = n; break;
case x=1: if (teen1 == "yes") {teen1 = "";d3(digit[x])}     
          else {d1(digit[x])}; store[x] = n; break;
}
if (store[x] == "Not a Number"){invalidNum = "yes"};
switch (inputlength){
case 1:   store[2] = "";
case 2:   store[3] = "";
case 3:   store[4] = "";
case 4:   store[5] = "";
case 5:   store[6] = "";
case 6:   store[7] = "";
case 7:   store[8] = "";
case 8:   store[9] = "";
}
if (store[9] != "") { a1 =" Hundred, "} else {a1 = ""};
if ((store[9] != "")||(store[8] != "")||(store[7] != ""))
{ a2 =" Million, "} else {a2 = ""};
if (store[6] != "") { a3 =" Hundred "} else {a3 = ""};
if ((store[6] != "")||(store[5] != "")||(store[4] != ""))
{ a4 =" Thousand, "} else {a4 = ""};
if (store[3] != "") { a5 =" Hundred "} else {a5 = ""};
}
if (invalidNum == "yes"){numName = "Invalid Input"}
else {
numName =  store[9] + a1 + store[8] + store[7]
+ a2 + store[6] + a3 + store[5] + store[4]
+ a4 + store[3] + a5 + store[2] + store[1];
}
store[1] = ""; store[2] = ""; store[3] = "";
store[4] = ""; store[5] = ""; store[6] = "";
store[7] = ""; store[8] = ""; store[9] = "";
if (numName == ""){numName = "Zero"};
document.myform.textver.value = numName;
return true;
}
//  Son -->
</script>
<form name="myform">
    <table border="0">
        <tbody>
            <tr>
                <td><font color="#115585">Numara:</font></td>
                <td><input style="color: #000066; background-color: #ebe2d3" maxlength="9" size="9" name="numver" type="text" /> <input style="color: #000066; background-color: #ebe2d3" type="button" onclick="return validate(document.myform.numver.value)" value="&Ccedil;evir" /></td>
            </tr>
            <tr>
                <td><font color="#115585">İngilizcesi:</font></td>
                <td><input style="color: #000066; background-color: #ebe2d3" maxlength="50" size="50" name="textver" type="text" /></td>
            </tr>
            <tr>
                <td align="center" colspan="2">&nbsp;</td>
            </tr>
        </tbody>
    </table>
</form>
<!--- KAYNAK: http://www.hileci.net --->

______________
Mesaj01.02.2009, 16:16 (UTC)    
Mesaj konusu: BUNU DİKKATE ALIN

KAR KODU VARMI ACABA??
Mesaj08.02.2009, 15:27 (UTC)    
Mesaj konusu:

Linkinizin üzerine gelince kırmızı renk olsun
Kod:
 <style type="text/css">
<!--
a:link {
color: #808080;
}
a:visited {
color: #808080;
}
a:hover {
color: #ff0000;
}
--> </style>

______________
Mesaj20.02.2009, 19:28 (UTC)    
Mesaj konusu:

Uyduruk Bi Özlü söz
<script type="text/javascript">
function showBlock(blockId)
{
document.getElementById(blockId).style.display = "block";
}
function hideBlock(blockId)
{
document.getElementById(blockId).style.display = "none";
}
</script> <a href="javascript:showBlock('block1')">
<div align="center"><font face="Comic Sans MS" color="#00ff00" size="4"><font color="#ff0000">Ay</font> </font></div>
</a>
<div style="display: none;" id="block1">
<div align="center"><font face="Comic Sans MS" color="#00ff00" size="4"><br />
Aya Baktım Seni G&ouml;rd&uuml;m.</font><font color="#00ff00"><br />
</font><font face="Comic Sans MS" color="#00ff00" size="4"> Sana Baktım AYI G&ouml;rd&uuml;m.</font></div>
<a href="javascript:hideBlock('block1')"><div align="center">Yazıyı Gizle</div></a>.</div>
______________
BenimSitem1993 => Forum imza boyutunuz 3 satırı geçtiğinden düzenlenmiştir.
Mesaj20.02.2009, 19:31 (UTC)    
Mesaj konusu:

tolgaeglence yazmış:
Uyduruk Bi Özlü söz
Kod:
<script type="text/javascript">
  function showBlock(blockId)
  {
    document.getElementById(blockId).style.display = "block";
  }
  function hideBlock(blockId)
  {
    document.getElementById(blockId).style.display = "none";
  }
</script> <a href="javascript:showBlock('block1')">
<div align="center"><font face="Comic Sans MS" color="#00ff00" size="4"><font color="#ff0000">Ay</font> </font></div>
</a>
<div style="display: none;" id="block1">
<div align="center"><font face="Comic Sans MS" color="#00ff00" size="4"><br />
Aya Baktım Seni G&ouml;rd&uuml;m.</font><font color="#00ff00"><br />
</font><font face="Comic Sans MS" color="#00ff00" size="4"> Sana Baktım AYI G&ouml;rd&uuml;m.</font></div>
<a href="javascript:hideBlock('block1')"><div align="center">Yazıyı Gizle</div></a>.</div>
[/code]
Hatamı anladım
Mesaj17.03.2009, 15:14 (UTC)    
Mesaj konusu: Link renk değiştirsin.

Linki kırmızı yapma kodu
color: #000000;
a:visited {
color: #000000;

bu iki yerine renk kodlarını değiştirerek linkin üzerine gelince hangi renk olacağını ayarlayabilirsiniz.

Kod:
<style type="text/css">
<!--
a:link {
color: #000000;
}
a:visited {
color: #000000;
}
a:hover {
color: #ff0000;
}
--> </style>

______________
Mesaj05.04.2009, 11:55 (UTC)    
Mesaj konusu:

burası java script kod paylaşım alanı HTML veya CSS değil
Mesaj05.04.2009, 11:58 (UTC)    
Mesaj konusu:

Linkin üzerine tıklayınca arka plan değişsin
Kod:
<script language="JavaScript">
<!--

// Copyright 2001 by www.CodeBelly.com
// Please do *not* remove this notice.

var backImage = new Array(); // don't change this

// Enter the image filenames you wish to use.
// Follow the pattern to use more images.  The
// number in the brackets [] is the number you
// will use in the function call to pick each
// image.

// Note how backImage[3] = "" -- which would
// set the page to *no* background image.

backImage[0] = "11.jpg";
backImage[1] = "22.jpg";
backImage[2] = "33.jpg";
backImage[3] = "";

// Do not edit below this line.
//-----------------------------

function changeBGImage(whichImage){
if (document.body){
document.body.background = backImage[whichImage];
}
}

//-->
</script>

Kod:
<!--
Example One -- changing bg image with mouseOver.
Set the number in the () in the changeBGImage() function
to the number of the color in the brackets in the
backImage[] array to select a given image.
//-->

<a href="#" onMouseOver="javascript:changeBGImage(2)">Change</a>

<!--
Example Two -- changing bg image with a mouse click.
Set the number in the () in the changeBGImage() function
to the number of the image in the brackets in the
backImage[] array to select a given image.
//-->

<a href="javascript:changeBGImage(1)">Change</a>


birlikte kullanın
Mesaj05.04.2009, 12:00 (UTC)    
Mesaj konusu:

açılır pencerede butona tıklayınca arka planın renginin değişmiesini sağlıyan kod:
Kod:
============================================
Change Color with Buttons
Version I -- Background Color Only...
============================================

<form>

<input type="button"
 value="White"
 onClick="document.bgColor = '#FFFFFF';">

<input type="button"
 value="Green"
 onClick="document.bgColor = '#008000';">

<input type="button"
 value="Blue"
 onClick="document.bgColor = '#0000FF';">

<input type="button"
 value="Red"
 onClick="document.bgColor = '#FF0000';">

</form>

============================================
Change Color with Buttons
Version II -- Background & Font Colors...
============================================

<form>

<input type="button"
 value="White"
 onClick="document.bgColor = '#FFFFFF';document.fgColor='#FF0000';">
 
<input type="button"
 value="Green"
 onClick="document.bgColor = '#008000';document.fgColor='#FFFF00';">
 
<input type="button"
 value="Blue"
 onClick="document.bgColor = '#0000FF';document.fgColor='#FFFFFF';">
 
<input type="button"
 value="Red"
 onClick="document.bgColor = '#FF0000';document.fgColor='#FFFF00';">

</form>
Mesaj05.04.2009, 12:02 (UTC)    
Mesaj konusu:

animasyonla pencere pencerenin boyutları değişiyor:
Kod:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Animasyonlu Pencere Açmak</title>
<script>
<!--

var mylocation="http://ksabitk.awardspace.com"
var winheight=100
var winsize=100
var x=5

function go(){
win2=window.open("","","scrollbars")
if (!document.layers&&!document.all){
win2.location=mylocation
return
}
win2.resizeTo(100,100)
win2.moveTo(0,0)
go2()
}
function go2(){
if (winheight>=screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=mylocation
winheight=100
winsize=100
x=5
return
}
setTimeout("go2()",50)
}
//-->
</script>
<a href="javascript:go()" onMouseover="window.status='open window';return true" onMouseout="window.status=''" >Pencereyi Aç</a>
</head>
<body>

</body>
</html>
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu