I've been tearing my hair out trying to get this to work. I want my page to load and then have an element fade in (in this case, an iframe containing an embedded video). Here's what I've got in the html page editor in wordpress:
But nothing happens. The video loads normally with the rest of the page. Help? My knowledge of this is so basic... I honestly have no business trying to do what I'm doing
Code:
<script type="text/javascript"> $(window).load(function(){
$('#fade_reel').fadeIn(4000);
});</script>
<div id="fade_reel">
<iframe src="http://player.vimeo.com/video/20950201?title=0&%3Bbyline=0&%3Bportrait=0&%3Bcolor=000000" width="600" height="323" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
</div>
But nothing happens. The video loads normally with the rest of the page. Help? My knowledge of this is so basic... I honestly have no business trying to do what I'm doing