HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: window.open bug??
Author: Xavier Roche
Date: 10/04/2003 14:44
 
> Is this just my bad script? I tried single quotes and 
> double quotes but I can't get the latest build of HTTrack 
> to parse the URL 'giftfair.htm' in my popup window. 

I tried with 3.30-RC18-2 and it seems to work fine. Which 
build release did you try?


function giftfair(){
	var w=400;
	var h=120;
	var LeftPosition = (screen.width) ? (screen.width-
w)/2 : 0;
	var TopPosition = (screen.height) ? (screen.height-
h)/2 : 0;

window.open('../../external.html?link=http://linux.localnet.loc/~roche/giftfair.htm','giftfai
r','height='+h+',width='+w+',top='+
TopPosition+',left='+LeftPosition+',scrollbars=no');
}

 
Reply Create subthread


All articles

Subject Author Date
window.open bug??

09/25/2003 03:23
Re: window.open bug??

10/04/2003 14:44




5

Created with FORUM 2.0.11