Przyklad:
Klikamy na link i otwiera sie w nowym okienku strona. Minimalizujemy to okienko. Ponownie klikamy w link i okienko ma ponownie sie wywolac.
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+', toolbar='+toolbar_str+',menubar='+menubar_str+', status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
<a onclick="na_open_window('button', 'nowe_okno_htm', 0, 0, 450, 450, 0, 0, 0, 0, 0);"> link </a>
Szukalem na forum, ale nie znalazlem takiego problemu. Prosze o pomoc.