Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Fullscreen on Web
From: John Stanley
Date: Fri, 12 May 2000 18:33:18 +0100

i have to say that i love hanging with you, i think we crack each other up a
bit too much for our own good...what do you think ?

-----Original Message-----
From: calinatlevel7 [dot] datagroup [dot] ro [calinatlevel7 [dot] datagroup [dot] ro (mailto:calinatlevel7 [dot] datagroup [dot] ro)]
Sent: Friday, May 12, 2000 3:44 AM
To: flasheratchinwag [dot] com
Subject: RE: FLASH: Fullscreen on Web


Hi Thomas. The error in your code is way more obvious than you would think.
In Javascript, unlike VBScript, each line of code should end in a semicolon
(not the lines where a function begins or ends with a "{" though.

Therefore your code should look like:

<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>

I tested it on both IE5 and NS4 and it works.

HTH,
Calin

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 helpatchinwag [dot] com

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 helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]