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.
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: showbecauseshowis not a valid value. Perhapsdisplay: noneanddisplay: blockinstead?CSS Display Property: http://www.w3schools.com/cssref/pr_class_display.asp