Diff for /books/www/chapters/ch05.html between versions 1.19 and 1.26

version 1.19, 2002/12/17 13:13:19 version 1.26, 2003/04/02 19:35:41
Line 562  dump(count + " items checked \n"); Line 562  dump(count + " items checked \n");
    var chex   = document.getElementsByAttribute("disabled", "true");     var chex   = document.getElementsByAttribute("disabled", "true");
    var unchex = document.getElementsByAttribute("disabled", "false");     var unchex = document.getElementsByAttribute("disabled", "false");
    for (var i=0; i<chex.length; i++)     for (var i=0; i<chex.length; i++)
       chex</td>[i].setAttributte("checked", "false");       chex[i].setAttribute("disabled", "false");
    for (var i=0; i<unchex.length; i++)     for (var i=0; i<unchex.length; i++)
       unchex</td>[i].setAttributte("checked", "true");       unchex[i].setAttribute("disabled", "true");
  }   }
 </pre>  </pre>
     <p>Although this example doesn't update elements whose      <p>Although this example doesn't update elements whose
Line 1269  retval=OK; Line 1269  retval=OK;
     locally, since it wouldn't have the required XPConnect access      locally, since it wouldn't have the required XPConnect access
     as a remote file because of security boundaries) loaded in      as a remote file because of security boundaries) loaded in
     Mozilla instantiates a Mozilla sound component and plays a      Mozilla instantiates a Mozilla sound component and plays a
    sound with it. Go ahead and try it. Example 5-11<a name=    sound with it. Go ahead and try it. 
    "77032"></a> <i>Scripting components from HTML</i></p>    </p>
     
     <p>
     Example 5-11<a name= "77032"></a> <i>Scripting components from HTML</i></p>
 <xmp>  <xmp>
 <html>  <html>
   <head>    <head>
Line 1840  textfield2.setAttribute("value", md); Line 1843  textfield2.setAttribute("value", md);
     <br>      <br>
     File a <a href=      File a <a href=
     "http://mozdev.org/bugs/enter_bug.cgi?product=books">Bug</a>      "http://mozdev.org/bugs/enter_bug.cgi?product=books">Bug</a>
    for chapter 5. <!-- ?php require(NOTES); ? -->    for chapter 5. 
    <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='ch05'; require(NOTES); ?>    <?php $hide_text_control=1; $post_to_list=NO; $author='reviewers@mozdev.org'; // require(NOTES);>

Removed from v.1.19  
changed lines
  Added in v.1.26


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>