Ich benötigte eine flexible Funktion um beliebig viele Popups aufzurufen, leider meldet mir der IE bei folgendem Code immer Objekt erwartet - kann mich jemand korrigieren?
<script type="text/javascript">
<!--
var wnd_rand = 0;
var wnd_handle = "Wnd0";
wnd_rand = math.random()*1000000;
wnd_rand = math.round(wnd_rand);
function dl(id, counter) {
wnd_handle = "Wnd" + wnd_rand;
wnd_rand = window.open(("dl.php?id=" + id + "&c=" + counter),"DownloadCounter","width=450,height=130,hotkeys=no,dependent=yes,location=no,menubar=no,resizable=no,scrollbars=no,statusbar=yes,toolbar=no");
}
//-->
</script>
Bin noch ein JS-Newbie...
Ich will einfach nur beliebig viele Popups starten per dl(id,counter);