Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Fullscreen on Web |
From: | Eric Dunham |
Date: | Fri, 12 May 2000 14:30:12 +0100 |
Actually, JavaScript does not require semicolons for most statements. Go
ahead, try it, it'll work. But back to the question at hand... The syntax
for the open() method is basically window.open(url,name,attributes); so for
you the statement would be newwin=window.open("","","toolbar,scrollbars");
So the URL is in the first set of quotes, the window name is in the second
set of quotes and all the window attributes are in the third set of quotes,
separated by commas (and also without spaces... some browsers get mad if
there are spaces in the window attributes).
HTH,
Eric Dunham
<snip>
Hi folks. Wondering how to modify the below script to make the browser
window include the "toolbar". i can't quite remember what the code is for
it. any help is appreciated.
<body BGCOLOR="#419c6c"
ONLOAD="winopen()" value="Open window">
<script>
<!--
function winopen(){
var targeturl="http://www.designabyte.com/braintank/fullscreen.html"
newwin=window.open("","toolbar","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
window.location.href = "empty.html"
}
//-->
</script>
</snip>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Fullscreen on Web, Thomas Moeller
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]