Need a little help with this scipt
Hey all, I came across this free script for centering pop up's and it works great but I want to disable the ability to resize the popup. here is the script:
Code:<script language="javascript">
/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}</script>
and here is the code in the body for the pop up:
Code:<a href="slideshowweb.html" class="style1" onclick="NewWindow(this.href,'slideshowsmall','320','240','no');return false">Dial-up</a>
Any ideas? I have tried removing " ,resizable' " from the script but then that causes the pop up to be a full page. I'm not very good with scripts and I know it's got to be something easy. I tried tracking down the creator of the script but any links I found go to some insurance website. Thanks in advance for any suggestions you may have!
