Log in

View Full Version : popup window help stop resizing and toolbars etc



hall2003
09-03-2007, 11:02 PM
below is my code, i need to stop thge popup window from being able to be resized and seeing toolbars etc, also the table width and height isnt working for some reason.

any help woud be great cheers.

------------------------------------------------------------


<script language="javascript" type="text/javascript">
<!--
function popitup(url)
{
newwindow=window.open(url,'name',"","width=,height=,resizable=no")
if (window.focus) {newwindow.focus()}
return false;
}

// -->
</script>

<p align="center">


<div align="center"><a target="_blank" onMouseOver="this.style.cursor='hand';" onclick="return popitup('http://www.google.com')">google</a></div>

chechu
09-04-2007, 10:41 AM
(url,'name',"","width=,height=,resizable=no")(url,'name',"","width=100px,height=200px,resizable=no,toolbar=no")

hall2003
09-05-2007, 01:56 PM
i dont no why but that doesnt work fr me, the page wont resize and i cant see to set the page size or anything.......

does any 1 have a popup script that will only allow 1 popup to open at one time within or open other popups but use the existing popup that was already open instead of opening a new 1???

please help