Bugunlerde oldukca sık kullanılan window.open fonksiyonu kullanılarak kullanılan bir örnek. Menu bar, toolbar gibi barların tümünü kapatabiliyorsunuz. Yararlı olacağı uygulamalar olabilir.
tagleri arasına yazılacak fonksiyon:
Kod:
javascript: - <LI style="FONT-WEIGHT: normal; COLOR: #f73b3b; FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace">[FONT='Courier New', Courier, monospace]<script LANGUAGE="JavaScript">[/font]
<LI style="FONT-WEIGHT: bold; COLOR: #7bbe54">
<LI style="FONT-WEIGHT: normal; COLOR: #f73b3b; FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace">[FONT='Courier New', Courier, monospace] <!-- Web Sitesi: http://www.wbturk.com -->[/font]
<LI style="FONT-WEIGHT: bold; COLOR: #7bbe54">[FONT='Courier New', Courier, monospace] <!--[/font]
<LI style="FONT-WEIGHT: normal; COLOR: #f73b3b; FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace">[FONT='Courier New', Courier, monospace] function TamEkran(theURL) {[/font]
<LI style="FONT-WEIGHT: bold; COLOR: #7bbe54">[FONT='Courier New', Courier, monospace] window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');[/font]
<LI style="FONT-WEIGHT: normal; COLOR: #f73b3b; FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace">[FONT='Courier New', Courier, monospace] }[/font]
<LI style="FONT-WEIGHT: bold; COLOR: #7bbe54">[FONT='Courier New', Courier, monospace] // -->[/font]
- [FONT='Courier New', Courier, monospace] *********** [/font]
tagine eklenecek event:
Kod:
CODE: - <LI style="FONT-WEIGHT: normal; COLOR: #f73b3b; FONT-STYLE: normal; FONT-FAMILY: 'Courier New', Courier, monospace">[FONT='Courier New', Courier, monospace]<a href="javascript:void(0);" onClick="TamEkran('http://www.zone.org/index.php');">[/font]
- [FONT='Courier New', Courier, monospace] Tam ekran sayfa açmak için tıklayın></a> [/font]