Ftp web hosting - CD-139Appendix F . Examples from 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
      Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.

  • Leave a Reply