Tutorial : Open New Tab When Cursor Click the link
1. DAshbord > Design > Add A Gadget > HTML JavaScript2. Copy [CTRL+C serentak] kod kat bawah ni, dan pastekan [CTRL+V serentak] di dalam ruangan HTML/JavaScript tadi 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. Save.
Older Post | Newer Post