Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
178
rated 0 times [  180] [ 2]  / answers: 1 / hits: 44369  / 12 Years ago, sun, september 30, 2012, 12:00:00

I have this:



<div class=upload_slide>
<iframe class=upload_iframe style=visibility:hidden;></iframe>
</div>


If I then post some files to the iFrame and set .upload_slide to display:none;, while it's loading, will this affect the loading of the iFrame or the detection of when it finished loading?


More From » jquery

 Answers
33

No, the iFrame's loading and load detection should not be compromised by setting the display to none.



CSS is just for style, it has no ability to affect the DOM.


[#82831] Friday, September 28, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
frankiebobbyc

Total Points: 18
Total Questions: 85
Total Answers: 104

Location: Norway
Member since Wed, Jul 7, 2021
3 Years ago
;