CD-139Appendix F . Examples from (Web hosting contract) Parts III and

CD-139Appendix F . Examples from Parts III and IV

  • Initial Item 2
  • Initial Item 3
  • Initial Item 4
      height width NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example The following example increases the width of a table by 10 percent. var tableW = parseInt(document.all.myTable.width) document.all.myTable.width = (tableW * 1.1) + % Because the initial setting for the WIDTH attribute of the TABLE element is set as a percentage value, the script calculation extracts the number from the percentage width string value. In the second statement, the old number is increased by 10 percent and turned into a percentage string by appending the percentage symbol to the value. The resulting string value is assigned to the widthproperty of the table. hideFocus NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Use The Evaluator (Chapter 13) to experiment with the hideFocusproperty in IE5.5. Enter the following statement into the top text field to assign a tabIndexvalue to the myPelement so that, by default, the element receives focus and the dotted rectangle: document.all.myP.tabIndex = 1 elementObject.hideFocus
      You want to have a cheap webhost for your apache application, then check apache web hosting services.

  • Leave a Reply