auni athirah





tutorial open at new tab
Rabu, 21 Disember 2011 | 0 comment(s)


hey semua , hari ni auni nk tuto psl open at new tab . jom :)


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 :]



Tutorial classic credit to :Fatin Hazwani




Older Post . Newer Post