window.open question

  • Thread starter Thread starter Tom Jackson
  • Start date Start date
T

Tom Jackson

A window.open() on my main page (default.aspx) in the onClick of an <a>
works but the exact same code in a different page doesn't work. Any Ideas?

Thanks,

Tom
 
When it works, it opens the new window. When it doesn't, absolutly nothing
happens.

The code is html in a aspx label (part of the menu system):
aspxText.Append("<tr><td><a class=\"leftAnchor\" href=\"glossary.aspx\"
onclick =\"window.open('glossary.aspx','dialogPopup','height=250,
width=250,status=no, resizable=no, scrollbars=no,
toolbar=no,location=no,menubar=no');window.event.returnValue =
false;\">Glossary</a><br /><br /></td></tr>");
 
Back
Top