Some Remarks about Ajax-includes using document.write I. Why document.write? Including external content with the help of document.write brings in external html AND external code (js, css). This is a clear advantage of document.write over other inclusion-methods, like innerHTML (does not execute scripts) and appendChild (does not automatically import all the external js and/or css when IE, Chrome or Opera are used). To see this, create a file external.html with some js in it, ...
Updated 02-27-2010 at 07:32 PM by molendijk
Inserting these two lines to your include code for video's: <param name="allowScriptAccess" value="never"> <param name="allowNetworking" value="internal"> prevents flash apps from running scripts or having outbound links. This is a very handy method for preventing users to open the video on the video-providing site (in a new window) when they accidentally click on the video screen. ...
Updated 11-19-2009 at 12:50 PM by molendijk
I've found that this actually can work. It makes an interesting use of the slide show's undocumented oninit feature, and how well the slide show is written visa vis jQuery's No Conflict mode. I would generally advise using two scripts which work off of the same script library, rather than two different script libraries. However, in this case both scripts are so robust, who can resist? That said, all you need to do to set up a demo is to follow the instructions for Ultimate Fade ...
Updated 09-24-2010 at 09:57 PM by jscheuer1 (Flesh out Links to demo, source scripts)
Perhaps many of you already knew this. I didn't. HTML 4.01 Strict Video Include: Code: <!--[if IE]> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="position:absolute;left:20%; top:20%; height:80%;width:80%"> <![endif]--> <!--[if !IE]><!--> <object type="application/x-shockwave-flash" style="position:absolute;left:20%; top:20%; height:80%;width:80%" data="http://swf.tubechop.com/tubechop.swf?vurl=rw1j0NsIIeE&start=164&end=199&cid=28051" ...
<!--[if IE]> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="position:absolute;left:20%; top:20%; height:80%;width:80%"> <![endif]--> <!--[if !IE]><!--> <object type="application/x-shockwave-flash" style="position:absolute;left:20%; top:20%; height:80%;width:80%" data="http://swf.tubechop.com/tubechop.swf?vurl=rw1j0NsIIeE&start=164&end=199&cid=28051"
Updated 10-02-2009 at 01:29 PM by molendijk (Observation made by jscheuer about title)
It's not directly obvious from this how we can: - start a movie on page load (question asked by some people on different forums); - specify the dimensions and position of the movies in percentages; - make good use of the ytplayer functions. Autoplay: something like Code: function so_start() { loadNewVideo('lKq9_kk3Zbc', 20); } //IE needs some time window.onload=setTimeout('so_start()',2000) Size of movie in percentages ...
function so_start() { loadNewVideo('lKq9_kk3Zbc', 20); } //IE needs some time window.onload=setTimeout('so_start()',2000)
Updated 08-29-2009 at 01:59 PM by molendijk