I've searched here, google, mootools forums... can't find the answer.

I simply want the YouTube player to initially be hidden and then slide
out properly instead of how it's currently being displayed.

http://itim-test.tamu.edu/InfoSAT%2009/layout.cfm

<div id="slideout_content">
        <div id="video_holder">
        <object width="300" height="250"><param name="movie" value="http://
www.youtube.com/v/iev9826bJK0&hl=en&fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed src="http://
www.youtube.com/v/iev9826bJK0&hl=en&fs=1" type="application/x-
shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
width="300" height="250"></embed></object>
        </div>
</div>

window.addEvent('domready', function() {
        var myHorizontalSlide = new Fx.Slide('video_holder', {mode:
'horizontal'});
        myHorizontalSlide.hide();

        $('toggle').addEvent('click', function(e){
                e.stop();
                myHorizontalSlide.toggle();
        });
});

thanks!

Reply via email to