HOMEPAGE
THE AUTHOR
FREEBIES
TUTORIALS
DESIGN PROCESS
PORTFOLIO

Tutorial Open At New Tab.


Assalamualaikum. Today, aten nak buat tutorial open at new tab for you all. Tanpa melengahkan masa, jum kita tengok tutorial ni.

For Simple Template/Denim/Washed Denim

1. Dashboard > Design > Add A Gadget > Pilih HTML Javscript

2. Copy code bawah ni then paste dekat dalam code HTML Javascript tu .
<!-- 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>

3. Then terus save! Takmau letak title k :)

For Classic template/Blogskin

1. Dashboard > Template

2. Tekan ctrl+f then search this code :
<head>

3. Lepastu, copy code bawah ni then paste dekat bawah code <head> :
<base target='_blank'/>

4. Last step, tekan save button :]

- Kalau dah guna tutorial ni, jangan lupa tinggalkan komen yerr ^^
Tutorial classic credit to : Faqihah

15 comments:

Terima kasih atas komen yang diberikan. Jangan lupa datang lagi untuk cerita yang terbaru. Salam sayang dari owner blog

 
Thankyou for visiting | Template made by Fatin Hazwani.