JavaScript Bible 5th Edition 2004 phần 9 doc
... hold images if (document.layers) { if (img.length == 1) { document.ivories.document.images[img].src = onImages[img].src; } else { document.ivories.document.layers[“ivory” + img].document.images[img].src ... imgOff(img) { if (document.images) { // handle NN4 layers that hold images if (document.layers) { if (img.length == 1) { document.ivories.document.images[img].src = offImages[img].src; }...
Ngày tải lên: 12/08/2014, 19:21
... die!”); document.write (document.cookie + “<br>”); DeleteCookie (“goner”); document.write (document.cookie + “<br>”); document.write (“ccpath = “ + GetCookie(“ccpath”) + “<br>”); document.write ... type=”text /javascript > function fillInBlanks() { var created = document.fileCreatedDate; var modified = document.fileModifiedDate; document.getElementById(“created”).innerTex...
Ngày tải lên: 12/08/2014, 19:21
... a Simple HTML Document Properties Nodes document html p “one and only” nodeType 9 1 1 3 nodeName #document html p #text nodeValue null null null “one and only” parentNode null document body em previousSibling ... releases of NN2, all JavaScript- capable browsers have a prefer- ences setting to turn off JavaScript (and a separate one for Java). You should know that even Note 191 Chapter...
Ngày tải lên: 12/08/2014, 19:21
JavaScript Bible 5th Edition 2004 phần 3 potx
... {text-align:center} </style> <script type=”text /javascript > function init() { document.onkeydown = showKeyDown; document.onkeyup = showKeyUp; document.onkeypress = showKeyPress; } function ... objects. Top Parent Child Frame Document Child Frame Child Frame Document Child Frame Parent <FRAMESET> <FRAME> <FRAME> <FRAME> <FRAMESET> <FRAME> Docum...
Ngày tải lên: 12/08/2014, 19:21
JavaScript Bible 5th Edition 2004 phần 5 pptx
... name=”colorsList” onchange=”seeColor(this)”> <optgroup id=”optGrp1” label=”Reds”> <option value=”#ff 999 9”>Light Red</option> <option value=”#ff3366”>Medium Red</option> <option ... properties: (NN3+/IE4+) [window.]document.formName.inputName.property | method([parameters]) (NN3+/IE4+) [window.]document.formName.elements[index].property | method([paramete...
Ngày tải lên: 12/08/2014, 19:21
JavaScript Bible 5th Edition 2004 phần 7 pot
... “Selection is type: “ + document.selection.type; setTimeout(“emptySelection()”, 2000); } else if (document.choices.process[1].checked) { var rng = document.selection.createRange(); document.selection.clear(); } } function ... IV ✦ JavaScript Core Language Reference Syntax Accessing hr element object properties or methods: (IE4+) [window.]document.all.elemID.property | method([parameters]) (...
Ngày tải lên: 12/08/2014, 19:21
JavaScript Bible 5th Edition 2004 phần 8 pptx
... syntax function isDocAll() { return (document.all) ? true : false; } function isDocW3C() { return (document.getElementById) ? true : false; } // fill in the blanks function checkBrowser() { var form = document.forms[0]; form.brandNN.value ... isNN6Min(); form.MSIE4.value = isMSIE4Min(); form.MSIE6_0.value = isMSIE6_0(); form .doc_ all.value = isDocAll(); form .doc_ w3c.value = isDocW3C(); } &...
Ngày tải lên: 12/08/2014, 19:21