Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Iframe In Edge with 100% width - width not moving with browser size...

$
0
0

So like with any thing when you tell it to be a 100% width you expect the width to adjust to the broswers width but this doesn't seem to work in Edge here is my code:

 

var container = sym.$('#Stage_Iframe');

var Frame = ' <div class="Frame" id="Frame"><iframe width="100%" height="600" src="http://www.youtube.com/embed/OH5tkj0W0fc" frameborder="0" allowfullscreen></iframe></div> '

container.html(Frame);

 

When I resize my broswer the iframe width doesn't resize with it same happens when I lower my computer screens resolution half the iframe is missing and not "snapping" to 100% ....

any idea's?

 

Edit: My Symbol "Iframe" has it's width set to 100% also width=" '+container.width()+ '" doesn't work...

also the stage is 100% width.


Viewing all articles
Browse latest Browse all 9897

Trending Articles