hello. I know that this is mostly for flash, but I thought that maybe someone here could help me. I wanted to know how to open a window in full screen from a button in html created in dreamweaver. I have this script:
hi Hunnie… bear with me if i’ve got the wrong end of the stick, but here’s some code that’ll do what i think you are after:
first of all, some javascript to put in the ‘head’ of the page:
<script>
<!--
function winopen()
{
var targeturl="your_page_here.html"
newwin=window.open("","","scrollbars,toolbar,status")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>
this will open a page you define (the ‘targeturl’) full screen (the top left corner of the new window is positioned at coordinates ‘0,0’ on your screen, i.e. in the very top left of the screen); if you don’t want the new window to show any toolbars or buttons, just remove the ‘scrollbars,toolbar,status’ part
you ‘call’ this function by writing an html link as follows…