Tutorial : Automatic New tab When Click Link

Tutorial : Automatic New tab When Click Link


1.Template --> Edit Html --> Tick Box Code --> CRTL+F

2. Cari kod ini :
<head>
3. Kalau dah jumpa... copy code di bawah :
<base target='_blank'/> 
4. Paste Kod tersebut di bawah kod <head>

5. Preview dulu.. try click link korunk jadi tak ? ?
kalau jadi tak ada error.. SAVE ! :)

atau Guna Add Gadget :

1. Dashboard --> Layout --> Add a Gadget --> Html JavaScript

2. Copy kod kat bawah nih masuk HTML/JavaScript tadi. 
<!-- code for turning all non-blog links to new page links --><script type="text/javascript" language="javascript">var arr = document.getElementsByTagName("a"); //get all links in the pagefor(var i = 0; i < arr.length; i++){if(arr[i].href.indexOf("Your URL") < 0 //not links that are 'inside' blog&& arr[i].href.indexOf("javascript:") < 0) //not javascript linksarr[i].target = "_blank";}</script>
3. CTRL+C untuk Copy.

4. You are DONE babe !

p/s : Bila dah buat tuto nih , klik lar link mana pown kat blog kamu mesti naik tab..


Senang aja kan ? ? Good Luck semua ! 
dah jadi , inganka jari untuk memberitahu Nurrul :)


2 comments

ღ Nice to see , nice to read ,
Once comment , I will hit you back ! :D
Its that true my poem ? HAHA. Ignore it..

Thanks , I love you all !