Okna ...... různá okna různých velikosti automatickým otevřením stránky !!!


Jak vidíte okno jde otevřít různým způsobem,
různou velikostí a s různým nastavením Internet Exploreru :-))


HTML kod :
<SCRIPT language=JavaScript>
<!--
function TripodShowPopup() {
// vars for browser detect
var bName=navigator.appName;
var bVer=parseInt(navigator.appVersion);
// open the popup window. stick a timestamp to foil caching. Some versions of Netscape do not automatically load
// the page specified by the URL paramter of wondow.open(). As such, we create the window empty, then explicitly load
// the page with the location object
var now = new Date();
var popupURL = "*.htm";
var popupName = "TripodPopup";
// browser detect loads differently sized window for netscape 3.x
if (bName=="Netscape" && bVer<=3) {
var popup = window.open("", popupName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=xxyy,height=xxyy');
} else {
var popup = window.open("", popupName,'toolbar=0,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=xxyy,height=xxyy');
} popup.location = popupURL;
} TripodShowPopup();
// -->
</SCRIPT>



*.htm ... vámi zadaná url cesta ke stánce, kterou chcete aby se ve zvolené velikosti otevřela
xxyy ... velikost otevřeného okna


Pokračujte kliknutím na tlačítko ENTER !




© 2000 ERROR