iframe and IE 11 not working

Want to include the nice Gallery from "http://simbyone.com/demo/how-to-create-a-rotated-gallery/" with an iFrame. Works in all browsers but not in IE 11. Text appears but no Java Script is called. A direct call to the URL above works. Any ideas why its not running in an iframe. This is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11"/>
<title>Rotated Gallery</title>
</head>
<body>
<b>Hello World</b>
<p><iframe align="middle" frameborder="0" height="500" scrolling="no" src="http://simbyone.com/demo/how-to-create-a-rotated-gallery/" width="800"></iframe></p>
</body>
</html>

Open in new window

SolenthalerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Using your code above, I get exactly the same display on Firefox on this computer and on IE11 on a Windows 8.1 computer.  In the iframe that comes up, the javascript that creates the display appears to be running in both cases.  ??
David Johnson, CD, MVPOwnerCommented:
your code works for me
http://ee27jul2015.azurewebsites.net/
SolenthalerAuthor Commented:
Very strange - David,  if i click your link - same result:  with IE11 not okay; with all other browser it's fine. Tryed different PC's with different OS (Win 8.1 and Win 7) - all have the same effect. On my MAC i don't have the IE installed. How can i fix the Problem with IE11?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

lenamtlCommented:
Hi,
Using the dev tools:
There is an error : Access is denied.
Security issue.

More info:
http://graphicmaniacs.com/note/getting-a-cross-domain-json-with-jquery-in-internet-explorer-8-and-later/

To make cross-origin ajax requests in IE, you'll need to use XDomainRequest instead of XMLHttpRequest. There is a jQuery plugin tfor that www.github.com/jpillora/xdomain

Do not use "http://www.domain.com" or "http://localhost/" or "IP" for URL in Ajax.
Only use path - directory, page name without address.
SolenthalerAuthor Commented:
Oh - i see the " access denied" occures in the middle of jqery-2.0.2.min.js! Do you know what to change in the source code of the gallery?
lenamtlCommented:
Your having this issue because you request the information from another server using ajax.

Solution 1
First download the gallery package and install it locally on your webserver.
Edith the code and add the iframe.
test see if it's ok

Solution 2a
If you still have the same problem (still requesting other website info) and you have access to the other server then you can use
https://github.com/jpillora/xdomain


Solution 3 if you still have the problem and or not access to the other server then change iframe by other solution like modal box for example or do not use ajax.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
your source works except I changed it to <html>
SolenthalerAuthor Commented:
Solution 1 and additionally loaded newest jQuery Library. Now it's working with all Browsers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.