window.open() call isn't working

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9102
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Okay I am having a problem getting my javascript code to open this new window. I have looked at this code a million times and cannot figure out why its not working. Here is the code

Code: [ Select ]
<a href="#" onclick="window.open("mailing-list/template.html","_blank","toolbar=0, location=0, status=0, menubar=1, scrollbars=1, resizable=1, width=400, height=200");"><img src="images/logo.gif" width="78" height="78" alt="Logo" border="0"></a>
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9102
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

ohhhhh nevermind haha, I see the problem I am using the same quotes withing quotes. The code should be like

Code: [ Select ]
<a href="#" onclick="window.open('mailing-list/template.html','_blank','toolbar=0, location=0, status=0, menubar=1, scrollbars=1, resizable=1, width=400, height=200');"><img src="images/logo.gif" width="78" height="78" alt="Logo" border="0"></a>


Guess that is what happens later at night. I forget the most basic rules :roll:
  • MediaDesign
  • Loser
  • Loser
  • User avatar
  • Posts: 129
  • Loc: somewhere

Post 3+ Months Ago

[blur]:lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: [/blur]

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 55 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.