Browser
Sayfanızda browser kullanmak isterseniz bu örneği deneyin, javascripti daha fazla geliştirmekte sizin elinizde.
ÖRNEK
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Rick Johnson (frj11@ev1.net) --> <!-- Begin function writeLayer(text) { document.frames['myFrame'].location.href = text; document.addrForm.location.value = text; } function setLayer(text) { if (text.indexOf("http://",0) <= 0) text = "http://" +text; document.frames['myFrame'].location.href = text; document.addrForm.location.value = text; } function onLoad(text) { if (text != "Microsoft Internet Explorer") { alert("netscape not supported"); history.back(); } return true; } // End --> </script>
<iframe src="about:blank" width=100% height=90% id=myFrame></iframe> <center> <form name=addrForm> <input type=button value="Javascript Bankası" onClick="writeLayer('http://www.javascriptbankasi.com.tr.tc')"> <input type=button value="Yahoo" onClick="writeLayer('http://www.yahoo.com')"> <input type=button value="Sizin Adresiniz" onClick="writeLayer('about:blank')"> Adres: <input type=text name=location value="Gidilecek adresi yazın ve Git tuşuna basın" onFocus="this.value=''" size=35> <input type=button value="Git" onClick="setLayer(document.addrForm.location.value)"> </form> </center>
Copyright © 2002-2004 www.javascriptbankasi.com.tr.tc
Mail:javascriptbankasi@hotmail.com