M
Mehmet Gunacti
Hello,
on our homepage, when pressing an anchor tag, a special sized popup
window opens via javascript. but it opens very slowly.
on other web pages, there are also javascript-opened windows, but they
load very very fast, within 2-3 seconds.
i tried several things such as :
// directly in href attribute
<a href="javascript:window.open('the_url','','toolbar=0, location=0,
directories=0, status=0, menuBar=0, scrollBars=1, resizable=0,
width=624, height=500, top=15');">test1</a>
// in an onclick event
<a href="#" onclick="javascript:window.open('the_url','','toolbar=0,
location=0, directories=0, status=0, menuBar=0, scrollBars=1,
resizable=0, width=624, height=500, top=15');">test2</a>
// or in a function, first open popup,
// then load content into popup via reference
var anotherPopup = null;
function openAnotherPopup() {
anotherPopup = window.open('','anotherPopup','width=600,height=323,status=no,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,resizable=yes,alwaysRaised=no,screenX=20,screenY=5,titlebar=yes,z-lock=yes,left='
+ (screen.width - 728) / 2 + ',top=' + (screen.height - 586) / 2);
anotherPopup.location = "the_url";
anotherPopup.focus();
}
in the web page i've mentioned before (the one that opens popups very
fast) the first approach is used.
i use IE 6.0, windows 2000 prof and have 1 gb ram.
the popups of our site doesn't open a bit faster even no other
application is running on my system.
firefox opens the popup very fast, ok, but how does it come, that IE
6.0 opens a popup of a site much faster than the popups of another ?
can anybody help with this problem ?
on our homepage, when pressing an anchor tag, a special sized popup
window opens via javascript. but it opens very slowly.
on other web pages, there are also javascript-opened windows, but they
load very very fast, within 2-3 seconds.
i tried several things such as :
// directly in href attribute
<a href="javascript:window.open('the_url','','toolbar=0, location=0,
directories=0, status=0, menuBar=0, scrollBars=1, resizable=0,
width=624, height=500, top=15');">test1</a>
// in an onclick event
<a href="#" onclick="javascript:window.open('the_url','','toolbar=0,
location=0, directories=0, status=0, menuBar=0, scrollBars=1,
resizable=0, width=624, height=500, top=15');">test2</a>
// or in a function, first open popup,
// then load content into popup via reference
var anotherPopup = null;
function openAnotherPopup() {
anotherPopup = window.open('','anotherPopup','width=600,height=323,status=no,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,resizable=yes,alwaysRaised=no,screenX=20,screenY=5,titlebar=yes,z-lock=yes,left='
+ (screen.width - 728) / 2 + ',top=' + (screen.height - 586) / 2);
anotherPopup.location = "the_url";
anotherPopup.focus();
}
in the web page i've mentioned before (the one that opens popups very
fast) the first approach is used.
i use IE 6.0, windows 2000 prof and have 1 gb ram.
the popups of our site doesn't open a bit faster even no other
application is running on my system.
firefox opens the popup very fast, ok, but how does it come, that IE
6.0 opens a popup of a site much faster than the popups of another ?
can anybody help with this problem ?