Pop Up Window difficulty pleaaase help.
I no, this is a amateur problem one that is possibly worth a laugh for you vets, regardless I'm a graphics and flash guy not a coder (even html/dhtml)
heres my problem.
http://www.dynamicdrive.com/dynamicindex8/popwin.htm
I'm using this script.
I have a Splash (intro) page (located here http://www.kingstonpulse.com/Splash.html) I want my two images on this page to launch my portfolio (located at: http://www.kingstonpulse.com/Portfolio.html) in a pop up window with these specifications obtained by the code generator at the dynamicdrive website listed above (4th line):
<script language="javascript" type="text/javascript">
<!--
/****************************************************
Author: Eric King
Url: http://redrival.com/eak/index.shtml
This script is free to use as long as this info is left in
Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,re sizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>
I want the splash page to have the two images "launchwithintro.jpg and launchwithoutintro.jpg" to launch the popup site and it wont. I even tried just with text at the top and it doesnt even work.
I suck at programming as previously mentioned.. please if some one could help that would be wonderful!!