Langsung ke konten utama

Cara Membuat Link Open New Window

Membuat link open new window di blog merupakan basic HTML. Dimana link tersebut bertujuan untuk  membuka jendela baru pada browser ketika sedang mengakses suatu laman tertentu. Mirip seperti dengan pop-up window yang otomatis terbuka, namun untuk link dengan open new window dibutuhkan klik secara manual untuk membuka link terkait.

Artikel Terkait
1. Membuat Link Open New Tab
2. Membuat Semua Link Menjadi Open New Tab

Link Open New Window

Langsung saja, saya berikan java script untuk membuat Link Open New Window :
<!-- Codes by dewainside.blogspot.com -->
<script type="text/javascript">
// Popup window code
function newPopup(url) {
    popupWindow = window.open(
        url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
<a href="JavaScript:newPopup('http://www.dewainside.blogspot.com');">Open New window</a>
Sebagai contoh : Dewa Inside Blog

Tulisan yang berwarna:
Merah = Link yang ingin di New Window
Biru = Nama Linknya
Hijau = Ukuran size windownya

Sekian semoga bermanfaat bagi sobat blogger semua. :)

Komentar

Postingan populer dari blog ini

Mod Immortal Treasure Trove Carafe 2018

Mod immortal Treasure Trove Carafe 2018. This treasure contain of : Huskar - The Spoils of Dezun, Ogre Magi - Gimlek Decanter, Pangolier - Mask of Confidant, Venomancer - Cult of Aktok, Rubick - Crux of Perplex, Disruptor - Orb of Deliverance, Silencer - Glaive of Oscilla, Storm Spirit - Mandate of the Stormborn, Windranger - Sylvan Vedette and Mirana mount - Axia of Metira. Hope you guys like this mods cosmetic skin and support our favorite game Dota 2 in steam community market. No money? Just mods! Enjoy the game and boost your Matchmaking Ratings MMR and Seasonal Rankings Medals !

Rubick - Rambling Fatebender

Mod Rubick - Rambling Fatebender rare item Dota 2 Reborn from Treasure of the Emerald Revival. This item consists of : Staff of the Rambling Fatebender Cape of the Rambling Fatebender Pauldrons of the Rambling Fatebender Mask of the Rambling Fatebender Rubick - Rambling Fatebender Hope you guys like this mod and support our favorite game in steam community market. No money? Just mods! Enjoy your game!

Broodmother - Epoch of the Abysm

Black Arachnia, the Broodmother - Epoch of the Abysm mods rare item Dota 2 Reborn from Fortivus 2017 Treasure. This item consists of : Eyes of the Abysm Abdomen of the Abysm Anterior of the Abysm Legs of the Abysm Creepling of the Abysm Broodmother - Epoch of the Abysm Hope you guys like this mods and support our favorite game in steam community market. No money? Just mods! Enjoy your game!