Tourbuzz Support Site

Everything you need to know to create virtual tours with Tourbuzz

Follow

Workaround: Loading the Embedded Tour in a Hidden Div Doesn't Work on Internet Explorer

A customer using the embedded tour loaded into a hidden div (with display:none) and subsequently made visible (with display:block) reported that the tour was giving a "Flash not installed" error.

Research has revealed that this is a bug with Internet Explorer and Flash; it simply will not properly load Flash files inside of hidden divs, even if the divs are subsequently made visible.

There is a workaround; instead of putting the iframe in the hidden div and then showing the div, you must leave out the iframe originally and add the iframe via Javascript when you want to show the div.

The code for this in jQuery looks like:

$("<iframe />", { width:"660",
height:"480",
border:"0",
frameborder:"0",
src:"http://www.tourbuzz.net/public/vtour/full/<tourId>"
}).appendTo("#putIframeInThisId");

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk