Flasher Archive

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


Subject: Re: FLASH: OT: Please explain how to do this
From: Wayne Pennell \( Web Master \)
Date: Thu, 27 Jul 2000 19:39:44 +0100

Here is their code


<script>
// BrowserCheck Object
function BrowserCheck() {
var b = navigator.appName
if (b=="Netscape") this.b = "ns"
else if (b=="Microsoft Internet Explorer") this.b = "ie"
else this.b = b
this.version = navigator.appVersion
this.v = parseInt(this.version)
this.ns = (this.b=="ns" && this.v>=4)
this.ns4 = (this.b=="ns" && this.v==4)
this.ns5 = (this.b=="ns" && this.v==5)
this.ie = (this.b=="ie" && this.v>=4)
this.ie4 = (this.version.indexOf('MSIE 4')>0)
this.ie5 = (this.version.indexOf('MSIE 5')>0)
this.min = (this.ns||this.ie)
}
is = new BrowserCheck()

var splashWin;

function openwinnowin(theurl, wname, W, H) {
s = "width="+W+",height="+H;
r = (is.ie) ? ",resizable=0" : ",resizable=1"

windowW = W;
windowH = H;
windowX = (window.screen.width - windowW) / 2;
windowY = (window.screen.height - windowH) / 2;

splashWin = window.open("#", wname,
'fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollba
rs=0,'+s+r);

splashWin.blur();
splashWin.resizeTo( Math.ceil( W ) , Math.ceil( H ) )
splashWin.moveTo( Math.ceil( windowX ) , Math.ceil( windowY ) )

splashWin.document.open();
splashWin.document.write("<style type='text/css'>\n");
splashWin.document.write("body { overflow: hidden; border-style: none;
border-width: 0px; margin: 10;}\n");
splashWin.document.write("#lineLDiv { position: absolute; left:
0px; top: 0px; width: 1px; height: "+H+"px; z-index: 2;
background-color: #000000; layer-background-color:#000000;
clip:rect(0,1,"+H+",0);}");
splashWin.document.write("#lineRDiv { position: absolute; left:
"+(W-1)+"px; top: 0px; width: 1px; height: "+H+"px; z-index: 2;
background-color: #000000; layer-background-color:#000000;
clip:rect(0,1,"+H+",0);}");
splashWin.document.write("#lineBDiv { position: absolute; left:
0px; top: "+(H-1)+"px; width: "+W+"px; height: 1px; z-index: 2;
background-color: #000000; layer-background-color:#000000;
clip:rect(0,"+W+",1,0);}");
splashWin.document.write("#lineTDiv { position: absolute; left:
0px; top: 0px; width: "+W+"px; height: 1px; z-index: 2;
background-color: #000000; layer-background-color:#000000;
clip:rect(0,"+W+",1,0);}");
splashWin.document.write("#stillloadingDiv { position: absolute; left:
0px; top: "+Math.ceil(H/2)+"px; width: "+W+"px; height: "+H+"px; z-index: 1;
background-color: #C0C0C0; layer-background-color:#C0C0C0;
clip:rect(0,"+W+",19,0);}");
splashWin.document.write("</style>\n");
splashWin.document.write("<body
onload=\"self.document.location.href='"+theurl+"'\">");
splashWin.document.write("<div id='lineLDiv'></div>");
splashWin.document.write("<div id='lineRDiv'></div>");
splashWin.document.write("<div id='lineBDiv'></div>");
splashWin.document.write("<div id='lineTDiv'></div>");
splashWin.document.write("<div id=stillloadingDiv><table width=100%
height=22 cellspacing=0 cellpadding=0><tr><td align=right valign=middle><img
src='http:\/\/www.microbians.com\/img\/loading.gif' width=19 height=19
hspace=10></td><td align=left valign=middle width=100%><FONT size=1
face=verdana color=#000000>l o a d i n g . .
.</font></td></tr></table></div>");
splashWin.document.write("<body>");
splashWin.document.close();

splashWin.focus();
}
</script>



-W
----- Original Message -----
From: "Stuart Mayhew (Garanti Teknoloji)" <stuartmatgaranti [dot] com [dot] tr>
To: <flasheratchinwag [dot] com>
Sent: Thursday, July 27, 2000 9:55 AM
Subject: FLASH: OT: Please explain how to do this


> Hi all,
> I have come across a site which baffles me http://www.microbians.com/ how
do you create a browser_less swf file???????like this the site is worth
looking at as well............
>
> regards
>
> Stuart
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: OT: Please explain how to do this, Stuart Mayhew (Garanti Te

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