Foruma Alışıyor Mesaj Sayısı : 137 Rep Gücü : 55962 Teşekkür Puanı : 5 Kayıt tarihi : 13/01/09 | Konu: sitene tümünü seç kodu | | | - Kod:
-
<HTML> <HEAD> <TITLE>Tümünü seç</TITLE> <style> .highlighttext{ background-color:yellow; font-weight:bold; } </style> <script> var copytoclip=1 function HighlightAll(theField) { var tempval=eval("document."+theField) tempval.focus() tempval.select() if (document.all& toclip==1){ therange=tempval.createTextRange() therange.execCommand("Copy") window.status="Contents highlighted and copied to clipboard!" setTimeout("window.status=''",1800) } } </script> </HEAD> <BODY> <form name="test"> <a class="highlighttext" href="javascript:HighlightAll('test.select1')" _fcksavedurl="javascript:HighlightAll('test.select1')">Tümünü Seç</a><br> <textarea name="select1" rows=10 cols=35 > Bu kısa bir yazıdır. Tümünü seç linkine tıkladığınızda bu yazının tamamı seçilecektir. |
|