Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Re: OT - How was this done???! |
| From: | Dickinson (Marcus) |
| Date: | Thu, 9 Sep 1999 15:37:27 +0100 |
www.mediaboy.net
----- Original Message -----
From: Jim Antonopoulos <jim
To: <flasher
Sent: September 9, 1999 9:55 AM
Subject: RE: FLASH: Re: OT - How was this done???!
> Where is mediaboy?
>
>
>
>
> ***
> Jim Antonopoulos
> e: jim
> icq: 284800
> ***
> Sausage Interactive
> The Tea House
> Level 2
> 28 Clarendon Street
> South Melbourne
> ***
> w. 9690 7711
> m. 0414 660 934
>
>
>
> -----Original Message-----
> From: owner
> Sent: Thursday, September 09, 1999 10:16 PM
> To: flasher
> Subject: FLASH: Re: OT - How was this done???!
>
>
> Jim wrote:
>
> > Subject: FLASH: How was this done???!
> >
> > www.boo.com
>
> Pretty trivial really.
>
> This is the juicy bit.
>
> // RESIZE FUNCTIONS
> function startRESIZE() {
> if (Net4) {rezNETx = setInterval('resizeNETx();', 25);}
> else if (Int4) {rezINTx = setInterval('resizeINTx();', 25);}
> }
>
> ...
>
> // if you're on Netscape
> function resizeNETx() {
> if (self.innerWidth >= 400 && self.innerWidth <= 700)
> {self.resizeBy(20,0); self.moveBy(-10,0);}
> else if (self.innerWidth > 700 && self.innerWidth <= 730)
> {self.resizeBy(16,0); self.moveBy(-8,0);}
> else if (self.innerWidth > 730 && self.innerWidth <= 740)
> {self.resizeBy(12,0); self.moveBy(-6,0);}
> else if (self.innerWidth > 740 && self.innerWidth <= 750)
> {self.resizeBy(10,0); self.moveBy(-5,0);}
> else if (self.innerWidth > 750 && self.innerWidth <= 760)
> {self.resizeBy(8,0); self.moveBy(-4,0);}
> else if (self.innerWidth > 760 && self.innerWidth <= 770)
> {self.resizeBy(6,0); self.moveBy(-3,0);}
> else if (self.innerWidth > 770 && self.innerWidth <= 780)
> {self.resizeBy(4,0); self.moveBy(-2,0); setTimeout('cleanUP();', 750);}
> else if (self.innerWidth > 780 && self.innerWidth < 800)
> {self.resizeBy(2,0); self.moveBy(-1,0); setTimeout('cleanUP();', 750);}
> else if (self.innerWidth >= 800) {clearInterval(rezNETx);
> document.location.href = 'intro2.html';}
> }
>
> function cleanUP() {
> clearInterval(rezNETx); self.resizeTo(800,400); self.moveBy(-5,0);
> document.location.href = 'intro2.html';
> }
>
> See the whole source at:
>
> view-source:http://www.boo.com/intro.html
>
> (You don't have to right click anything. Just enter the
> link in a v4 browser.)
>
> Cute illusion though. They could've put a bit more
> work into the code and centered it on the screen
> whilst resizing the window. Similar cute windowing
> tricks at Mediaboy.
>
> - Ian
>
> Beatnik Xtra Architect,
> Beatnik, Inc.
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manager
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manager
>
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manager
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manager
>
>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
RE: FLASH: Re: OT - How was this done???, Jim Antonopoulos
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

