Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fresh Popup eyes please

Status
Not open for further replies.

Kaks

Technical User
Apr 24, 2001
1
GB
I have been looking at this code for a couple of days and need some a second person to clarify were I am going wrong. I have a popup window which is perfect, however, I am unable to disable the resizable paramater. I have tried the usual suspects but to no avail. This is somewhat similar to Digital Pencil post 0n the 04/22, but there was no resolution. Any ideas?? Here is the code:

<SCRIPT TYPE=&quot;text/javascript&quot;>
<!--
function NewWindow(mypage, myname, w, h, scroll) {
var winL = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'height='+h+' ,width='+w+' ,top='+wint+' ,left='+winL+' ,scrollbars='+scroll+' ,resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->
</SCRIPT>
<a href=&quot;trinidadpopup.htm&quot; a onfocus=&quot;this.blur()&quot; onClick=&quot;NewWindow(this.href,'name','250','300' ,'no');return false;&quot;>Trinidad</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top