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
If we want the select box to function as a genuine menu, then a click on a given option (of the select box) must give us the same range of possibilities as does a click on the items of a normal menu. So a click should allow us to go to a new page, to open a popup window, to produce an alert etc. We can achieve this with the help of a function that has the following general form: Code: var which=""; function DoSomethingWithOptionvalue(which) { var optionValue = document.getElementById(which).options[document.getElementById(which).selectedIndex].value; ...
var which=""; function DoSomethingWithOptionvalue(which) { var optionValue = document.getElementById(which).options[document.getElementById(which).selectedIndex].value;
Updated 08-12-2009 at 12:20 AM by molendijk
Original Script: All Levels Navigational Menu v2.2 Changes: This modified version of ddlevelsmenu.js causes the top level sub menus to be revealed onClick of the primary headers (instead of the default onMouseover). The remaining sub levels are still revealed onMouseover like before. Usage: Just replace the original .js file with the modified one.
Cookies are often confusing. Much of the confusion can be eliminated if you know that all cookies are strings. If you want to store an array, function, number, or an object in a cookie, you must convert it to a string before storage and upon retrieval change it back into the object/array/function/number that it was. Cookies are therefore best used for string storage and retrieval. This unit doesn't pretend to eliminate all of the possible confusions that can arise from "when and where in ...
Updated 07-10-2010 at 03:59 PM by jscheuer1