10 April 2010
Dropdown New Window
hak milik
Sue
Assamualaikum , Msue nak kongsi lagi ngan korang sume bagaimana nak buat dropdown dibuka ngan window baru . Tutorial ni dibuat diatas pertanyaan Cik Anis Emo Starz .
1. Login ke Blogspot .
2. Klik Layout - Add a Gedget - Javascript / HTML
3. Copy kod di bawah
<form action="../">
<select
onchange="window.open(this.options[this.selectedIndex].value,'targetWINDOW');this.selectedIndex=0;">
<option>GENG AYAM</option>
<option value="http://www.norzen.blogspot.com/">WA GUA</option>
<option value="http://www.google.com/">GOOGLE</option>
<option value="http://www.altavista.com/">ALTAVISTA</option>
<option value="http://www.allposter.com/">ALLPOSTERS</option>
<option value="http://twitter.com/">TWITTER</option>
</select>
</form>
<form action="../">
<select
onchange="window.open(this.options[this.selectedIndex].value,'targetWINDOW');this.selectedIndex=0;">
<option>GENG UNTA</option>
<option value="http://www.photobucket.com/">PHOTOBUCKET</option>
<option value="http://www.gmail.com/">GMAIL</option>
<option value="http://www.imzroomz.blogspot.com/">IMZROOMZ</option>
<option value="http://www.nrl-sue89.blogspot.com/">LIFEISHARD</option>
<option value="http://msueradio.blogspot.com/">MSUERADIO</option>
</select>
</form>
<form action="../">
<select
onchange="window.open(this.options[this.selectedIndex].value,'targetWINDOW');this.selectedIndex=0;">
<option>GENG KUDA</option>
<option value="http://www.yahoo.com/">YAHOO</option>
<option value="http://www.mylook.com/">MYLOOK</option>
<option value="http://www.msuroomz.blogspot.com/">MSUEROOMZ</option>
<option value="http://www.facebook.com/">FACEBOOK</option>
<option value="http://msuegamescorner.blogspot.com/">MSUEGAMES</option>
</select>
</form>
Note: Pada highlight , tukarkannya mengikut kehandak korang . Highlight hijau adalah dropdown yang pertama , biru dropdown kedua dan merah adalah dropdown ketiga
4. Pastekan kedalamanya
5. Save dan Preview .
1. Login ke Blogspot .
2. Klik Layout - Add a Gedget - Javascript / HTML
3. Copy kod di bawah
<form action="../">
<select
onchange="window.open(this.options[this.selectedIndex].value,'targetWINDOW');this.selectedIndex=0;">
<option>GENG AYAM</option>
<option value="http://www.norzen.blogspot.com/">WA GUA</option>
<option value="http://www.google.com/">GOOGLE</option>
<option value="http://www.altavista.com/">ALTAVISTA</option>
<option value="http://www.allposter.com/">ALLPOSTERS</option>
<option value="http://twitter.com/">TWITTER</option>
</select>
</form>
<form action="../">
<select
onchange="window.open(this.options[this.selectedIndex].value,'targetWINDOW');this.selectedIndex=0;">
<option>GENG UNTA</option>
<option value="http://www.photobucket.com/">PHOTOBUCKET</option>
<option value="http://www.gmail.com/">GMAIL</option>
<option value="http://www.imzroomz.blogspot.com/">IMZROOMZ</option>
<option value="http://www.nrl-sue89.blogspot.com/">LIFEISHARD</option>
<option value="http://msueradio.blogspot.com/">MSUERADIO</option>
</select>
</form>
<form action="../">
<select
onchange="window.open(this.options[this.selectedIndex].value,'targetWINDOW');this.selectedIndex=0;">
<option>GENG KUDA</option>
<option value="http://www.yahoo.com/">YAHOO</option>
<option value="http://www.mylook.com/">MYLOOK</option>
<option value="http://www.msuroomz.blogspot.com/">MSUEROOMZ</option>
<option value="http://www.facebook.com/">FACEBOOK</option>
<option value="http://msuegamescorner.blogspot.com/">MSUEGAMES</option>
</select>
</form>
Note: Pada highlight , tukarkannya mengikut kehandak korang . Highlight hijau adalah dropdown yang pertama , biru dropdown kedua dan merah adalah dropdown ketiga
4. Pastekan kedalamanya
5. Save dan Preview .
Tinggalkan Komen Anda Disini