How can I do this?
In firefox the link opens in a new tab... I don\'t want users to have to set settings of their browsers for this...
I want a pop-up to app
This is also easy way but link is not visible it is appropriate for button action
<a onclick="window.open('print.html', 'newwindow', 'width=300,height=250');"> Print</a>
I believe this is a browser-only setting that cannot be set from HTML or Javascript.
Best way to to open a new window in HTML.
<a href="#" onclick="MM_openBrWindow('http://www.google.com','','resizable=yes,width=800,height=600')"> Google</a>
<script>
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>