New Window??

liunx

Guest
I have a link. I want to implement this link in that way so that when I will click it, it will creat a new window without any address bar or any other bar. Suppose that window just contain a picture of a Building. How to do that?<!--content-->Like this:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"newpage.htm" onclick="window.open(this.href,'winname','height=300,width=400,scrollbars=1'); return false;">Open</a><!--content-->Thank you for your information. How do I disable the minmize and maximise option of that new window.<!--content-->In, IE, you can use something like this to create a chromeless popup: <!-- m --><a class="postlink" href="http://www.infinitypages.com/research/borderlesspopup.htm">http://www.infinitypages.com/research/b ... spopup.htm</a><!-- m --> In other browsers, I think you are pretty much out of luck...<!--content-->Well I am trying the following code using a function so that I can resize the window without modifying the original function. But it's giving me an error. Any suggestion?<br />
<br />
<br />
<br />
<html><br />
<head><br />
<script type="text/javascript"><br />
function open_win(href,menubar,height,width)<br />
{<br />
window.open(href,"my_new_window","toolbar=no, location=no, directories=no, status=no, menubar="+menubar+", scrollbars=yes, resizable=no, copyhistory=no, width="+width+", height="+height+" ")<br />
}<br />
</script><br />
</head><br />
<br />
<body><br />
<a target="_blank" href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.php.net" onClick="open_win(this.href,yes,400,600);return false;">Open PHP</a><br />
</body><br />
<br />
</html><!--content-->
 
Back
Top