Forum'da ara:
Ara


Yazar Mesaj
Mesaj21.06.2008, 23:35 (UTC)    
Mesaj konusu:

SAyfanızda Çok fazla buton varsa bu kod ile düzene sokabilirsiniz..

Kod:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
   <title>Scrollbar Of Buttons</title>
</head>

<body>
<script language="JavaScript">
var n = 1
var nn = 2
var nnn = 3
var nnnn = 4 /*Add more variables if you want more buttons showing, or take
them off if you want less. Remember to change the rest of the script
accordingly if you do this, as well as the <INPUT> tags in the HTML.*/
var theMessages = new Array(7); {
theMessages[1] = "This could lead to your Page one."
theMessages[2] = "This could lead to your Page two."
theMessages[3] = "This could lead to your Page three."
theMessages[4] = "This could lead to your Page four."
theMessages[5] = "This could lead to your Page five."
theMessages[6] = "This could lead to your Page six."
theMessages[7] = "This could lead to your Page seven." /*You don't have to have this array unless you still want alert boxes appearing when the buttons are clicked.*/
}
var theValues = new Array(7); {
theValues[1] = "Page 1"
theValues[2] = "Page 2"
theValues[3] = "Page 3"
theValues[4] = "Page 4"
theValues[5] = "Page 5"
theValues[6] = "Page 6"
theValues[7] = "Page 7" } //add more values and/or change them for your liking.
function goup() {
if(n > 1){n = n-1
nn = nn-1
nnn = nnn-1
nnnn = nnnn-1
//If you've changed the amount of buttons showing, add your extra variables - 1 here.
update()}}
function godown() {
if(nnnn < 7) { //Change the 7 if you want more buttons
n++
nn++
nnn++
nnnn++
/*Add your extra variables, with a '++' right after them here, if you've
changed the amount of buttons showing.*/
update()}
else{}}
//You could do 'window.location.href="whatever.html"' insted of the current alert boxes.
function go1() {
alert(cap1)}
function go2() {
alert(cap2)}
function go3() {
alert(cap3)}
function go4() {
alert(cap4)}
function update() {
document.form1.b1.value = theValues[n]
document.form1.b2.value = theValues[nn]
document.form1.b3.value = theValues[nnn]
document.form1.b4.value = theValues[nnnn]
cap1 = theMessages[n]
cap2 = theMessages[nn]
cap3 = theMessages[nnn]
cap4 = theMessages[nnnn]}

//-->
</script>
</head>
<body onload="update()">
<center><h1>Scrollbar of Buttons</h1></center>
<form name="form1">
<input type=button name="up" value="  ^  " onclick="goup()"><br>
<input type=button name="b1" value="Link To Page One  " onclick="go1()"><br>
<input type=button name="b2" value="Link To Page Two  " onclick="go2()"><br>
<input type=button name="b3" value="Link To Page Three" onclick="go3()"><br>
<input type=button name="b4" value="Link To Page Four " onclick="go4()"><br>
<!-- If you add extra buttons here, insert them just above this comment.
You must add extra functions in the script too, presumably called go5()
etc.. -->
<input type=button name="down" value="  v  " onclick="godown()">
</form><hr>


</body>
</html>

______________


Mesaj21.06.2008, 23:36 (UTC)    
Mesaj konusu:

butona tıkladıgınızda eminmisiniz diye bir soru çıkacak

Kod:
<!-- TWO STEPS TO INSTALL CONFIRM CLOSE:

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

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

<HEAD>

<script type="text/javascript">
<!-- Begin
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Steeveeo :: http://www.freewebs.com/steeveeo3000 */

function confirmClose() {
  alert("You have chosen to close this window");
    if (confirm("Are you sure?")) {
      parent.close();
    }
    else
      alert("Close cancelled."); {
    }
}
// End -->
</script>
</HEAD>

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

<BODY>

<div align="center">
<form>
<input type="button" value="Close" onclick="confirmClose()">
</form>
</div>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

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

______________


Mesaj21.06.2008, 23:38 (UTC)    
Mesaj konusu:

Pencereyi kapatmanızı saglayan kod

Kod:
<html>
<head>
<script language="javascript">
  function pencere_ac()
  {
   config="scrollbars=no,width=500,height=250,left=100,top=200";
   pencere= window.open("","pencere",config);
   pencere.document.write("<Html><Body bgcolor=''#FFFFC1'' text=''#800000'' ");
   pencere.document.write(''<h1> Bu pencereyi alttaki butona tıklayarak kapatabilirsiniz. </h1>'');
   pencere.document.write(''<center><form name="deneme">'');
   pencere.document.write(''<input type="button" value=" Pencereyi kapat " onClick="window.close()">'');
   pencere.document.write(''</form></center>'');
   pencere.document.write (''</Body></Html>'');
  }
</script>
</head>

<p class="baslik">Örnek </p>
<p class="koyu">Pencere kapatır </p>

<p class="ortala"><a href="#" onClick="pencere_ac();">Örneği çalıştır  </a></p>

</body>
</html>

______________


Mesaj21.06.2008, 23:38 (UTC)    
Mesaj konusu:

tam ekran sayfa açmanızı sağlar

Kod:
<script>
<!--

function fullwin(){
window.open("../index.html","","fullscreen,scrollbars")
}
//-->
</script>
<form>
<input type="button" onClick="fullwin()" value="Open window">
</form>

______________


Mesaj21.06.2008, 23:39 (UTC)    
Mesaj konusu:

butonun üzeirne geldiginde kabarmasını saglıyor

Kod:
<style id="buttonstyle">
<!--


.overbutton{
background-color:buttonface;
border:1px solid buttonshadow;
border-left:1px solid buttonhighlight;
border-top:1px solid buttonface;
padding:1px;
cursor:hand;
}

.downbutton{
background-color:buttonface;
border:1px solid buttonshadow;
border-right:1px solid buttonhighlight;
border-bottom:1px solid buttonhighlight;
padding:2px;
padding-bottom:0px;
padding-right:0px;
cursor:hand;
}

-->
</style>

<script language="JavaScript1.2">

if (document.all)
document.styleSheets["buttonstyle"].addRule(".dhtmlbutton","background-color:buttonface;border: 1px solid buttonface;background-color:buttonface;padding:1px;cursor:hand;")

function upeffect(cur){
if (document.all)
cur.className=''overbutton''
}

function downeffect(cur){
if (document.all)
cur.className=''downbutton''
}


function normaleffect(cur){
if (document.all)
cur.className=''dhtmlbutton''
}

</script>

<table border="0" width="300" cellspacing="0" cellpadding="0">

<td width="25%" align="center" class="dhtmlbutton" onMouseup="upeffect(this)" onMousedown="downeffect(this)" onMouseover="upeffect(this)" onMouseout="normaleffect(this)"><strong><font face="Arial">Life</font></strong></td>

<td width="25%" align="center" class="dhtmlbutton" onMouseup="upeffect(this)" onMousedown="downeffect(this)" onMouseover="upeffect(this)" onMouseout="normaleffect(this)"><strong><font face="Arial">Is</font></strong></td>

<td width="25%" align="center" class="dhtmlbutton" onMouseup="upeffect(this)" onMousedown="downeffect(this)" onMouseover="upeffect(this)" onMouseout="normaleffect(this)"><strong><font face="Arial">Short</font></strong></td>

</table>

______________


Mesaj21.06.2008, 23:41 (UTC)    
Mesaj konusu:

tablolarınızı farklı renklerde göstermenizi saglayan script

Kod:
<script type="text/javascript">
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Mr. J | http://www.huntingground.net/ */

function colourDivs(){
  // Set the tag name below that you want to use
  el=document.getElementById("container").getElementsByTagName("p")
  numOfDivs=el.length

  for(i=0;i<numOfDivs;i++){
    if((i+1)%2==0) {
      el[i].style.backgroundColor="#00009C"
      el[i].style.color="#fff"
    } else {
      el[i].style.backgroundColor="#FFCF31"
      el[i].style.color="#000"
    }
  }
}

// Multiple onload function created by: Simon Willison
// http://simonwillison.net/2004/May/26/addLoadEvent/
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  colourDivs();
});
</script>

<style>
#container p {
  padding: 10px;
}
</style>


<!--  The section to be highlighted must be placed within this DIV.  -->
<div id="container">
<p>
Eum dolorem qualisque ne, in ius aperiri propriae, an nulla tollit impetus has. Qui euismod neglegentur consectetuer id, movet facete pri no. Novum affert eu mea.</p>
<p>
Te his volumus indoctum. No dolorum iudicabit consetetur cum, vim facete imperdiet maiestatis eu. Qui ei semper virtute recusabo, dicam molestie disputando vis te, at quo elit labitur nostrud.</p>
<p>
Quis takimata referrentur quo ei, an vis contentiones voluptatibus. In quando officiis persecuti est. Quo ut mollis iuvaret. Sit id alii falli.</p>
<p>
Usu omnis malis verear at, nostrud oportere intellegebat ad quo, in dicant eirmod minimum per. At commune dissentias vel.</p>
</div>
<!--  End of section to be highlighted.  -->

______________


Mesaj21.06.2008, 23:49 (UTC)    
Mesaj konusu:

sayfaya her girişte farklı mesajlar verin ziyaretçilerinize

Kod:
<script type="text/javascript">
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: mrhoo | http://www.webdeveloper.com/forum/showthread.php?t=143761 */
function messageLoad() {
  // Be sure to change the number following the "*" below to match the number of messages.
  var wch=Math.floor(Math.random()*4+1);
  document.getElementById('ran'+wch).style.display='inline';
}

// Multiple onload function created by: Simon Willison
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  messageLoad();
});
</script>

<style>
/* Be sure to add or delete IDs below, according to
the number of messages that you have. */
#ran1,#ran2,#ran3,#ran4 {
  display:none;
}
</style>


<p id="randomP">
<strong>Quote of the Day:</strong>
<span id="ran1"><strong><em>If it aint broke. Get a bigger hammer.</em></strong></span>
<span id="ran2"><strong><em>Change is inevitable; progress is optional.</em></strong></span>
<span id="ran3"><strong><em>Do not attribute any action to malice that can be explained by stupidity.</em></strong></span>
<span id="ran4"><strong><em>The box said "Requires Windows 95, NT, or better", so I installed Linux.</em></strong></span>
</p>

______________


Mesaj21.06.2008, 23:51 (UTC)    
Mesaj konusu:

her gün sitenizde kendi duyurularınız otomatik degiştiren script.. kerimdj

Kod:
<script>

//Time of day message script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use

var Digital=new Date()
var hours=Digital.getHours()

//Configure message below to your own.
if (hours>=5&&hours<=11) //MESSAGE FOR MORNING
document.write('<b>Welcome to our site. Good morning visitor.</b>')
else if (hours==12) //MESSAGE FOR NOON
document.write('<b>It is high noon. Thanks for dropping by!</b>')
else if (hours>=13&&hours<=17) //MESSAGE FOR AFTERNOON
document.write('<b>Good afternoon, and thanks for visiting.</b>')
else if (hours>=18&&hours<=20) //MESSAGE FOR EVENING (6pm-8pm)
document.write('<b>Good evening. Hope you\'re enjoying the gentle breeze</b>')
else if (hours>=21&&hours<=11) //MESSAGE FOR NIGHT (9pm-11pm)
document.write('<b>Glad to see you this time of the night.</b>')
else //MESSAGE FOR LATE NIGHT, EARLY MORNING (12pm-4am)
document.write('<b>Wow, thanks for choosing to visit our site over sleep!</b>')

</script>

<p><font face="arial" size="-2">This free script provided by</font>
<font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
Kit</a></font></p>

______________


Mesaj21.06.2008, 23:52 (UTC)    
Mesaj konusu:

sayfa başına bilgi çubugu yerleştirmenizi saglıyor

Kod:
<style type="text/css">

#informationbar{
position: fixed;
left: 0;
width: 100%;
text-indent: 5px;
padding: 5px 0;
background-color: lightyellow;
border-bottom: 1px solid black;
font: bold 12px Verdana;
}

* html #informationbar{ /*IE6 hack*/
position: absolute;
width: expression(document.compatMode=="CSS1Compat"? document.documentElement.clientWidth+"px" : body.clientWidth+"px");
}

</style>

<script type="text/javascript">

/***********************************************

* Animated Information Bar- by JavaScript Kit (www.javascriptkit.com)
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more

***********************************************/

function informationbar(){
   this.displayfreq="always"
   this.content='<a href="javascript:informationbar.close()"><img src="close.gif" style="width: 14px; height: 14px; float: right; border: 0; margin-right: 5px" /></a>'
}

informationbar.prototype.setContent=function(data){
   this.content=this.content+data
   document.write('<div id="informationbar" style="top: -500px">'+this.content+'</div>')
}

informationbar.prototype.animatetoview=function(){
   var barinstance=this
   if (parseInt(this.barref.style.top)<0){
      this.barref.style.top=parseInt(this.barref.style.top)+5+"px"
      setTimeout(function(){barinstance.animatetoview()}, 50)
   }
   else{
      if (document.all && !window.XMLHttpRequest)
      this.barref.style.setExpression("top", 'document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px" : body.scrollTop+"px"')
   else
      this.barref.style.top=0
   }
}

informationbar.close=function(){
   document.getElementById("informationbar").style.display="none"
   if (this.displayfreq=="session")
      document.cookie="infobarshown=1;path=/"
}

informationbar.prototype.setfrequency=function(type){
   this.displayfreq=type
}

informationbar.prototype.initialize=function(){
   if (this.displayfreq=="session" && document.cookie.indexOf("infobarshown")==-1 || this.displayfreq=="always"){
      this.barref=document.getElementById("informationbar")
      this.barheight=parseInt(this.barref.offsetHeight)
      this.barref.style.top=this.barheight*(-1)+"px"
      this.animatetoview()
   }
}

window.onunload=function(){
   this.barref=null
}

</script>


<script type="text/javascript">
<!--Invocation code-->

var infobar=new informationbar()
infobar.setContent('Welcome to JavaScript Kit! It appears you are not registered yet on our site. Why wait? <a href="#">Register here</a>')
//infobar.setfrequency('session') //Uncomment this line to set information bar to only display once per browser session!
infobar.initialize()

</script>

______________


Mesaj21.06.2008, 23:53 (UTC)    
Mesaj konusu:

ziyaretçilerinizi yönlendirmek istediginiz adreslere yönlendirebilirsiniz..

Kod:
<script type="text/javascript">
<!--

location.replace("http://google.com");
//window.location.href="http://google.com"; Commented out //
//window.location="http://google.com"; Commented out //

-->
</script>

______________


Mesaj21.06.2008, 23:55 (UTC)    
Mesaj konusu:

butona tıklatıldıgında pencereyi titretmeye yarayan bir script

Kod:
<html>

<head>

<title></title>

</head>

<body>
<script language="javascript" type="text/javascript">

var speed =100;     //You can change this value
var spread = 20;    //You can change this value
function Vibrate()
{
    spread = - spread;
    window.moveBy(spread, spread);
    if (spread == 0) {
    window.clearInterval(Go);
    spread = 20;    //If you change "spread", don't forget to change here also!
    }
    else if (spread >0) spread--;
    else if (spread <0) spread++;
}
function DoIt()
{
    Go = window.setInterval(Vibrate, speed);
}

</script>
<form>
<input type="button" value="Click Me!" onclick="DoIt();">
</form>
</body>

</html>

______________


Mesaj21.06.2008, 23:56 (UTC)    
Mesaj konusu:

Mause takip eden bir java saat uygulaması

Kod:
<!--- KAYNAK: http://www.gezginler.net --->

<!---<HEAD> Başlangıcı  --->
<script type="text/javascript">
// <![CDATA[
var colour="#639";
/****************************
*    Digital Clock Effect   *
*(c)2005-6 mf2fm web-design *
*  http://www.mf2fm.com/rv  *
* DON'T EDIT BELOW THIS BOX *
****************************/
var clok;
var cpos=0;
var newx=xmo=400;
var newy=ymo=300;
window.onload=function() { if (document.getElementById) {
  clok=document.createElement("div");
  clok.style.position="absolute";
  clok.appendChild(createDigit("dig0"));
  clok.appendChild(createDigit("dig1"));
  clok.appendChild(createColon());
  clok.appendChild(createDigit("dig2"));
  clok.appendChild(createDigit("dig3"));
  clok.appendChild(createColon("ms"));
  clok.appendChild(createDigit("dig4"));
  clok.appendChild(createDigit("dig5"));
  document.body.appendChild(clok);
  tick();
}}
var digit=new Array(247, 146, 221, 219, 186, 235, 239, 210, 255, 251);
function tick() {
  var now=new Date();
  var t=Math.floor(now.getTime()/500)%2;
  var i, j, k;
  var won=oo(now.getHours())+oo(now.getMinutes())+oo(now.getSeconds());
  for (i=0; i<6; i++) for (j=0; j<7; j++) {
   k=digit[won.substring(i, i+1)].toString(2).substring(j+1, j+2);
   document.getElementById("dig"+i+j).style.backgroundColor=(k==1)?colour:"transparent";
  }
  document.getElementById("mstop").style.backgroundColor=(t)?"transparent":colour;
  document.getElementById("msbot").style.backgroundColor=(t)?"transparent":colour;
  xmo+=Math.floor((newx-xmo)/4);
  clok.style.left=(xmo-40)+"px";
  ymo+=Math.floor((newy-ymo)/4);
  clok.style.top=(ymo-20)+"px";
  setTimeout("tick()", 40);
}
document.onmousemove=mouse;
function mouse(e) {
  newy=(e)?e.pageY:event.y+scro();
  newx=(e)?e.pageX:event.x;
}
function scro() {
  var scro=0;
  if (document.body.scrollTop) scro=document.body.scrollTop;
  else if (document.documentElement && document.documentElement.scrollTop) scro=document.documentElement.scrollTop;
  return (scro);
}
function oo(o) { return(((o<10)?"0"+o:o).toString()); }
function createDigit(id) {
  var odiv=createDiv(0, cpos, 18, 10, false);
  cpos+=12;
  odiv.appendChild(createDiv(0, 1, 2, 8, id+"0"));
  odiv.appendChild(createDiv(1, 0, 8, 2, id+"1"));
  odiv.appendChild(createDiv(1, 8, 8, 2, id+"2"));
  odiv.appendChild(createDiv(8, 1, 2, 8, id+"3"));
  odiv.appendChild(createDiv(9, 0, 8, 2, id+"4"));
  odiv.appendChild(createDiv(9, 8, 8, 2, id+"5"));
  odiv.appendChild(createDiv(16, 1, 2, 8, id+"6"));
  return (odiv);
}
function createColon(id) {
  var odiv=createDiv(0, cpos, 18, 2, false);
  cpos+=4;
  var dot1=createDiv(4, 0, 3, 2, (id)?id+"top":false);
  dot1.style.backgroundColor=colour;
  odiv.appendChild(dot1);
  var dot2=createDiv(11, 0, 3, 2, (id)?id+"bot":false);
  dot2.style.backgroundColor=colour;
  odiv.appendChild(dot2);
  return (odiv);
}
function createDiv(top, left, height, width, id) {
  var div=document.createElement("div");
  div.style.position="absolute";
  div.style.top=top+"px";
  div.style.left=left+"px";
  div.style.height=height+"px";
  div.style.width=width+"px";
  div.style.overflow="hidden";
  if (id) div.setAttribute("id", id);
  return (div);
}
// ]]>
</script>
<!---<HEAD> Sonu  --->

<!--- KAYNAK: http://www.gezginler.net --->

______________


Mesaj21.06.2008, 23:58 (UTC)    
Mesaj konusu:

sitenize girişte hoşgeldiniz. çıkarkende güle güle demek için ideal bir kod

Kod:
<html>

  <head>
      <script language="JavaScript">
             function acilis(){
                 alert("script sitesine Hoşgeldiniz hoşca vakit geçirmenizi umarım");
                 return true;
             }               
             function kapanis(){
                 alert("Bizi seçtiğiniz için Teşekkür Ederiz gülü güle");
                 return true;
             }             
      </script>

   </head>
<body onLoad="acilis()" onUnLoad="kapanis()">


</body>
</html>

______________


Mesaj21.06.2008, 23:59 (UTC)    
Mesaj konusu:

tabloların üzerine geldiginde sizin belirleyeceginiz renkleri görmeleri saglamanıza yarayan bir kod

Kod:
<!-- TWO STEPS TO INSTALL ROW ROLLOVER:

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

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

<HEAD>

<style type="text/css">
<!--
#demo tr.ruled {
  background:#9cf;
}
-->
</style>

<script type="text/javascript">
<!--
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Chris Heilmann :: http://www.alistapart.com/articles/tableruler */

function tableruler() {
  if (document.getElementById && document.createTextNode) {
    var tables=document.getElementsByTagName('table');
    for (var i=0;i<tables.length;i++)
    {
      if(tables[i].className=='ruler') {
        var trs=tables[i].getElementsByTagName('tr');
        for(var j=0;j<trs.length;j++)
        {
          if(trs[j].parentNode.nodeName=='TBODY') {
            trs[j].onmouseover=function(){this.className='ruled';return false}
            trs[j].onmouseout=function(){this.className='';return false}
          }
        }
      }
    }
  }
}
window.onload=function(){tableruler();}
// -->
</script>
</HEAD>

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

<BODY>

<table id="demo" class="ruler" summary="Table of my records" cellpadding="5">
<caption>Blues Artists & Songs</caption>
<thead>
  <tr>
    <th scope="col">Artist</th>
    <th scope="col">Title</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td>John Mayall </td>
    <td>Double Crossing Time </td>
  </tr>
  <tr>
    <td>Buddy Guy </td>
    <td>On A Saturday Night </td>
  </tr>
  <tr>
    <td>John Lee Hooker </td>
    <td>Don't Look Back </td>
  </tr>
  <tr>
    <td>Bo Diddley </td>
    <td>You Can't Judge a Book by Its Cover </td>
  </tr>
  <tr>
    <td>Billie Holiday </td>
    <td>Solitude </td>
  </tr>
  <tr>
    <td>Stevie Ray Vaughan </td>
    <td>Texas Flood </td>
  </tr>
</tbody>
</table>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

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

______________


Mesaj22.06.2008, 00:00 (UTC)    
Mesaj konusu:

sayfanızdaki yazıların kopyalanmasını engeller

Kod:
<script type="text/javascript">

/***********************************************
* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

</script>

Deneme

______________


Önceki mesajları göster:   


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