Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Re: OT - How was this done???! |
| From: | Michael Penne |
| Date: | Thu, 9 Sep 1999 22:29:16 +0100 |
Even more trivial for me as his auto detect script didn't work on my
mac, NS 4.08, SW 7.02 INSTALLED. Honestly, my feeling is that people
should avoid using these idiot autodetect javascripts or at least put a
link on the get SW site to the effect of 'What, you already _have_ the
latest SW plug and my stupid script failed to detect it? Sorry, click
here to go the shocked site.'
Can you tell that failed autodetect scripts along with shockmachine
bloatware are seriously pissing me off lately (doubt I'm alone....)!
--- Ian Chia <ian
> 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
> help
> 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
>
>
===
2D/3D/Flash/etc...
http://www.humboldt.edu/~mmp5
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
------------------------------------------------------------------------
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
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

