window.open question

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
 
T

Tom Jackson

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>");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top