J
JJ
Dear all,
I have this weird problem on the website I maintain....
A few visitors seemed to be unable to XS the website. It has a front image,
with a link underneeth it saying: click here to continue.
The "click here to continue" line is a link, when people click on it, you
guess it: a pop up menu will apear...
The old script I used was:
<script LANGUAGE="JavaScript">
<!--
function DaanWindow1(wintype) {
SmallWin=window.open(wintype,"SmallWin","toolbar=yes,directories=no,status=yes,scrollbars=yes,menubar=no,width=800,height=450");
SmallWin.window.focus() }
// -->
</script>
</HEAD>
<A HREF="javascriptaanWindow1('html-menu.htm)">
After a couple of complaints, I changed it to:
<script language="javascript" type="text/javascript">
<!--
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,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>
with a link made:
<a href="html-menu.htm"
onclick="NewWindow(this.href,'daan','800','450','no','center');return false"
onfocus="this.blur()"><font face="Verdana" size="1" color="#FFFFCC">...click
here to continue...</font></a>
And still a few visitors keep on saying:
"We are both using PC systems runing WindowsXP and Internet Explorer 6
browser. The first page opens, but when we click on the
link that says "click here to continue...." nothing happens."
Is there an alternative, compatible script available? Any help would be
gladly appriciated!
Regards
JJ
I have this weird problem on the website I maintain....
A few visitors seemed to be unable to XS the website. It has a front image,
with a link underneeth it saying: click here to continue.
The "click here to continue" line is a link, when people click on it, you
guess it: a pop up menu will apear...
The old script I used was:
<script LANGUAGE="JavaScript">
<!--
function DaanWindow1(wintype) {
SmallWin=window.open(wintype,"SmallWin","toolbar=yes,directories=no,status=yes,scrollbars=yes,menubar=no,width=800,height=450");
SmallWin.window.focus() }
// -->
</script>
</HEAD>
<A HREF="javascriptaanWindow1('html-menu.htm)">
After a couple of complaints, I changed it to:
<script language="javascript" type="text/javascript">
<!--
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,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>
with a link made:
<a href="html-menu.htm"
onclick="NewWindow(this.href,'daan','800','450','no','center');return false"
onfocus="this.blur()"><font face="Verdana" size="1" color="#FFFFCC">...click
here to continue...</font></a>
And still a few visitors keep on saying:
"We are both using PC systems runing WindowsXP and Internet Explorer 6
browser. The first page opens, but when we click on the
link that says "click here to continue...." nothing happens."
Is there an alternative, compatible script available? Any help would be
gladly appriciated!
Regards
JJ