Is there a code/way to get a banner link when clicked on to open to a new window or pop up instead of loading the link in the same window automatically?
Thanks!
instead of putting:
http://www........... as the link
Try
javascript:window.open('http://www...','NameIt');
http://www........... as the link
Try
javascript:window.open('http://www...','NameIt');
Depends if you want to keep W3C compliant in an XHTML template
Target blank is fine in HTML4/5 etc but not XHTML
Target blank is fine in HTML4/5 etc but not XHTML
Thanks for the info on the above. When i use the javascript:window.open.... it opens the link in a new window, but the original page displays the text [object] on a white background, rather than continuing to display the original page - any ideas why this might be the case? Many thanks for your help....
Try the following syntax instead
javascript:void(window.open('http://www.opencart.com','name'));
javascript:void(window.open('http://www.opencart.com','name'));
Thank you so much!!!
Logo Printed / Embroidered T-Shirts
Polo Shirts, Sweatshirts & Hoodies
http://www.tmart.in
Who is online
Users browsing this forum: Bing [Bot] and 124 guests