Re: Opera Problems - anyone else
by webguroo(at)tampabay.rr.com
|
| Date: |
Thu, 28 Mar 2002 12:16:50 -0800 |
| To: |
"Andy Innes" <innax(at)icon.co.za> |
| Cc: |
hwg-techniques(at)mail.hwg.org |
| In-Reply-To: |
andy |
| |
todo: View
Thread,
Original
|
|
On 28 Mar 2002, at 14:19, Andy Innes wrote:
> Hi all
>
> I am busy writing a web site with two versions of the homepage - one with an
> embedded flash image in a table cell, one with a jpeg in place of the flash
> file to degrade gracefully on Netscape and Opera.
>
> My default page does a browser detect and sends msie 4 or later to the page
> with flash and all others to the one without (which displays correctly in NN
> 4.78 and Opera
>
> The problem here is that OPERA IDENTIFIES ITSELF AS IE5.0 BY DEFAULT!
>
> So - the script runs on Opera - detects ie5.0 - and sends Opera to the wrong
> page, Opera reads the embed tag and creates a 3-4px gap around the Flash
> file, thus breaking the table.
>
> Can anyone think of a way around this?
Try this - put your image in the <.OBJECT> tag like thus:
<.object> <!-- attributes snipped for brevity -->
<param name="movie" value="movie.swf" />
<img src="image.gif" alt="image for flash-less users" />
<./object>
This way you only need one page and you won't have to rely on
JavaScript detection.
Paul Wilson
webguroo(at)tampabay.rr.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.