Home | All Questions | alt.html FAQ >

How do I open a link into fullscreen window?

Here is the code required to open a _new_ window to full screen:

<script type="text/javascript">
function openme(link){

w = screen.width;
h = screen.height;
ah = h - 25;

nw=window.open(link,"fullscreen",'toolbar=yes,location=yes,
directories=yes,menubar=yes,scrollbars=yes,status=yes,
resizable=1,width='+w+',height='+ah);
window.nw.moveTo(0,0);

}
</script>

<a href="sponsor.html"
onclick="openme('sponsor.html'); return false;"
 target="_blank">See our list of sponsors (in a full window)</a>

Recommended Resources

Discussion

Related Questions