hahh ? ape tuh yer ? open at new tab ? okeh actually when korunk click jer button cam tuto una kann ? terus dia automatic bukak kat tab lain kann ? soo ini lah fungsi code nie yaa ? soo , jom kita mulakan yaaa ?
firstly korunk pergi ke Dashboard > Design > Page element then Add gadget > search and click for HTML/Javascript thenn ape yang korunk perlu buat hanya lah copy code di bawah ini dan paste kan sahaja di dalam ruangan HTML/Javascript tuhh yaaa ?
<!-- 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 page
for(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 links
arr[i].target = "_blank";
}
</script>
dah selesai kan ? save lahh :) then cube click maner2 link korunk :) hahh , kan dia keluar kat new tabb :) mudah hahh keje nyer ^^
thx ! ^_^ menjdi
ReplyDeletethanx...jAdi2..:)
ReplyDeletejadi , tapi nak tgok new tab mcm mana
ReplyDeletethank u una.. :)
ReplyDeletethank menjadi sgt :)
ReplyDeletekak una, yang ("Your URL")
ReplyDeletenak letak URL ape yer???
maaf kalau menyusahkan kak una..^^
amy guna tuto niey yerp :)
ReplyDeleteThanks , Kak Una :D
ReplyDeleteOkay, jadikk. Thanks, tuto kak una senang nak faham laa :)
ReplyDeletexjadik
ReplyDeletethank ou
ReplyDelete