Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Add Menu Buttons [Support] (20th Oct 08 at 7:05pm UTC) Resolved | | In the Menu area you click on the website button it opens in the same window as the forum, I need it to open in a blank tab.
Code: - <script>
- /*Add Menu Buttons
- Created By Wrighty
- support.virtualforums.co.uk*/
-
- var menu = document.getElementById('welcome_table').getElementsByTagName('td')[2];
-
- function do_menu(img_src,link){
- menu.innerHTML+= " :: <a href="+link+"><img src='"+img_src+"' border=0></a>";
- }
-
- do_menu('http://i185.photobucket.com/albums/x20/magedesigns/website-1.gif','http://fdestiny.webs.com/');
- </script>
-
Thanks | |
|
ashkir Full Member
Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 35 Joined:
pmskypemsnyahoo | Re: Add Menu Buttons [Support] (20th Oct 08 at 7:52pm UTC) | | Find: menu.innerHTML+= " :: <a href="+link+"><img src='"+img_src+"' border=0></a>";
Replace With: menu.innerHTML+= " :: <a href="+link+" target=_blank><img src='"+img_src+"' border=0></a>"; | |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Add Menu Buttons [Support] (21st Oct 08 at 5:13am UTC) | | Thanks it worked | |
|