qim
I read elsewhere something about a MoveTo() Would that be any good?http://www.w3schools.com/jsref/met_win_moveto.asp
Does not work; same limitation as mentioned above seems to apply.
if(this.className.match('popup')) { var w=this.dataset.dimensions.split(',')[0]; var h=this.dataset.dimensions.split(',')[1]; var l=(screen.width-w)/2; var t=(screen.height-h)/2; //h=h/2; l=200; t=800; var features='width='+w+',height='+h+',left='+l+',top='+t+',scrollbars=1'; mywindow=window.open(this.href,'newwindow',features); mywindow.moveTo(0,1000); mywindow.focus(); return false; }
Note:
it will not go below the Windows Taskbar. I'm too lazy to switch to Linux to check the behaviour. But it does not really matter as it should be independent of the environment that a visitor uses to view the site.