Re: [css-d] Flash or No Flash switch?

2005-12-15 Thread Jesse Skinner
 25kB is a small smaple to test it responsibly. Some latency may distort 
 the measurment. The image can also get cached.

In the article, I suggest avoiding caching by appending a random URL 
parameter to the image (not so nice but it works).

As for the size, it will have to depend on the situation. In Duke's 
case, he wants to decide whether to show a flash banner. Since the extra 
download is purely decoration, there would be no issue if some 
high-speed users didn't get the flash. It's still useful to have a rough 
estimate.

A very large test image would defeat the purpose -- if users had to 
download such an image to test their speed, they might as well download 
the flash in the first place.

Jesse Skinner
www.thefutureoftheweb.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-15 Thread Jan Brasna
 (not so nice but it works).

Ah, haven't noticed, sorry. This is fine and it works, that's important.

 A very large test image would defeat the purpose

Sure, that's the reason I wrote earlier that some valuable measuring 
wouldn't be nice for bandwith.

-- 
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-15 Thread brushstreet-Duke
Hi, duke here
Rather than a purely decorative image, couln't the standard gif to be used
instead of the Flash, be used and downloaded?  Then if the Flash is
determined not to be used, the alternate would already be there?
duke

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jesse Skinner
Sent: Thursday, December 15, 2005 8:28 AM
To: css discuss
Subject: Re: [css-d] Flash or No Flash switch?


 25kB is a small smaple to test it responsibly. Some latency may distort
 the measurment. The image can also get cached.

In the article, I suggest avoiding caching by appending a random URL
parameter to the image (not so nice but it works).

As for the size, it will have to depend on the situation. In Duke's
case, he wants to decide whether to show a flash banner. Since the extra
download is purely decoration, there would be no issue if some
high-speed users didn't get the flash. It's still useful to have a rough
estimate.

A very large test image would defeat the purpose -- if users had to
download such an image to test their speed, they might as well download
the flash in the first place.

Jesse Skinner
www.thefutureoftheweb.com


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread Joe Dolson

brushstreet-Duke wrote:

I would like to include a Flash header on the homepage, but switch to a
standard gif header for viewers with slow connections.  I was hoping that
there is a way to maybe have two “includes”, and use one or the other – but
first I need some kind of ‘conditional switch’ or ‘logic switch’.


Actually, this can be done using an XHTML valid method for inserting flash -

object type=application/x-shockwave-flash data=your-file.swf 
width=w height=hparam name=movie value=your-file.swf /
img src=an_alternate_image_to_display.gif|jpg|png alt=Alternate 
image description, (Flash Player not installed). //object

The alternate image can be whatever you choose - obviously should have 
the same dimensions, etc. You can read more at 
http://www.ambience.sk/flash-valid.htm.



__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread Pringle, Ron

 I have used css for the first time to rebuild my church's 
 site, and love it.
 I would like to include a Flash header on the homepage, but 
 switch to a
 standard gif header for viewers with slow connections.  I was 
 hoping that
 there is a way to maybe have two includes, and use one or 
 the other - but
 first I need some kind of 'conditional switch' or 'logic switch'.

UFO is your friend. Bobby VanDerSluis' Unobtrusive Flash Objects 2.0 can be
used to serve up normal content in the place of Flash content via a little
JavaScripting. If JS or Flash is not available, then it defaults to showing
whatever normal content you want.

http://www.bobbyvandersluis.com/ufo/

Probably straying off-topic here.

Regards,
Ron
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread brushstreet-Duke
Thanks Ron, that is an interesting site, but as far as I can see, it only
detects whether or not the Flash program is downloaded on the visitors
computer.  Even when I was on a dial-up service, I had Flash on it, it was
just very annoying to wait, and wait.

I am hopeful that there is some way to do the same thing based upon the
speed.  I will contact the author of that program (Bobby), and ask him -
maybe he knows a way.  I will report back here also.

Cheers, duke

-Original Message-
From: Pringle, Ron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 10:43 AM
To: 'brushstreet-Duke'; 'Css Discussion List'
Subject: RE: [css-d] Flash or No Flash switch?



 I have used css for the first time to rebuild my church's
 site, and love it.
 I would like to include a Flash header on the homepage, but
 switch to a
 standard gif header for viewers with slow connections.  I was
 hoping that
 there is a way to maybe have two includes, and use one or
 the other - but
 first I need some kind of 'conditional switch' or 'logic switch'.

UFO is your friend. Bobby VanDerSluis' Unobtrusive Flash Objects 2.0 can be
used to serve up normal content in the place of Flash content via a little
JavaScripting. If JS or Flash is not available, then it defaults to showing
whatever normal content you want.

http://www.bobbyvandersluis.com/ufo/

Probably straying off-topic here.

Regards,
Ron

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread Jan Brasna
 I am hopeful that there is some way to do the same thing based upon the
 speed.

No, it isn't, at least without user's input or traffic-heavy 
benchmarking. Nonetheless, this part is OT here.

-- 
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread brushstreet-Duke
Thanks Joe, but how does one determine the speed of the visitors connection
to know when to switch to the standard gif?
duke

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Dolson
Sent: Wednesday, December 14, 2005 10:26 AM
To: css-d@lists.css-discuss.org
Subject: Re: [css-d] Flash or No Flash switch?



brushstreet-Duke wrote:

I would like to include a Flash header on the homepage, but switch to a
standard gif header for viewers with slow connections.  I was hoping that
there is a way to maybe have two “includes”, and use one or the other – but
first I need some kind of ‘conditional switch’ or ‘logic switch’.


Actually, this can be done using an XHTML valid method for inserting flash -

object type=application/x-shockwave-flash data=your-file.swf
width=w height=hparam name=movie value=your-file.swf /
img src=an_alternate_image_to_display.gif|jpg|png alt=Alternate
image description, (Flash Player not installed). //object

The alternate image can be whatever you choose - obviously should have
the same dimensions, etc. You can read more at
http://www.ambience.sk/flash-valid.htm.



__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread Jesse Skinner
Hey Duke,

That's a really interesting question, although off topic for this 
mailing list. You got me thinking and experimenting, and I've come up 
with a solution to detect a visitor's speed just using JavaScript. I 
wrote about it on my blog:

http://www.thefutureoftheweb.com/blog/2005/12/javascript-speed-detection

Good luck! Let me know how it goes,

Jesse Skinner
www.thefutureoftheweb.com

brushstreet-Duke wrote:
 I have used css for the first time to rebuild my church’s site, and love it.
 I would like to include a Flash header on the homepage, but switch to a
 standard gif header for viewers with slow connections.  I was hoping that
 there is a way to maybe have two “includes”, and use one or the other – but
 first I need some kind of ‘conditional switch’ or ‘logic switch’.
 
 Any ideas?
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread Jan Brasna
 I've come up with a solution to detect a visitor's speed just using 
 JavaScript.

25kB is a small smaple to test it responsibly. Some latency may distort 
the measurment. The image can also get cached.

-- 
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Flash or No Flash switch?

2005-12-14 Thread brushstreet-Duke
Jesse, thank you for your time on that!  I am not totally adept, so it will
take me some time to try it out, but I will let you know.  It looks like
there is hope!  This should evolve into a script that anyone using Flash
should incorporate.

duke

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jesse Skinner
Sent: Wednesday, December 14, 2005 1:09 PM
To: brushstreet-Duke
Cc: css discuss
Subject: Re: [css-d] Flash or No Flash switch?


Hey Duke,

That's a really interesting question, although off topic for this
mailing list. You got me thinking and experimenting, and I've come up
with a solution to detect a visitor's speed just using JavaScript. I
wrote about it on my blog:

http://www.thefutureoftheweb.com/blog/2005/12/javascript-speed-detection

Good luck! Let me know how it goes,

Jesse Skinner
www.thefutureoftheweb.com

brushstreet-Duke wrote:
 I have used css for the first time to rebuild my church’s site, and love
it.
 I would like to include a Flash header on the homepage, but switch to a
 standard gif header for viewers with slow connections.  I was hoping that
 there is a way to maybe have two “includes”, and use one or the other –
but
 first I need some kind of ‘conditional switch’ or ‘logic switch’.

 Any ideas?
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/