Tutorial Auto-Open New Tab
Posted on Tuesday, June 14, 2011| ✎ 0 Awesome
 
hai,, korang sihat xxx?? ok bagos lah.. coz korang leh edit blog korang..!! maksud?*ntah*
keh3.. so korang nk cubo ke tutor yang.. ni? if korang x paham tutor ape benda ni..!! camni *baik konon* korang cube klik kat link mane2.. die pergi new page/tab.. hehehe..!! so
sape2 nk baud jom ikut tutor ni..!! *malas dah ni - -"*

  •  Dashboard > Design > Page Elements > Add Gadget > HTML/Javascript
  •  Copy code ini
<!-- 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>

  • Pastekan ke dalam HTML/Javascript tadi
  • Dan SAVE
  • siap dah,, so? ok jer kan2? ok go0d..
bye bye..!!

no credit plez...! k








 
« Newer Posts | Older Post »
I'm Girl
Assalamualaikum:)
My name Anis for short :) My age is 12 years old! UPSR IS COMING @_@ just follow me if you like this blog and i will follow back :D
|
Facebook


My Heart♥
Creadit
Please notice me! if i not credit your stuff :)
Designer : Anis Maisarah
Background : Una
Header : Iyra
Doodle : Apple
Best View : Google Chrome