I am trying to zoom in (NOT CHANGE THE SIZE) of an iFrame, where the source is a SWF file.
<iframe src="http://ray.eltania.net/TEST/swf-play/swf/testMotion.swf" width="600px" height="500px" frameBorder="0"></iframe>
http://jsfiddle.net/MuxRX/
As you can see, the size of the iFrame is 600x500px. I would like to zoom in on the CONTENT of that SWF. Imagine zooming in 90%, then you would only see the slider once in a while, but keep the same size of the frame.
I tried every link on StackOverflow, but every result just changed the size of the content, where I want a zoom effect. I do not want stuff like this:
iframe {
zoom: 0.5;
}
http://jsfiddle.net/MuxRX/1/
If the Iframe comes from a different domain, you can't. That would be a cross-site scripting attack, which would be blocked by the browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With