PAKCIK MAKCIK COMEL

Sabtu, 20 Ogos 2011

AUTO OPEN LINK IN NEW TAB

Assalammualaikum. Ni sebagai rujukan aku je. tapi kalau korang nak rujuk pun bolehhhhhh~ haha

steps :-


Dashboard
Design.
Add gadget
HTML/JAVASCRIPT
copy & paste code kat bawah ni.

<!-- 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>
save

 ~MAAF KIRANYA TERKASAR BAHASA. SEGALA KESULITAN AMAT DIKESALI~

1 ulasan:

anamizu berkata...

cantik bground blockquote ni..
belang2..hee~


_________________ ____
Related Posts Plugin for WordPress, Blogger...

wibiya widget