Forum Moderators: open

Message Too Old, No Replies

window.open :: toolbar=yes Not working for me!

         

K_Patel

6:30 pm on Jul 28, 2006 (gmt 0)

10+ Year Member



I have this code which is not working for me, the page is displayed in full screen but I am not able to view the Toolbar?

<SCRIPT LANGUAGE = "JavaScript">

function fullScreen ( theURL )
{
window.open ( theURL, "", "toolbar=yes, fullscreen=yes, scrollbars=yes" ) ;
}

</SCRIPT>

<BODY onLoad="fullScreen ( 'Index.html' )">

Fotiman

8:51 pm on Jul 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You are specifying the fullscreen=yes, which means exactly that... full screen. That is, there are not toolbars, etc. You should generally avoid this setting (in my opinion) as it doesn't give the user an easy way to close it.

Also, it's technically not valid to include spaces in the string, so remove the spaces after your commas.