user3447
user3447

Reputation: 468

Flash via iframe in Safari is breaking

I'm trying to load an iframe into a div via ajax. The iframe serves Flash content.

There are four divs (above each other) with the same Flash-through-iframe implementation, and I show and hide these divs to correspond with the user's navigation. This works well, except in Safari. I triple-checked my JavaScript that toggles the divs (using display: none and display: show), but it doesn't work in Safari. Any help will be highly appreciated.

Upvotes: 2

Views: 451

Answers (1)

Matt Stein
Matt Stein

Reputation: 3053

It seems to me like serving ajax-loaded Flash in an iFrame is a recipe for disaster to start with.

Without an example, all I can find a problem with is your use of display: show because show is not a valid value. Perhaps display: none and display: block instead?

CSS Display Property: http://www.w3schools.com/cssref/pr_class_display.asp

Upvotes: 1

Related Questions