...

View Full Version : How to display the address bar in the pop up window?



Flashchick
03-16-2004, 01:35 PM
Hi all,
A quick one...

I wuold like to display the address bar in my pop up window, what is the code?
I have toolbar=no and menubar=yes but I want to show the address bar.
I have tried addressbar=yes and address= yes but they don't seemd to work.

Thanks guys.

Willy Duitt
03-16-2004, 01:59 PM
location=yes

eg:

<html>
<head>
<script type="text/javascript">
//<![CDATA[
function popupform() {
var mywin=window.open('http://','', 'location=yes');
mywin.focus();
}
//]]>
</script>
</head>
<body>

<form>
<input type="button" value="Click" onclick="popupform()" >
</form>
</body>
</html>

.....Willy

Flashchick
03-16-2004, 02:00 PM
Thank you!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum