src/cm/media/js/lib/yui/yui3.0.0/api/DOM.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
       
     3 <head>
       
     4     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
       
     5 	<title>API: dom  DOM   (YUI Library)</title>
       
     6 
       
     7 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
       
     8 	<link rel="stylesheet" type="text/css" href="assets/api.css" />
       
     9 
       
    10     <script type="text/javascript" src="assets/api-js"></script>
       
    11     <script type="text/javascript" src="assets/ac-js"></script>
       
    12 </head>
       
    13 
       
    14 <body id="yahoo-com">
       
    15 
       
    16 <div id="doc3" class="yui-t2">
       
    17 	<div id="hd">
       
    18         <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
       
    19         <h3>dom&nbsp; <span class="subtitle">3.0.0</span></h3>
       
    20         <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
       
    21             &gt; <a href="./module_dom.html" title="dom">dom</a>
       
    22                  &gt; DOM 
       
    23                 
       
    24         <form onsubmit="return false">
       
    25             <div id="propertysearch">
       
    26                 Search: <input autocomplete="off" id="searchinput" />
       
    27                 <div id="searchresults">
       
    28                     &nbsp;
       
    29                 </div>
       
    30             </div>
       
    31         </form>
       
    32 	</div>
       
    33 
       
    34 	<div id="bd">
       
    35 		<div id="yui-main">
       
    36 			<div class="yui-b">
       
    37             <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
       
    38                 <fieldset>
       
    39                     <legend>Filters</legend>
       
    40                 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
       
    41                 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
       
    42                 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
       
    43                 </fieldset>
       
    44             </form>
       
    45 
       
    46                     <h2>
       
    47                         
       
    48 
       
    49                         
       
    50                         
       
    51                             Class <b property="yui:name">DOM</b>
       
    52                         <span class="extends">
       
    53                         </span>
       
    54 
       
    55                     </h2>
       
    56                     <!-- class tree goes here -->
       
    57                     
       
    58                 
       
    59   
       
    60 
       
    61                     <div class="summary description" property="yui:description">
       
    62                         Provides DOM helper methods.
       
    63                     </div>
       
    64 
       
    65                     
       
    66                     <div rel="yui:properties" resource="#properties">
       
    67 
       
    68                     </div>
       
    69 
       
    70                     <div rel="yui:methods" resource="#methods">
       
    71                         <div class="section method details">
       
    72                             <h3 id="methods">Methods</h3>
       
    73                             <div class="content">
       
    74                                     <div class="private" rel="yui:method" resource="#method__bruteContains">
       
    75                                     <h4>
       
    76                                         <a name="method__bruteContains">_bruteContains</a></h4>
       
    77                                     <div class="detail" >
       
    78                                         <code>
       
    79                                          private 
       
    80                                         
       
    81                                         
       
    82                                         Boolean
       
    83                                             <strong property="yui:name">_bruteContains</strong>
       
    84                                            (
       
    85                                                 
       
    86                                                         
       
    87                                                          element
       
    88                                                     
       
    89                                                 
       
    90                                                         , 
       
    91                                                          needle
       
    92                                                     
       
    93                                                 
       
    94                                             )
       
    95                                         </code>
       
    96                                         
       
    97                                         <div class="description" property="yui:description">
       
    98                                             Brute force version of contains.
       
    99 Used for browsers without contains support for non-HTMLElement Nodes (textNodes, etc).
       
   100                                         </div>
       
   101 
       
   102                                         <div class="description">
       
   103 
       
   104                                                 <dl rel="yui:parameters">
       
   105                                                     <dt>Parameters:</dt>
       
   106                                                         <dd rel="yui:parameter">
       
   107                                                         <code><span property="yui:name">element</span>
       
   108                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   109                                                         </code>
       
   110                                                         <span property="yui:description"> The containing html element.</span>
       
   111                                                         </dd>
       
   112                                                         <dd rel="yui:parameter">
       
   113                                                         <code><span property="yui:name">needle</span>
       
   114                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   115                                                         </code>
       
   116                                                         <span property="yui:description"> The html element that may be contained.</span>
       
   117                                                         </dd>
       
   118                                                 </dl>
       
   119 
       
   120                                                 <dl>
       
   121                                                     <dt>Returns:
       
   122                                                     <code property="yui:return">
       
   123                                                             Boolean
       
   124                                                     </code></dt>
       
   125                                                     <dd property="yui:returnInfo">Whether or not the element is or contains the needle.</dd>
       
   126                                                 </dl>
       
   127 
       
   128 
       
   129              
       
   130 
       
   131                                         </div>
       
   132 
       
   133                                     </div>
       
   134                                     <hr />
       
   135                                     </div>
       
   136                                     <div class="private" rel="yui:method" resource="#method__getDoc">
       
   137                                     <h4>
       
   138                                         <a name="method__getDoc">_getDoc</a></h4>
       
   139                                     <div class="detail" >
       
   140                                         <code>
       
   141                                          private 
       
   142                                         
       
   143                                         
       
   144                                         Object
       
   145                                             <strong property="yui:name">_getDoc</strong>
       
   146                                            (
       
   147                                                 
       
   148                                                         
       
   149                                                          element
       
   150                                                     
       
   151                                                 
       
   152                                             )
       
   153                                         </code>
       
   154                                         
       
   155                                         <div class="description" property="yui:description">
       
   156                                             returns the appropriate document.
       
   157                                         </div>
       
   158 
       
   159                                         <div class="description">
       
   160 
       
   161                                                 <dl rel="yui:parameters">
       
   162                                                     <dt>Parameters:</dt>
       
   163                                                         <dd rel="yui:parameter">
       
   164                                                         <code><span property="yui:name">element</span>
       
   165                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   166                                                         </code>
       
   167                                                         <span property="yui:description"> optional Target element.</span>
       
   168                                                         </dd>
       
   169                                                 </dl>
       
   170 
       
   171                                                 <dl>
       
   172                                                     <dt>Returns:
       
   173                                                     <code property="yui:return">
       
   174                                                             Object
       
   175                                                     </code></dt>
       
   176                                                     <dd property="yui:returnInfo">The document for the given element or the default document.</dd>
       
   177                                                 </dl>
       
   178 
       
   179 
       
   180              
       
   181 
       
   182                                         </div>
       
   183 
       
   184                                     </div>
       
   185                                     <hr />
       
   186                                     </div>
       
   187                                     <div class="private" rel="yui:method" resource="#method__getRegExp">
       
   188                                     <h4>
       
   189                                         <a name="method__getRegExp">_getRegExp</a></h4>
       
   190                                     <div class="detail" >
       
   191                                         <code>
       
   192                                          private 
       
   193                                         
       
   194                                         
       
   195                                         RegExp
       
   196                                             <strong property="yui:name">_getRegExp</strong>
       
   197                                            (
       
   198                                                 
       
   199                                                         
       
   200                                                          str
       
   201                                                     
       
   202                                                 
       
   203                                                         , 
       
   204                                                          flags
       
   205                                                     
       
   206                                                 
       
   207                                             )
       
   208                                         </code>
       
   209                                         
       
   210                                         <div class="description" property="yui:description">
       
   211                                             Memoizes dynamic regular expressions to boost runtime performance.
       
   212                                         </div>
       
   213 
       
   214                                         <div class="description">
       
   215 
       
   216                                                 <dl rel="yui:parameters">
       
   217                                                     <dt>Parameters:</dt>
       
   218                                                         <dd rel="yui:parameter">
       
   219                                                         <code><span property="yui:name">str</span>
       
   220                                                         &lt;<span property="yui:type">String</span>&gt;
       
   221                                                         </code>
       
   222                                                         <span property="yui:description"> The string to convert to a regular expression.</span>
       
   223                                                         </dd>
       
   224                                                         <dd rel="yui:parameter">
       
   225                                                         <code><span property="yui:name">flags</span>
       
   226                                                         &lt;<span property="yui:type">String</span>&gt;
       
   227                                                         </code>
       
   228                                                         <span property="yui:description"> optional An optinal string of flags.</span>
       
   229                                                         </dd>
       
   230                                                 </dl>
       
   231 
       
   232                                                 <dl>
       
   233                                                     <dt>Returns:
       
   234                                                     <code property="yui:return">
       
   235                                                             RegExp
       
   236                                                     </code></dt>
       
   237                                                     <dd property="yui:returnInfo">An instance of RegExp</dd>
       
   238                                                 </dl>
       
   239 
       
   240 
       
   241              
       
   242 
       
   243                                         </div>
       
   244 
       
   245                                     </div>
       
   246                                     <hr />
       
   247                                     </div>
       
   248                                     <div class="private" rel="yui:method" resource="#method__getWin">
       
   249                                     <h4>
       
   250                                         <a name="method__getWin">_getWin</a></h4>
       
   251                                     <div class="detail" >
       
   252                                         <code>
       
   253                                          private 
       
   254                                         
       
   255                                         
       
   256                                         Object
       
   257                                             <strong property="yui:name">_getWin</strong>
       
   258                                            (
       
   259                                                 
       
   260                                                         
       
   261                                                          element
       
   262                                                     
       
   263                                                 
       
   264                                             )
       
   265                                         </code>
       
   266                                         
       
   267                                         <div class="description" property="yui:description">
       
   268                                             returns the appropriate window.
       
   269                                         </div>
       
   270 
       
   271                                         <div class="description">
       
   272 
       
   273                                                 <dl rel="yui:parameters">
       
   274                                                     <dt>Parameters:</dt>
       
   275                                                         <dd rel="yui:parameter">
       
   276                                                         <code><span property="yui:name">element</span>
       
   277                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   278                                                         </code>
       
   279                                                         <span property="yui:description"> optional Target element.</span>
       
   280                                                         </dd>
       
   281                                                 </dl>
       
   282 
       
   283                                                 <dl>
       
   284                                                     <dt>Returns:
       
   285                                                     <code property="yui:return">
       
   286                                                             Object
       
   287                                                     </code></dt>
       
   288                                                     <dd property="yui:returnInfo">The window for the given element or the default window.</dd>
       
   289                                                 </dl>
       
   290 
       
   291 
       
   292              
       
   293 
       
   294                                         </div>
       
   295 
       
   296                                     </div>
       
   297                                     <hr />
       
   298                                     </div>
       
   299                                     <div class="" rel="yui:method" resource="#method_addClass">
       
   300                                     <h4>
       
   301                                         <a name="method_addClass">addClass</a></h4>
       
   302                                     <div class="detail" >
       
   303                                         <code>
       
   304                                         
       
   305                                         
       
   306                                         
       
   307                                         void
       
   308                                             <strong property="yui:name">addClass</strong>
       
   309                                            (
       
   310                                                 
       
   311                                                         
       
   312                                                          element
       
   313                                                     
       
   314                                                 
       
   315                                                         , 
       
   316                                                          className
       
   317                                                     
       
   318                                                 
       
   319                                             )
       
   320                                         </code>
       
   321                                         
       
   322                                         <div class="description" property="yui:description">
       
   323                                             Adds a class name to a given DOM element.
       
   324                                         </div>
       
   325 
       
   326                                         <div class="description">
       
   327 
       
   328                                                 <dl rel="yui:parameters">
       
   329                                                     <dt>Parameters:</dt>
       
   330                                                         <dd rel="yui:parameter">
       
   331                                                         <code><span property="yui:name">element</span>
       
   332                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   333                                                         </code>
       
   334                                                         <span property="yui:description"> The DOM element.</span>
       
   335                                                         </dd>
       
   336                                                         <dd rel="yui:parameter">
       
   337                                                         <code><span property="yui:name">className</span>
       
   338                                                         &lt;<span property="yui:type">String</span>&gt;
       
   339                                                         </code>
       
   340                                                         <span property="yui:description"> the class name to add to the class attribute</span>
       
   341                                                         </dd>
       
   342                                                 </dl>
       
   343 
       
   344 
       
   345 
       
   346              
       
   347 
       
   348                                         </div>
       
   349 
       
   350                                     </div>
       
   351                                     <hr />
       
   352                                     </div>
       
   353                                     <div class="" rel="yui:method" resource="#method_addHTML">
       
   354                                     <h4>
       
   355                                         <a name="method_addHTML">addHTML</a></h4>
       
   356                                     <div class="detail" >
       
   357                                         <code>
       
   358                                         
       
   359                                         
       
   360                                         
       
   361                                         void
       
   362                                             <strong property="yui:name">addHTML</strong>
       
   363                                            (
       
   364                                                 
       
   365                                                         
       
   366                                                          node
       
   367                                                     
       
   368                                                 
       
   369                                                         , 
       
   370                                                          content
       
   371                                                     
       
   372                                                 
       
   373                                                         , 
       
   374                                                          where
       
   375                                                     
       
   376                                                 
       
   377                                             )
       
   378                                         </code>
       
   379                                         
       
   380                                         <div class="description" property="yui:description">
       
   381                                             Inserts content in a node at the given location
       
   382                                         </div>
       
   383 
       
   384                                         <div class="description">
       
   385 
       
   386                                                 <dl rel="yui:parameters">
       
   387                                                     <dt>Parameters:</dt>
       
   388                                                         <dd rel="yui:parameter">
       
   389                                                         <code><span property="yui:name">node</span>
       
   390                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   391                                                         </code>
       
   392                                                         <span property="yui:description"> The node to insert into</span>
       
   393                                                         </dd>
       
   394                                                         <dd rel="yui:parameter">
       
   395                                                         <code><span property="yui:name">content</span>
       
   396                                                         &lt;<span property="yui:type">String</span>&gt;
       
   397                                                         </code>
       
   398                                                         <span property="yui:description"> The content to be inserted</span>
       
   399                                                         </dd>
       
   400                                                         <dd rel="yui:parameter">
       
   401                                                         <code><span property="yui:name">where</span>
       
   402                                                         &lt;<span property="yui:type">String</span>&gt;
       
   403                                                         </code>
       
   404                                                         <span property="yui:description"> Where to insert the content; default is after lastChild</span>
       
   405                                                         </dd>
       
   406                                                 </dl>
       
   407 
       
   408 
       
   409 
       
   410              
       
   411 
       
   412                                         </div>
       
   413 
       
   414                                     </div>
       
   415                                     <hr />
       
   416                                     </div>
       
   417                                     <div class="" rel="yui:method" resource="#method_byId">
       
   418                                     <h4>
       
   419                                         <a name="method_byId">byId</a></h4>
       
   420                                     <div class="detail" >
       
   421                                         <code>
       
   422                                         
       
   423                                         
       
   424                                         
       
   425                                         HTMLElement | null
       
   426                                             <strong property="yui:name">byId</strong>
       
   427                                            (
       
   428                                                 
       
   429                                                         
       
   430                                                          id
       
   431                                                     
       
   432                                                 
       
   433                                                         , 
       
   434                                                          doc
       
   435                                                     
       
   436                                                 
       
   437                                             )
       
   438                                         </code>
       
   439                                         
       
   440                                         <div class="description" property="yui:description">
       
   441                                             Returns the HTMLElement with the given ID (Wrapper for document.getElementById).
       
   442                                         </div>
       
   443 
       
   444                                         <div class="description">
       
   445 
       
   446                                                 <dl rel="yui:parameters">
       
   447                                                     <dt>Parameters:</dt>
       
   448                                                         <dd rel="yui:parameter">
       
   449                                                         <code><span property="yui:name">id</span>
       
   450                                                         &lt;<span property="yui:type">String</span>&gt;
       
   451                                                         </code>
       
   452                                                         <span property="yui:description"> the id attribute</span>
       
   453                                                         </dd>
       
   454                                                         <dd rel="yui:parameter">
       
   455                                                         <code><span property="yui:name">doc</span>
       
   456                                                         &lt;<span property="yui:type">Object</span>&gt;
       
   457                                                         </code>
       
   458                                                         <span property="yui:description"> optional The document to search. Defaults to current document</span>
       
   459                                                         </dd>
       
   460                                                 </dl>
       
   461 
       
   462                                                 <dl>
       
   463                                                     <dt>Returns:
       
   464                                                     <code property="yui:return">
       
   465                                                             HTMLElement | null
       
   466                                                     </code></dt>
       
   467                                                     <dd property="yui:returnInfo">The HTMLElement with the id, or null if none found.</dd>
       
   468                                                 </dl>
       
   469 
       
   470 
       
   471              
       
   472 
       
   473                                         </div>
       
   474 
       
   475                                     </div>
       
   476                                     <hr />
       
   477                                     </div>
       
   478                                     <div class="" rel="yui:method" resource="#method_contains">
       
   479                                     <h4>
       
   480                                         <a name="method_contains">contains</a></h4>
       
   481                                     <div class="detail" >
       
   482                                         <code>
       
   483                                         
       
   484                                         
       
   485                                         
       
   486                                         Boolean
       
   487                                             <strong property="yui:name">contains</strong>
       
   488                                            (
       
   489                                                 
       
   490                                                         
       
   491                                                          element
       
   492                                                     
       
   493                                                 
       
   494                                                         , 
       
   495                                                          needle
       
   496                                                     
       
   497                                                 
       
   498                                             )
       
   499                                         </code>
       
   500                                         
       
   501                                         <div class="description" property="yui:description">
       
   502                                             Determines whether or not one HTMLElement is or contains another HTMLElement.
       
   503                                         </div>
       
   504 
       
   505                                         <div class="description">
       
   506 
       
   507                                                 <dl rel="yui:parameters">
       
   508                                                     <dt>Parameters:</dt>
       
   509                                                         <dd rel="yui:parameter">
       
   510                                                         <code><span property="yui:name">element</span>
       
   511                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   512                                                         </code>
       
   513                                                         <span property="yui:description"> The containing html element.</span>
       
   514                                                         </dd>
       
   515                                                         <dd rel="yui:parameter">
       
   516                                                         <code><span property="yui:name">needle</span>
       
   517                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   518                                                         </code>
       
   519                                                         <span property="yui:description"> The html element that may be contained.</span>
       
   520                                                         </dd>
       
   521                                                 </dl>
       
   522 
       
   523                                                 <dl>
       
   524                                                     <dt>Returns:
       
   525                                                     <code property="yui:return">
       
   526                                                             Boolean
       
   527                                                     </code></dt>
       
   528                                                     <dd property="yui:returnInfo">Whether or not the element is or contains the needle.</dd>
       
   529                                                 </dl>
       
   530 
       
   531 
       
   532              
       
   533 
       
   534                                         </div>
       
   535 
       
   536                                     </div>
       
   537                                     <hr />
       
   538                                     </div>
       
   539                                     <div class="" rel="yui:method" resource="#method_create">
       
   540                                     <h4>
       
   541                                         <a name="method_create">create</a></h4>
       
   542                                     <div class="detail" >
       
   543                                         <code>
       
   544                                         
       
   545                                         
       
   546                                         
       
   547                                         void
       
   548                                             <strong property="yui:name">create</strong>
       
   549                                            (
       
   550                                                 
       
   551                                                         
       
   552                                                          html
       
   553                                                     
       
   554                                                 
       
   555                                                         , 
       
   556                                                          doc
       
   557                                                     
       
   558                                                 
       
   559                                             )
       
   560                                         </code>
       
   561                                         
       
   562                                         <div class="description" property="yui:description">
       
   563                                             Creates a new dom node using the provided markup string.
       
   564                                         </div>
       
   565 
       
   566                                         <div class="description">
       
   567 
       
   568                                                 <dl rel="yui:parameters">
       
   569                                                     <dt>Parameters:</dt>
       
   570                                                         <dd rel="yui:parameter">
       
   571                                                         <code><span property="yui:name">html</span>
       
   572                                                         &lt;<span property="yui:type">String</span>&gt;
       
   573                                                         </code>
       
   574                                                         <span property="yui:description"> The markup used to create the element</span>
       
   575                                                         </dd>
       
   576                                                         <dd rel="yui:parameter">
       
   577                                                         <code><span property="yui:name">doc</span>
       
   578                                                         &lt;<span property="yui:type">HTMLDocument</span>&gt;
       
   579                                                         </code>
       
   580                                                         <span property="yui:description"> An optional document context</span>
       
   581                                                         </dd>
       
   582                                                 </dl>
       
   583 
       
   584 
       
   585 
       
   586              
       
   587 
       
   588                                         </div>
       
   589 
       
   590                                     </div>
       
   591                                     <hr />
       
   592                                     </div>
       
   593                                     <div class="" rel="yui:method" resource="#method_docHeight">
       
   594                                     <h4>
       
   595                                         <a name="method_docHeight">docHeight</a></h4>
       
   596                                     <div class="detail" >
       
   597                                         <code>
       
   598                                         
       
   599                                         
       
   600                                         
       
   601                                         Number
       
   602                                             <strong property="yui:name">docHeight</strong>
       
   603                                            (
       
   604                                             )
       
   605                                         </code>
       
   606                                         
       
   607                                         <div class="description" property="yui:description">
       
   608                                             Document height
       
   609                                         </div>
       
   610 
       
   611                                         <div class="description">
       
   612 
       
   613 
       
   614                                                 <dl>
       
   615                                                     <dt>Returns:
       
   616                                                     <code property="yui:return">
       
   617                                                             Number
       
   618                                                     </code></dt>
       
   619                                                     <dd property="yui:returnInfo">The current height of the document.</dd>
       
   620                                                 </dl>
       
   621 
       
   622 
       
   623              
       
   624 
       
   625                                         </div>
       
   626 
       
   627                                     </div>
       
   628                                     <hr />
       
   629                                     </div>
       
   630                                     <div class="" rel="yui:method" resource="#method_docScrollX">
       
   631                                     <h4>
       
   632                                         <a name="method_docScrollX">docScrollX</a></h4>
       
   633                                     <div class="detail" >
       
   634                                         <code>
       
   635                                         
       
   636                                         
       
   637                                         
       
   638                                         Number
       
   639                                             <strong property="yui:name">docScrollX</strong>
       
   640                                            (
       
   641                                             )
       
   642                                         </code>
       
   643                                         
       
   644                                         <div class="description" property="yui:description">
       
   645                                             Amount page has been scroll horizontally
       
   646                                         </div>
       
   647 
       
   648                                         <div class="description">
       
   649 
       
   650 
       
   651                                                 <dl>
       
   652                                                     <dt>Returns:
       
   653                                                     <code property="yui:return">
       
   654                                                             Number
       
   655                                                     </code></dt>
       
   656                                                     <dd property="yui:returnInfo">The current amount the screen is scrolled horizontally.</dd>
       
   657                                                 </dl>
       
   658 
       
   659 
       
   660              
       
   661 
       
   662                                         </div>
       
   663 
       
   664                                     </div>
       
   665                                     <hr />
       
   666                                     </div>
       
   667                                     <div class="" rel="yui:method" resource="#method_docScrollY">
       
   668                                     <h4>
       
   669                                         <a name="method_docScrollY">docScrollY</a></h4>
       
   670                                     <div class="detail" >
       
   671                                         <code>
       
   672                                         
       
   673                                         
       
   674                                         
       
   675                                         Number
       
   676                                             <strong property="yui:name">docScrollY</strong>
       
   677                                            (
       
   678                                             )
       
   679                                         </code>
       
   680                                         
       
   681                                         <div class="description" property="yui:description">
       
   682                                             Amount page has been scroll vertically
       
   683                                         </div>
       
   684 
       
   685                                         <div class="description">
       
   686 
       
   687 
       
   688                                                 <dl>
       
   689                                                     <dt>Returns:
       
   690                                                     <code property="yui:return">
       
   691                                                             Number
       
   692                                                     </code></dt>
       
   693                                                     <dd property="yui:returnInfo">The current amount the screen is scrolled vertically.</dd>
       
   694                                                 </dl>
       
   695 
       
   696 
       
   697              
       
   698 
       
   699                                         </div>
       
   700 
       
   701                                     </div>
       
   702                                     <hr />
       
   703                                     </div>
       
   704                                     <div class="" rel="yui:method" resource="#method_docWidth">
       
   705                                     <h4>
       
   706                                         <a name="method_docWidth">docWidth</a></h4>
       
   707                                     <div class="detail" >
       
   708                                         <code>
       
   709                                         
       
   710                                         
       
   711                                         
       
   712                                         Number
       
   713                                             <strong property="yui:name">docWidth</strong>
       
   714                                            (
       
   715                                             )
       
   716                                         </code>
       
   717                                         
       
   718                                         <div class="description" property="yui:description">
       
   719                                             Document width
       
   720                                         </div>
       
   721 
       
   722                                         <div class="description">
       
   723 
       
   724 
       
   725                                                 <dl>
       
   726                                                     <dt>Returns:
       
   727                                                     <code property="yui:return">
       
   728                                                             Number
       
   729                                                     </code></dt>
       
   730                                                     <dd property="yui:returnInfo">The current width of the document.</dd>
       
   731                                                 </dl>
       
   732 
       
   733 
       
   734              
       
   735 
       
   736                                         </div>
       
   737 
       
   738                                     </div>
       
   739                                     <hr />
       
   740                                     </div>
       
   741                                     <div class="" rel="yui:method" resource="#method_elementByAxis">
       
   742                                     <h4>
       
   743                                         <a name="method_elementByAxis">elementByAxis</a></h4>
       
   744                                     <div class="detail" >
       
   745                                         <code>
       
   746                                         
       
   747                                         
       
   748                                         
       
   749                                         HTMLElement | null
       
   750                                             <strong property="yui:name">elementByAxis</strong>
       
   751                                            (
       
   752                                                 
       
   753                                                         
       
   754                                                          element
       
   755                                                     
       
   756                                                 
       
   757                                                         , 
       
   758                                                          axis
       
   759                                                     
       
   760                                                 
       
   761                                                         , 
       
   762                                                          fn
       
   763                                                     
       
   764                                                 
       
   765                                                         , 
       
   766                                                          all
       
   767                                                     
       
   768                                                 
       
   769                                             )
       
   770                                         </code>
       
   771                                         
       
   772                                         <div class="description" property="yui:description">
       
   773                                             Searches the element by the given axis for the first matching element.
       
   774                                         </div>
       
   775 
       
   776                                         <div class="description">
       
   777 
       
   778                                                 <dl rel="yui:parameters">
       
   779                                                     <dt>Parameters:</dt>
       
   780                                                         <dd rel="yui:parameter">
       
   781                                                         <code><span property="yui:name">element</span>
       
   782                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   783                                                         </code>
       
   784                                                         <span property="yui:description"> The html element.</span>
       
   785                                                         </dd>
       
   786                                                         <dd rel="yui:parameter">
       
   787                                                         <code><span property="yui:name">axis</span>
       
   788                                                         &lt;<span property="yui:type">String</span>&gt;
       
   789                                                         </code>
       
   790                                                         <span property="yui:description"> The axis to search (parentNode, nextSibling, previousSibling).</span>
       
   791                                                         </dd>
       
   792                                                         <dd rel="yui:parameter">
       
   793                                                         <code><span property="yui:name">fn</span>
       
   794                                                         &lt;<span property="yui:type">Function</span>&gt;
       
   795                                                         </code>
       
   796                                                         <span property="yui:description"> optional An optional boolean test to apply.</span>
       
   797                                                         </dd>
       
   798                                                         <dd rel="yui:parameter">
       
   799                                                         <code><span property="yui:name">all</span>
       
   800                                                         &lt;<span property="yui:type">Boolean</span>&gt;
       
   801                                                         </code>
       
   802                                                         <span property="yui:description"> optional Whether all node types should be returned, or just element nodes.
       
   803 The optional function is passed the current HTMLElement being tested as its only argument.
       
   804 If no function is given, the first element is returned.</span>
       
   805                                                         </dd>
       
   806                                                 </dl>
       
   807 
       
   808                                                 <dl>
       
   809                                                     <dt>Returns:
       
   810                                                     <code property="yui:return">
       
   811                                                             HTMLElement | null
       
   812                                                     </code></dt>
       
   813                                                     <dd property="yui:returnInfo">The matching element or null if none found.</dd>
       
   814                                                 </dl>
       
   815 
       
   816 
       
   817              
       
   818 
       
   819                                         </div>
       
   820 
       
   821                                     </div>
       
   822                                     <hr />
       
   823                                     </div>
       
   824                                     <div class="" rel="yui:method" resource="#method_getAttibute">
       
   825                                     <h4>
       
   826                                         <a name="method_getAttibute">getAttibute</a></h4>
       
   827                                     <div class="detail" >
       
   828                                         <code>
       
   829                                         
       
   830                                         
       
   831                                         
       
   832                                         String
       
   833                                             <strong property="yui:name">getAttibute</strong>
       
   834                                            (
       
   835                                                 
       
   836                                                         
       
   837                                                          el
       
   838                                                     
       
   839                                                 
       
   840                                                         , 
       
   841                                                          attr
       
   842                                                     
       
   843                                                 
       
   844                                             )
       
   845                                         </code>
       
   846                                         
       
   847                                         <div class="description" property="yui:description">
       
   848                                             Provides a normalized attribute interface.
       
   849                                         </div>
       
   850 
       
   851                                         <div class="description">
       
   852 
       
   853                                                 <dl rel="yui:parameters">
       
   854                                                     <dt>Parameters:</dt>
       
   855                                                         <dd rel="yui:parameter">
       
   856                                                         <code><span property="yui:name">el</span>
       
   857                                                         &lt;<span property="yui:type">String | HTMLElement</span>&gt;
       
   858                                                         </code>
       
   859                                                         <span property="yui:description"> The target element for the attribute.</span>
       
   860                                                         </dd>
       
   861                                                         <dd rel="yui:parameter">
       
   862                                                         <code><span property="yui:name">attr</span>
       
   863                                                         &lt;<span property="yui:type">String</span>&gt;
       
   864                                                         </code>
       
   865                                                         <span property="yui:description"> The attribute to get.</span>
       
   866                                                         </dd>
       
   867                                                 </dl>
       
   868 
       
   869                                                 <dl>
       
   870                                                     <dt>Returns:
       
   871                                                     <code property="yui:return">
       
   872                                                             String
       
   873                                                     </code></dt>
       
   874                                                     <dd property="yui:returnInfo">The current value of the attribute.</dd>
       
   875                                                 </dl>
       
   876 
       
   877 
       
   878              
       
   879 
       
   880                                         </div>
       
   881 
       
   882                                     </div>
       
   883                                     <hr />
       
   884                                     </div>
       
   885                                     <div class="" rel="yui:method" resource="#method_getComputedStyle">
       
   886                                     <h4>
       
   887                                         <a name="method_getComputedStyle">getComputedStyle</a></h4>
       
   888                                     <div class="detail" >
       
   889                                         <code>
       
   890                                         
       
   891                                         
       
   892                                         
       
   893                                         String
       
   894                                             <strong property="yui:name">getComputedStyle</strong>
       
   895                                            (
       
   896                                                 
       
   897                                                         
       
   898                                                          An
       
   899                                                     
       
   900                                                 
       
   901                                                         , 
       
   902                                                          att
       
   903                                                     
       
   904                                                 
       
   905                                             )
       
   906                                         </code>
       
   907                                         
       
   908                                         <div class="description" property="yui:description">
       
   909                                             Returns the computed style for the given node.
       
   910                                         </div>
       
   911 
       
   912                                         <div class="description">
       
   913 
       
   914                                                 <dl rel="yui:parameters">
       
   915                                                     <dt>Parameters:</dt>
       
   916                                                         <dd rel="yui:parameter">
       
   917                                                         <code><span property="yui:name">An</span>
       
   918                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   919                                                         </code>
       
   920                                                         <span property="yui:description"> HTMLElement to get the style from.</span>
       
   921                                                         </dd>
       
   922                                                         <dd rel="yui:parameter">
       
   923                                                         <code><span property="yui:name">att</span>
       
   924                                                         &lt;<span property="yui:type">String</span>&gt;
       
   925                                                         </code>
       
   926                                                         <span property="yui:description"> The style property to get.</span>
       
   927                                                         </dd>
       
   928                                                 </dl>
       
   929 
       
   930                                                 <dl>
       
   931                                                     <dt>Returns:
       
   932                                                     <code property="yui:return">
       
   933                                                             String
       
   934                                                     </code></dt>
       
   935                                                     <dd property="yui:returnInfo">The computed value of the style property.</dd>
       
   936                                                 </dl>
       
   937 
       
   938 
       
   939              
       
   940 
       
   941                                         </div>
       
   942 
       
   943                                     </div>
       
   944                                     <hr />
       
   945                                     </div>
       
   946                                     <div class="" rel="yui:method" resource="#method_getStyle">
       
   947                                     <h4>
       
   948                                         <a name="method_getStyle">getStyle</a></h4>
       
   949                                     <div class="detail" >
       
   950                                         <code>
       
   951                                         
       
   952                                         
       
   953                                         
       
   954                                         void
       
   955                                             <strong property="yui:name">getStyle</strong>
       
   956                                            (
       
   957                                                 
       
   958                                                         
       
   959                                                          An
       
   960                                                     
       
   961                                                 
       
   962                                                         , 
       
   963                                                          att
       
   964                                                     
       
   965                                                 
       
   966                                             )
       
   967                                         </code>
       
   968                                         
       
   969                                         <div class="description" property="yui:description">
       
   970                                             Returns the current style value for the given property.
       
   971                                         </div>
       
   972 
       
   973                                         <div class="description">
       
   974 
       
   975                                                 <dl rel="yui:parameters">
       
   976                                                     <dt>Parameters:</dt>
       
   977                                                         <dd rel="yui:parameter">
       
   978                                                         <code><span property="yui:name">An</span>
       
   979                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
   980                                                         </code>
       
   981                                                         <span property="yui:description"> HTMLElement to get the style from.</span>
       
   982                                                         </dd>
       
   983                                                         <dd rel="yui:parameter">
       
   984                                                         <code><span property="yui:name">att</span>
       
   985                                                         &lt;<span property="yui:type">String</span>&gt;
       
   986                                                         </code>
       
   987                                                         <span property="yui:description"> The style property to get.</span>
       
   988                                                         </dd>
       
   989                                                 </dl>
       
   990 
       
   991 
       
   992 
       
   993              
       
   994 
       
   995                                         </div>
       
   996 
       
   997                                     </div>
       
   998                                     <hr />
       
   999                                     </div>
       
  1000                                     <div class="" rel="yui:method" resource="#method_getText">
       
  1001                                     <h4>
       
  1002                                         <a name="method_getText">getText</a></h4>
       
  1003                                     <div class="detail" >
       
  1004                                         <code>
       
  1005                                         
       
  1006                                         
       
  1007                                         
       
  1008                                         String
       
  1009                                             <strong property="yui:name">getText</strong>
       
  1010                                            (
       
  1011                                                 
       
  1012                                                         
       
  1013                                                          element
       
  1014                                                     
       
  1015                                                 
       
  1016                                             )
       
  1017                                         </code>
       
  1018                                         
       
  1019                                         <div class="description" property="yui:description">
       
  1020                                             Returns the text content of the HTMLElement.
       
  1021                                         </div>
       
  1022 
       
  1023                                         <div class="description">
       
  1024 
       
  1025                                                 <dl rel="yui:parameters">
       
  1026                                                     <dt>Parameters:</dt>
       
  1027                                                         <dd rel="yui:parameter">
       
  1028                                                         <code><span property="yui:name">element</span>
       
  1029                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1030                                                         </code>
       
  1031                                                         <span property="yui:description"> The html element.</span>
       
  1032                                                         </dd>
       
  1033                                                 </dl>
       
  1034 
       
  1035                                                 <dl>
       
  1036                                                     <dt>Returns:
       
  1037                                                     <code property="yui:return">
       
  1038                                                             String
       
  1039                                                     </code></dt>
       
  1040                                                     <dd property="yui:returnInfo">The text content of the element (includes text of any descending elements).</dd>
       
  1041                                                 </dl>
       
  1042 
       
  1043 
       
  1044              
       
  1045 
       
  1046                                         </div>
       
  1047 
       
  1048                                     </div>
       
  1049                                     <hr />
       
  1050                                     </div>
       
  1051                                     <div class="" rel="yui:method" resource="#method_getX">
       
  1052                                     <h4>
       
  1053                                         <a name="method_getX">getX</a></h4>
       
  1054                                     <div class="detail" >
       
  1055                                         <code>
       
  1056                                         
       
  1057                                         
       
  1058                                         
       
  1059                                         Int
       
  1060                                             <strong property="yui:name">getX</strong>
       
  1061                                            (
       
  1062                                                 
       
  1063                                                         
       
  1064                                                          element
       
  1065                                                     
       
  1066                                                 
       
  1067                                             )
       
  1068                                         </code>
       
  1069                                         
       
  1070                                         <div class="description" property="yui:description">
       
  1071                                             Gets the current X position of an element based on page coordinates. 
       
  1072 Element must be part of the DOM tree to have page coordinates
       
  1073 (display:none or elements not appended return false).
       
  1074                                         </div>
       
  1075 
       
  1076                                         <div class="description">
       
  1077 
       
  1078                                                 <dl rel="yui:parameters">
       
  1079                                                     <dt>Parameters:</dt>
       
  1080                                                         <dd rel="yui:parameter">
       
  1081                                                         <code><span property="yui:name">element</span>
       
  1082                                                         &lt;<span property="yui:type">object</span>&gt;
       
  1083                                                         </code>
       
  1084                                                         <span property="yui:description"> The target element</span>
       
  1085                                                         </dd>
       
  1086                                                 </dl>
       
  1087 
       
  1088                                                 <dl>
       
  1089                                                     <dt>Returns:
       
  1090                                                     <code property="yui:return">
       
  1091                                                             Int
       
  1092                                                     </code></dt>
       
  1093                                                     <dd property="yui:returnInfo">The X position of the element</dd>
       
  1094                                                 </dl>
       
  1095 
       
  1096 
       
  1097              
       
  1098 
       
  1099                                         </div>
       
  1100 
       
  1101                                     </div>
       
  1102                                     <hr />
       
  1103                                     </div>
       
  1104                                     <div class="" rel="yui:method" resource="#method_getXY">
       
  1105                                     <h4>
       
  1106                                         <a name="method_getXY">getXY</a></h4>
       
  1107                                     <div class="detail" >
       
  1108                                         <code>
       
  1109                                         
       
  1110                                         
       
  1111                                         
       
  1112                                         Array
       
  1113                                             <strong property="yui:name">getXY</strong>
       
  1114                                            (
       
  1115                                                 
       
  1116                                                         
       
  1117                                                          element
       
  1118                                                     
       
  1119                                                 
       
  1120                                             )
       
  1121                                         </code>
       
  1122                                         
       
  1123                                         <div class="description" property="yui:description">
       
  1124                                             Gets the current position of an element based on page coordinates. 
       
  1125 Element must be part of the DOM tree to have page coordinates
       
  1126 (display:none or elements not appended return false).
       
  1127                                         </div>
       
  1128 
       
  1129                                         <div class="description">
       
  1130 
       
  1131                                                 <dl rel="yui:parameters">
       
  1132                                                     <dt>Parameters:</dt>
       
  1133                                                         <dd rel="yui:parameter">
       
  1134                                                         <code><span property="yui:name">element</span>
       
  1135                                                         &lt;<span property="yui:type">object</span>&gt;
       
  1136                                                         </code>
       
  1137                                                         <span property="yui:description"> The target element</span>
       
  1138                                                         </dd>
       
  1139                                                 </dl>
       
  1140 
       
  1141                                                 <dl>
       
  1142                                                     <dt>Returns:
       
  1143                                                     <code property="yui:return">
       
  1144                                                             Array
       
  1145                                                     </code></dt>
       
  1146                                                     <dd property="yui:returnInfo">The XY position of the element
       
  1147 TODO: test inDocument/display?</dd>
       
  1148                                                 </dl>
       
  1149 
       
  1150 
       
  1151              
       
  1152 
       
  1153                                         </div>
       
  1154 
       
  1155                                     </div>
       
  1156                                     <hr />
       
  1157                                     </div>
       
  1158                                     <div class="" rel="yui:method" resource="#method_getY">
       
  1159                                     <h4>
       
  1160                                         <a name="method_getY">getY</a></h4>
       
  1161                                     <div class="detail" >
       
  1162                                         <code>
       
  1163                                         
       
  1164                                         
       
  1165                                         
       
  1166                                         Int
       
  1167                                             <strong property="yui:name">getY</strong>
       
  1168                                            (
       
  1169                                                 
       
  1170                                                         
       
  1171                                                          element
       
  1172                                                     
       
  1173                                                 
       
  1174                                             )
       
  1175                                         </code>
       
  1176                                         
       
  1177                                         <div class="description" property="yui:description">
       
  1178                                             Gets the current Y position of an element based on page coordinates. 
       
  1179 Element must be part of the DOM tree to have page coordinates
       
  1180 (display:none or elements not appended return false).
       
  1181                                         </div>
       
  1182 
       
  1183                                         <div class="description">
       
  1184 
       
  1185                                                 <dl rel="yui:parameters">
       
  1186                                                     <dt>Parameters:</dt>
       
  1187                                                         <dd rel="yui:parameter">
       
  1188                                                         <code><span property="yui:name">element</span>
       
  1189                                                         &lt;<span property="yui:type">object</span>&gt;
       
  1190                                                         </code>
       
  1191                                                         <span property="yui:description"> The target element</span>
       
  1192                                                         </dd>
       
  1193                                                 </dl>
       
  1194 
       
  1195                                                 <dl>
       
  1196                                                     <dt>Returns:
       
  1197                                                     <code property="yui:return">
       
  1198                                                             Int
       
  1199                                                     </code></dt>
       
  1200                                                     <dd property="yui:returnInfo">The Y position of the element</dd>
       
  1201                                                 </dl>
       
  1202 
       
  1203 
       
  1204              
       
  1205 
       
  1206                                         </div>
       
  1207 
       
  1208                                     </div>
       
  1209                                     <hr />
       
  1210                                     </div>
       
  1211                                     <div class="" rel="yui:method" resource="#method_hasClass">
       
  1212                                     <h4>
       
  1213                                         <a name="method_hasClass">hasClass</a></h4>
       
  1214                                     <div class="detail" >
       
  1215                                         <code>
       
  1216                                         
       
  1217                                         
       
  1218                                         
       
  1219                                         Boolean
       
  1220                                             <strong property="yui:name">hasClass</strong>
       
  1221                                            (
       
  1222                                                 
       
  1223                                                         
       
  1224                                                          element
       
  1225                                                     
       
  1226                                                 
       
  1227                                                         , 
       
  1228                                                          className
       
  1229                                                     
       
  1230                                                 
       
  1231                                             )
       
  1232                                         </code>
       
  1233                                         
       
  1234                                         <div class="description" property="yui:description">
       
  1235                                             Determines whether a DOM element has the given className.
       
  1236                                         </div>
       
  1237 
       
  1238                                         <div class="description">
       
  1239 
       
  1240                                                 <dl rel="yui:parameters">
       
  1241                                                     <dt>Parameters:</dt>
       
  1242                                                         <dd rel="yui:parameter">
       
  1243                                                         <code><span property="yui:name">element</span>
       
  1244                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1245                                                         </code>
       
  1246                                                         <span property="yui:description"> The DOM element.</span>
       
  1247                                                         </dd>
       
  1248                                                         <dd rel="yui:parameter">
       
  1249                                                         <code><span property="yui:name">className</span>
       
  1250                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1251                                                         </code>
       
  1252                                                         <span property="yui:description"> the class name to search for</span>
       
  1253                                                         </dd>
       
  1254                                                 </dl>
       
  1255 
       
  1256                                                 <dl>
       
  1257                                                     <dt>Returns:
       
  1258                                                     <code property="yui:return">
       
  1259                                                             Boolean
       
  1260                                                     </code></dt>
       
  1261                                                     <dd property="yui:returnInfo">Whether or not the element has the given class.</dd>
       
  1262                                                 </dl>
       
  1263 
       
  1264 
       
  1265              
       
  1266 
       
  1267                                         </div>
       
  1268 
       
  1269                                     </div>
       
  1270                                     <hr />
       
  1271                                     </div>
       
  1272                                     <div class="" rel="yui:method" resource="#method_inDoc">
       
  1273                                     <h4>
       
  1274                                         <a name="method_inDoc">inDoc</a></h4>
       
  1275                                     <div class="detail" >
       
  1276                                         <code>
       
  1277                                         
       
  1278                                         
       
  1279                                         
       
  1280                                         Boolean
       
  1281                                             <strong property="yui:name">inDoc</strong>
       
  1282                                            (
       
  1283                                                 
       
  1284                                                         
       
  1285                                                          element
       
  1286                                                     
       
  1287                                                 
       
  1288                                                         , 
       
  1289                                                          doc
       
  1290                                                     
       
  1291                                                 
       
  1292                                             )
       
  1293                                         </code>
       
  1294                                         
       
  1295                                         <div class="description" property="yui:description">
       
  1296                                             Determines whether or not the HTMLElement is part of the document.
       
  1297                                         </div>
       
  1298 
       
  1299                                         <div class="description">
       
  1300 
       
  1301                                                 <dl rel="yui:parameters">
       
  1302                                                     <dt>Parameters:</dt>
       
  1303                                                         <dd rel="yui:parameter">
       
  1304                                                         <code><span property="yui:name">element</span>
       
  1305                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1306                                                         </code>
       
  1307                                                         <span property="yui:description"> The containing html element.</span>
       
  1308                                                         </dd>
       
  1309                                                         <dd rel="yui:parameter">
       
  1310                                                         <code><span property="yui:name">doc</span>
       
  1311                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1312                                                         </code>
       
  1313                                                         <span property="yui:description"> optional The document to check.</span>
       
  1314                                                         </dd>
       
  1315                                                 </dl>
       
  1316 
       
  1317                                                 <dl>
       
  1318                                                     <dt>Returns:
       
  1319                                                     <code property="yui:return">
       
  1320                                                             Boolean
       
  1321                                                     </code></dt>
       
  1322                                                     <dd property="yui:returnInfo">Whether or not the element is attached to the document.</dd>
       
  1323                                                 </dl>
       
  1324 
       
  1325 
       
  1326              
       
  1327 
       
  1328                                         </div>
       
  1329 
       
  1330                                     </div>
       
  1331                                     <hr />
       
  1332                                     </div>
       
  1333                                     <div class="" rel="yui:method" resource="#method_removeClass">
       
  1334                                     <h4>
       
  1335                                         <a name="method_removeClass">removeClass</a></h4>
       
  1336                                     <div class="detail" >
       
  1337                                         <code>
       
  1338                                         
       
  1339                                         
       
  1340                                         
       
  1341                                         void
       
  1342                                             <strong property="yui:name">removeClass</strong>
       
  1343                                            (
       
  1344                                                 
       
  1345                                                         
       
  1346                                                          element
       
  1347                                                     
       
  1348                                                 
       
  1349                                                         , 
       
  1350                                                          className
       
  1351                                                     
       
  1352                                                 
       
  1353                                             )
       
  1354                                         </code>
       
  1355                                         
       
  1356                                         <div class="description" property="yui:description">
       
  1357                                             Removes a class name from a given element.
       
  1358                                         </div>
       
  1359 
       
  1360                                         <div class="description">
       
  1361 
       
  1362                                                 <dl rel="yui:parameters">
       
  1363                                                     <dt>Parameters:</dt>
       
  1364                                                         <dd rel="yui:parameter">
       
  1365                                                         <code><span property="yui:name">element</span>
       
  1366                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1367                                                         </code>
       
  1368                                                         <span property="yui:description"> The DOM element.</span>
       
  1369                                                         </dd>
       
  1370                                                         <dd rel="yui:parameter">
       
  1371                                                         <code><span property="yui:name">className</span>
       
  1372                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1373                                                         </code>
       
  1374                                                         <span property="yui:description"> the class name to remove from the class attribute</span>
       
  1375                                                         </dd>
       
  1376                                                 </dl>
       
  1377 
       
  1378 
       
  1379 
       
  1380              
       
  1381 
       
  1382                                         </div>
       
  1383 
       
  1384                                     </div>
       
  1385                                     <hr />
       
  1386                                     </div>
       
  1387                                     <div class="" rel="yui:method" resource="#method_replaceClass">
       
  1388                                     <h4>
       
  1389                                         <a name="method_replaceClass">replaceClass</a></h4>
       
  1390                                     <div class="detail" >
       
  1391                                         <code>
       
  1392                                         
       
  1393                                         
       
  1394                                         
       
  1395                                         void
       
  1396                                             <strong property="yui:name">replaceClass</strong>
       
  1397                                            (
       
  1398                                                 
       
  1399                                                         
       
  1400                                                          element
       
  1401                                                     
       
  1402                                                 
       
  1403                                                         , 
       
  1404                                                          oldClassName
       
  1405                                                     
       
  1406                                                 
       
  1407                                                         , 
       
  1408                                                          newClassName
       
  1409                                                     
       
  1410                                                 
       
  1411                                             )
       
  1412                                         </code>
       
  1413                                         
       
  1414                                         <div class="description" property="yui:description">
       
  1415                                             Replace a class with another class for a given element.
       
  1416 If no oldClassName is present, the newClassName is simply added.
       
  1417                                         </div>
       
  1418 
       
  1419                                         <div class="description">
       
  1420 
       
  1421                                                 <dl rel="yui:parameters">
       
  1422                                                     <dt>Parameters:</dt>
       
  1423                                                         <dd rel="yui:parameter">
       
  1424                                                         <code><span property="yui:name">element</span>
       
  1425                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1426                                                         </code>
       
  1427                                                         <span property="yui:description"> The DOM element.</span>
       
  1428                                                         </dd>
       
  1429                                                         <dd rel="yui:parameter">
       
  1430                                                         <code><span property="yui:name">oldClassName</span>
       
  1431                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1432                                                         </code>
       
  1433                                                         <span property="yui:description"> the class name to be replaced</span>
       
  1434                                                         </dd>
       
  1435                                                         <dd rel="yui:parameter">
       
  1436                                                         <code><span property="yui:name">newClassName</span>
       
  1437                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1438                                                         </code>
       
  1439                                                         <span property="yui:description"> the class name that will be replacing the old class name</span>
       
  1440                                                         </dd>
       
  1441                                                 </dl>
       
  1442 
       
  1443 
       
  1444 
       
  1445              
       
  1446 
       
  1447                                         </div>
       
  1448 
       
  1449                                     </div>
       
  1450                                     <hr />
       
  1451                                     </div>
       
  1452                                     <div class="" rel="yui:method" resource="#method_setAttibute">
       
  1453                                     <h4>
       
  1454                                         <a name="method_setAttibute">setAttibute</a></h4>
       
  1455                                     <div class="detail" >
       
  1456                                         <code>
       
  1457                                         
       
  1458                                         
       
  1459                                         
       
  1460                                         void
       
  1461                                             <strong property="yui:name">setAttibute</strong>
       
  1462                                            (
       
  1463                                                 
       
  1464                                                         
       
  1465                                                          el
       
  1466                                                     
       
  1467                                                 
       
  1468                                                         , 
       
  1469                                                          attr
       
  1470                                                     
       
  1471                                                 
       
  1472                                                         , 
       
  1473                                                          val
       
  1474                                                     
       
  1475                                                 
       
  1476                                             )
       
  1477                                         </code>
       
  1478                                         
       
  1479                                         <div class="description" property="yui:description">
       
  1480                                             Provides a normalized attribute interface.
       
  1481                                         </div>
       
  1482 
       
  1483                                         <div class="description">
       
  1484 
       
  1485                                                 <dl rel="yui:parameters">
       
  1486                                                     <dt>Parameters:</dt>
       
  1487                                                         <dd rel="yui:parameter">
       
  1488                                                         <code><span property="yui:name">el</span>
       
  1489                                                         &lt;<span property="yui:type">String | HTMLElement</span>&gt;
       
  1490                                                         </code>
       
  1491                                                         <span property="yui:description"> The target element for the attribute.</span>
       
  1492                                                         </dd>
       
  1493                                                         <dd rel="yui:parameter">
       
  1494                                                         <code><span property="yui:name">attr</span>
       
  1495                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1496                                                         </code>
       
  1497                                                         <span property="yui:description"> The attribute to set.</span>
       
  1498                                                         </dd>
       
  1499                                                         <dd rel="yui:parameter">
       
  1500                                                         <code><span property="yui:name">val</span>
       
  1501                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1502                                                         </code>
       
  1503                                                         <span property="yui:description"> The value of the attribute.</span>
       
  1504                                                         </dd>
       
  1505                                                 </dl>
       
  1506 
       
  1507 
       
  1508 
       
  1509              
       
  1510 
       
  1511                                         </div>
       
  1512 
       
  1513                                     </div>
       
  1514                                     <hr />
       
  1515                                     </div>
       
  1516                                     <div class="" rel="yui:method" resource="#method_setStyle">
       
  1517                                     <h4>
       
  1518                                         <a name="method_setStyle">setStyle</a></h4>
       
  1519                                     <div class="detail" >
       
  1520                                         <code>
       
  1521                                         
       
  1522                                         
       
  1523                                         
       
  1524                                         void
       
  1525                                             <strong property="yui:name">setStyle</strong>
       
  1526                                            (
       
  1527                                                 
       
  1528                                                         
       
  1529                                                          An
       
  1530                                                     
       
  1531                                                 
       
  1532                                                         , 
       
  1533                                                          att
       
  1534                                                     
       
  1535                                                 
       
  1536                                                         , 
       
  1537                                                          val
       
  1538                                                     
       
  1539                                                 
       
  1540                                             )
       
  1541                                         </code>
       
  1542                                         
       
  1543                                         <div class="description" property="yui:description">
       
  1544                                             Sets a style property for a given element.
       
  1545                                         </div>
       
  1546 
       
  1547                                         <div class="description">
       
  1548 
       
  1549                                                 <dl rel="yui:parameters">
       
  1550                                                     <dt>Parameters:</dt>
       
  1551                                                         <dd rel="yui:parameter">
       
  1552                                                         <code><span property="yui:name">An</span>
       
  1553                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1554                                                         </code>
       
  1555                                                         <span property="yui:description"> HTMLElement to apply the style to.</span>
       
  1556                                                         </dd>
       
  1557                                                         <dd rel="yui:parameter">
       
  1558                                                         <code><span property="yui:name">att</span>
       
  1559                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1560                                                         </code>
       
  1561                                                         <span property="yui:description"> The style property to set.</span>
       
  1562                                                         </dd>
       
  1563                                                         <dd rel="yui:parameter">
       
  1564                                                         <code><span property="yui:name">val</span>
       
  1565                                                         &lt;<span property="yui:type">String|Number</span>&gt;
       
  1566                                                         </code>
       
  1567                                                         <span property="yui:description"> The value.</span>
       
  1568                                                         </dd>
       
  1569                                                 </dl>
       
  1570 
       
  1571 
       
  1572 
       
  1573              
       
  1574 
       
  1575                                         </div>
       
  1576 
       
  1577                                     </div>
       
  1578                                     <hr />
       
  1579                                     </div>
       
  1580                                     <div class="" rel="yui:method" resource="#method_setStyles">
       
  1581                                     <h4>
       
  1582                                         <a name="method_setStyles">setStyles</a></h4>
       
  1583                                     <div class="detail" >
       
  1584                                         <code>
       
  1585                                         
       
  1586                                         
       
  1587                                         
       
  1588                                         void
       
  1589                                             <strong property="yui:name">setStyles</strong>
       
  1590                                            (
       
  1591                                                 
       
  1592                                                         
       
  1593                                                          node
       
  1594                                                     
       
  1595                                                 
       
  1596                                                         , 
       
  1597                                                          hash
       
  1598                                                     
       
  1599                                                 
       
  1600                                             )
       
  1601                                         </code>
       
  1602                                         
       
  1603                                         <div class="description" property="yui:description">
       
  1604                                             Sets multiple style properties.
       
  1605                                         </div>
       
  1606 
       
  1607                                         <div class="description">
       
  1608 
       
  1609                                                 <dl rel="yui:parameters">
       
  1610                                                     <dt>Parameters:</dt>
       
  1611                                                         <dd rel="yui:parameter">
       
  1612                                                         <code><span property="yui:name">node</span>
       
  1613                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1614                                                         </code>
       
  1615                                                         <span property="yui:description"> An HTMLElement to apply the styles to.</span>
       
  1616                                                         </dd>
       
  1617                                                         <dd rel="yui:parameter">
       
  1618                                                         <code><span property="yui:name">hash</span>
       
  1619                                                         &lt;<span property="yui:type">Object</span>&gt;
       
  1620                                                         </code>
       
  1621                                                         <span property="yui:description"> An object literal of property:value pairs.</span>
       
  1622                                                         </dd>
       
  1623                                                 </dl>
       
  1624 
       
  1625 
       
  1626 
       
  1627              
       
  1628 
       
  1629                                         </div>
       
  1630 
       
  1631                                     </div>
       
  1632                                     <hr />
       
  1633                                     </div>
       
  1634                                     <div class="" rel="yui:method" resource="#method_setText">
       
  1635                                     <h4>
       
  1636                                         <a name="method_setText">setText</a></h4>
       
  1637                                     <div class="detail" >
       
  1638                                         <code>
       
  1639                                         
       
  1640                                         
       
  1641                                         
       
  1642                                         void
       
  1643                                             <strong property="yui:name">setText</strong>
       
  1644                                            (
       
  1645                                                 
       
  1646                                                         
       
  1647                                                          element
       
  1648                                                     
       
  1649                                                 
       
  1650                                                         , 
       
  1651                                                          content
       
  1652                                                     
       
  1653                                                 
       
  1654                                             )
       
  1655                                         </code>
       
  1656                                         
       
  1657                                         <div class="description" property="yui:description">
       
  1658                                             Sets the text content of the HTMLElement.
       
  1659                                         </div>
       
  1660 
       
  1661                                         <div class="description">
       
  1662 
       
  1663                                                 <dl rel="yui:parameters">
       
  1664                                                     <dt>Parameters:</dt>
       
  1665                                                         <dd rel="yui:parameter">
       
  1666                                                         <code><span property="yui:name">element</span>
       
  1667                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1668                                                         </code>
       
  1669                                                         <span property="yui:description"> The html element.</span>
       
  1670                                                         </dd>
       
  1671                                                         <dd rel="yui:parameter">
       
  1672                                                         <code><span property="yui:name">content</span>
       
  1673                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1674                                                         </code>
       
  1675                                                         <span property="yui:description"> The content to add.</span>
       
  1676                                                         </dd>
       
  1677                                                 </dl>
       
  1678 
       
  1679 
       
  1680 
       
  1681              
       
  1682 
       
  1683                                         </div>
       
  1684 
       
  1685                                     </div>
       
  1686                                     <hr />
       
  1687                                     </div>
       
  1688                                     <div class="" rel="yui:method" resource="#method_setX">
       
  1689                                     <h4>
       
  1690                                         <a name="method_setX">setX</a></h4>
       
  1691                                     <div class="detail" >
       
  1692                                         <code>
       
  1693                                         
       
  1694                                         
       
  1695                                         
       
  1696                                         void
       
  1697                                             <strong property="yui:name">setX</strong>
       
  1698                                            (
       
  1699                                                 
       
  1700                                                         
       
  1701                                                          element
       
  1702                                                     
       
  1703                                                 
       
  1704                                                         , 
       
  1705                                                          x
       
  1706                                                     
       
  1707                                                 
       
  1708                                             )
       
  1709                                         </code>
       
  1710                                         
       
  1711                                         <div class="description" property="yui:description">
       
  1712                                             Set the X position of an html element in page coordinates, regardless of how the element is positioned.
       
  1713 The element(s) must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
       
  1714                                         </div>
       
  1715 
       
  1716                                         <div class="description">
       
  1717 
       
  1718                                                 <dl rel="yui:parameters">
       
  1719                                                     <dt>Parameters:</dt>
       
  1720                                                         <dd rel="yui:parameter">
       
  1721                                                         <code><span property="yui:name">element</span>
       
  1722                                                         &lt;<span property="yui:type">object</span>&gt;
       
  1723                                                         </code>
       
  1724                                                         <span property="yui:description"> The target element</span>
       
  1725                                                         </dd>
       
  1726                                                         <dd rel="yui:parameter">
       
  1727                                                         <code><span property="yui:name">x</span>
       
  1728                                                         &lt;<span property="yui:type">Int</span>&gt;
       
  1729                                                         </code>
       
  1730                                                         <span property="yui:description"> The X values for new position (coordinates are page-based)</span>
       
  1731                                                         </dd>
       
  1732                                                 </dl>
       
  1733 
       
  1734 
       
  1735 
       
  1736              
       
  1737 
       
  1738                                         </div>
       
  1739 
       
  1740                                     </div>
       
  1741                                     <hr />
       
  1742                                     </div>
       
  1743                                     <div class="" rel="yui:method" resource="#method_setXY">
       
  1744                                     <h4>
       
  1745                                         <a name="method_setXY">setXY</a></h4>
       
  1746                                     <div class="detail" >
       
  1747                                         <code>
       
  1748                                         
       
  1749                                         
       
  1750                                         
       
  1751                                         void
       
  1752                                             <strong property="yui:name">setXY</strong>
       
  1753                                            (
       
  1754                                                 
       
  1755                                                         
       
  1756                                                          element
       
  1757                                                     
       
  1758                                                 
       
  1759                                                         , 
       
  1760                                                          xy
       
  1761                                                     
       
  1762                                                 
       
  1763                                                         , 
       
  1764                                                          noRetry
       
  1765                                                     
       
  1766                                                 
       
  1767                                             )
       
  1768                                         </code>
       
  1769                                         
       
  1770                                         <div class="description" property="yui:description">
       
  1771                                             Set the position of an html element in page coordinates.
       
  1772 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
       
  1773                                         </div>
       
  1774 
       
  1775                                         <div class="description">
       
  1776 
       
  1777                                                 <dl rel="yui:parameters">
       
  1778                                                     <dt>Parameters:</dt>
       
  1779                                                         <dd rel="yui:parameter">
       
  1780                                                         <code><span property="yui:name">element</span>
       
  1781                                                         &lt;<span property="yui:type">object</span>&gt;
       
  1782                                                         </code>
       
  1783                                                         <span property="yui:description"> The target element</span>
       
  1784                                                         </dd>
       
  1785                                                         <dd rel="yui:parameter">
       
  1786                                                         <code><span property="yui:name">xy</span>
       
  1787                                                         &lt;<span property="yui:type">Array</span>&gt;
       
  1788                                                         </code>
       
  1789                                                         <span property="yui:description"> Contains X & Y values for new position (coordinates are page-based)</span>
       
  1790                                                         </dd>
       
  1791                                                         <dd rel="yui:parameter">
       
  1792                                                         <code><span property="yui:name">noRetry</span>
       
  1793                                                         &lt;<span property="yui:type">Boolean</span>&gt;
       
  1794                                                         </code>
       
  1795                                                         <span property="yui:description"> By default we try and set the position a second time if the first fails</span>
       
  1796                                                         </dd>
       
  1797                                                 </dl>
       
  1798 
       
  1799 
       
  1800 
       
  1801              
       
  1802 
       
  1803                                         </div>
       
  1804 
       
  1805                                     </div>
       
  1806                                     <hr />
       
  1807                                     </div>
       
  1808                                     <div class="" rel="yui:method" resource="#method_setY">
       
  1809                                     <h4>
       
  1810                                         <a name="method_setY">setY</a></h4>
       
  1811                                     <div class="detail" >
       
  1812                                         <code>
       
  1813                                         
       
  1814                                         
       
  1815                                         
       
  1816                                         void
       
  1817                                             <strong property="yui:name">setY</strong>
       
  1818                                            (
       
  1819                                                 
       
  1820                                                         
       
  1821                                                          element
       
  1822                                                     
       
  1823                                                 
       
  1824                                                         , 
       
  1825                                                          y
       
  1826                                                     
       
  1827                                                 
       
  1828                                             )
       
  1829                                         </code>
       
  1830                                         
       
  1831                                         <div class="description" property="yui:description">
       
  1832                                             Set the Y position of an html element in page coordinates, regardless of how the element is positioned.
       
  1833 The element(s) must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
       
  1834                                         </div>
       
  1835 
       
  1836                                         <div class="description">
       
  1837 
       
  1838                                                 <dl rel="yui:parameters">
       
  1839                                                     <dt>Parameters:</dt>
       
  1840                                                         <dd rel="yui:parameter">
       
  1841                                                         <code><span property="yui:name">element</span>
       
  1842                                                         &lt;<span property="yui:type">object</span>&gt;
       
  1843                                                         </code>
       
  1844                                                         <span property="yui:description"> The target element</span>
       
  1845                                                         </dd>
       
  1846                                                         <dd rel="yui:parameter">
       
  1847                                                         <code><span property="yui:name">y</span>
       
  1848                                                         &lt;<span property="yui:type">Int</span>&gt;
       
  1849                                                         </code>
       
  1850                                                         <span property="yui:description"> The Y values for new position (coordinates are page-based)</span>
       
  1851                                                         </dd>
       
  1852                                                 </dl>
       
  1853 
       
  1854 
       
  1855 
       
  1856              
       
  1857 
       
  1858                                         </div>
       
  1859 
       
  1860                                     </div>
       
  1861                                     <hr />
       
  1862                                     </div>
       
  1863                                     <div class="" rel="yui:method" resource="#method_toggleClass">
       
  1864                                     <h4>
       
  1865                                         <a name="method_toggleClass">toggleClass</a></h4>
       
  1866                                     <div class="detail" >
       
  1867                                         <code>
       
  1868                                         
       
  1869                                         
       
  1870                                         
       
  1871                                         void
       
  1872                                             <strong property="yui:name">toggleClass</strong>
       
  1873                                            (
       
  1874                                                 
       
  1875                                                         
       
  1876                                                          element
       
  1877                                                     
       
  1878                                                 
       
  1879                                                         , 
       
  1880                                                          className
       
  1881                                                     
       
  1882                                                 
       
  1883                                             )
       
  1884                                         </code>
       
  1885                                         
       
  1886                                         <div class="description" property="yui:description">
       
  1887                                             If the className exists on the node it is removed, if it doesn't exist it is added.
       
  1888                                         </div>
       
  1889 
       
  1890                                         <div class="description">
       
  1891 
       
  1892                                                 <dl rel="yui:parameters">
       
  1893                                                     <dt>Parameters:</dt>
       
  1894                                                         <dd rel="yui:parameter">
       
  1895                                                         <code><span property="yui:name">element</span>
       
  1896                                                         &lt;<span property="yui:type">HTMLElement</span>&gt;
       
  1897                                                         </code>
       
  1898                                                         <span property="yui:description"> The DOM element.</span>
       
  1899                                                         </dd>
       
  1900                                                         <dd rel="yui:parameter">
       
  1901                                                         <code><span property="yui:name">className</span>
       
  1902                                                         &lt;<span property="yui:type">String</span>&gt;
       
  1903                                                         </code>
       
  1904                                                         <span property="yui:description"> the class name to be toggled</span>
       
  1905                                                         </dd>
       
  1906                                                 </dl>
       
  1907 
       
  1908 
       
  1909 
       
  1910              
       
  1911 
       
  1912                                         </div>
       
  1913 
       
  1914                                     </div>
       
  1915                                     <hr />
       
  1916                                     </div>
       
  1917                                     <div class="" rel="yui:method" resource="#method_winHeight">
       
  1918                                     <h4>
       
  1919                                         <a name="method_winHeight">winHeight</a></h4>
       
  1920                                     <div class="detail" >
       
  1921                                         <code>
       
  1922                                         
       
  1923                                         
       
  1924                                         
       
  1925                                         Number
       
  1926                                             <strong property="yui:name">winHeight</strong>
       
  1927                                            (
       
  1928                                             )
       
  1929                                         </code>
       
  1930                                         
       
  1931                                         <div class="description" property="yui:description">
       
  1932                                             Returns the inner height of the viewport (exludes scrollbar).
       
  1933                                         </div>
       
  1934 
       
  1935                                         <div class="description">
       
  1936 
       
  1937 
       
  1938                                                 <dl>
       
  1939                                                     <dt>Returns:
       
  1940                                                     <code property="yui:return">
       
  1941                                                             Number
       
  1942                                                     </code></dt>
       
  1943                                                     <dd property="yui:returnInfo">The current height of the viewport.</dd>
       
  1944                                                 </dl>
       
  1945 
       
  1946 
       
  1947              
       
  1948 
       
  1949                                         </div>
       
  1950 
       
  1951                                     </div>
       
  1952                                     <hr />
       
  1953                                     </div>
       
  1954                                     <div class="" rel="yui:method" resource="#method_winWidth">
       
  1955                                     <h4>
       
  1956                                         <a name="method_winWidth">winWidth</a></h4>
       
  1957                                     <div class="detail" >
       
  1958                                         <code>
       
  1959                                         
       
  1960                                         
       
  1961                                         
       
  1962                                         Number
       
  1963                                             <strong property="yui:name">winWidth</strong>
       
  1964                                            (
       
  1965                                             )
       
  1966                                         </code>
       
  1967                                         
       
  1968                                         <div class="description" property="yui:description">
       
  1969                                             Returns the inner width of the viewport (exludes scrollbar).
       
  1970                                         </div>
       
  1971 
       
  1972                                         <div class="description">
       
  1973 
       
  1974 
       
  1975                                                 <dl>
       
  1976                                                     <dt>Returns:
       
  1977                                                     <code property="yui:return">
       
  1978                                                             Number
       
  1979                                                     </code></dt>
       
  1980                                                     <dd property="yui:returnInfo">The current width of the viewport.</dd>
       
  1981                                                 </dl>
       
  1982 
       
  1983 
       
  1984              
       
  1985 
       
  1986                                         </div>
       
  1987 
       
  1988                                     </div>
       
  1989                                     <hr />
       
  1990                                     </div>
       
  1991                             </div>
       
  1992                         </div>
       
  1993 
       
  1994                     </div>
       
  1995 
       
  1996                     <div rel="yui:events" resource="#events">
       
  1997 
       
  1998 
       
  1999                     </div>
       
  2000 
       
  2001                     <div rel="yui:attributes" resource="#configattributes">
       
  2002 
       
  2003                     </div>
       
  2004 
       
  2005 			</div>
       
  2006 		</div>
       
  2007 		<div class="yui-b">
       
  2008             <div class="nav">
       
  2009 
       
  2010                     <div id="moduleList" class="module">
       
  2011                         <h4>Modules</h4>
       
  2012                         <ul class="content">
       
  2013                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
  2014                                 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
       
  2015                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
  2016                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
  2017                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
  2018                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
  2019                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
  2020                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
  2021                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
  2022                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
  2023                                 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
  2024                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
  2025                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
  2026                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
  2027                                 <li class="selected"><a href="module_dom.html" title="dom">dom</a></li>
       
  2028                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
  2029                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
  2030                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
  2031                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
  2032                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
  2033                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
  2034                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
  2035                                 <li class=""><a href="module_json.html" title="json">json</a></li>
       
  2036                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
  2037                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
  2038                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
  2039                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
  2040                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
  2041                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
  2042                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
  2043                                 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
       
  2044                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
  2045                                 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
  2046                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
  2047                                 <li class=""><a href="module_test.html" title="test">test</a></li>
       
  2048                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
  2049                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
  2050                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
  2051                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
  2052                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
  2053                                 <li class=""><a href="module_yui.html" title="yui">yui</a></li>
       
  2054                         </ul>
       
  2055                     </div>
       
  2056 
       
  2057                     <div id="classList" class="module">
       
  2058                         <h4>Classes</h4>
       
  2059                         <ul class="content">
       
  2060                                 <li class="selected"><a href="DOM.html" title="DOM">DOM</a></li>
       
  2061                                 <li class=""><a href="Selector.html" title="Selector">Selector</a></li>
       
  2062                         </ul>
       
  2063                     </div>
       
  2064 
       
  2065                     <div id="fileList" class="module">
       
  2066                         <h4>Files</h4>
       
  2067                         <ul class="content">        
       
  2068                                 <li class=""><a href="color.js.html" title="color.js">color.js</a></li>
       
  2069                                 <li class=""><a href="dom-class.js.html" title="dom-class.js">dom-class.js</a></li>
       
  2070                                 <li class=""><a href="dom-ie-style.js.html" title="dom-ie-style.js">dom-ie-style.js</a></li>
       
  2071                                 <li class=""><a href="dom-region.js.html" title="dom-region.js">dom-region.js</a></li>
       
  2072                                 <li class=""><a href="dom-screen.js.html" title="dom-screen.js">dom-screen.js</a></li>
       
  2073                                 <li class=""><a href="dom-style.js.html" title="dom-style.js">dom-style.js</a></li>
       
  2074                                 <li class=""><a href="dom.js.html" title="dom.js">dom.js</a></li>
       
  2075                                 <li class=""><a href="selector-css2.js.html" title="selector-css2.js">selector-css2.js</a></li>
       
  2076                                 <li class=""><a href="selector-css3.js.html" title="selector-css3.js">selector-css3.js</a></li>
       
  2077                                 <li class=""><a href="selector-native.js.html" title="selector-native.js">selector-native.js</a></li>
       
  2078                         </ul>
       
  2079                     </div>
       
  2080 
       
  2081 
       
  2082                     <div id="methodsList" class="module">
       
  2083                         <h4>Methods</h4>
       
  2084                         <ul class="content">        
       
  2085                                 <li class="private"><a href="#method__bruteContains" title="_bruteContains">_bruteContains</a></li>
       
  2086                                 <li class="private"><a href="#method__getDoc" title="_getDoc">_getDoc</a></li>
       
  2087                                 <li class="private"><a href="#method__getRegExp" title="_getRegExp">_getRegExp</a></li>
       
  2088                                 <li class="private"><a href="#method__getWin" title="_getWin">_getWin</a></li>
       
  2089                                 <li class=""><a href="#method_addClass" title="addClass">addClass</a></li>
       
  2090                                 <li class=""><a href="#method_addHTML" title="addHTML">addHTML</a></li>
       
  2091                                 <li class=""><a href="#method_byId" title="byId">byId</a></li>
       
  2092                                 <li class=""><a href="#method_contains" title="contains">contains</a></li>
       
  2093                                 <li class=""><a href="#method_create" title="create">create</a></li>
       
  2094                                 <li class=""><a href="#method_docHeight" title="docHeight">docHeight</a></li>
       
  2095                                 <li class=""><a href="#method_docScrollX" title="docScrollX">docScrollX</a></li>
       
  2096                                 <li class=""><a href="#method_docScrollY" title="docScrollY">docScrollY</a></li>
       
  2097                                 <li class=""><a href="#method_docWidth" title="docWidth">docWidth</a></li>
       
  2098                                 <li class=""><a href="#method_elementByAxis" title="elementByAxis">elementByAxis</a></li>
       
  2099                                 <li class=""><a href="#method_getAttibute" title="getAttibute">getAttibute</a></li>
       
  2100                                 <li class=""><a href="#method_getComputedStyle" title="getComputedStyle">getComputedStyle</a></li>
       
  2101                                 <li class=""><a href="#method_getStyle" title="getStyle">getStyle</a></li>
       
  2102                                 <li class=""><a href="#method_getText" title="getText">getText</a></li>
       
  2103                                 <li class=""><a href="#method_getX" title="getX">getX</a></li>
       
  2104                                 <li class=""><a href="#method_getXY" title="getXY">getXY</a></li>
       
  2105                                 <li class=""><a href="#method_getY" title="getY">getY</a></li>
       
  2106                                 <li class=""><a href="#method_hasClass" title="hasClass">hasClass</a></li>
       
  2107                                 <li class=""><a href="#method_inDoc" title="inDoc">inDoc</a></li>
       
  2108                                 <li class=""><a href="#method_removeClass" title="removeClass">removeClass</a></li>
       
  2109                                 <li class=""><a href="#method_replaceClass" title="replaceClass">replaceClass</a></li>
       
  2110                                 <li class=""><a href="#method_setAttibute" title="setAttibute">setAttibute</a></li>
       
  2111                                 <li class=""><a href="#method_setStyle" title="setStyle">setStyle</a></li>
       
  2112                                 <li class=""><a href="#method_setStyles" title="setStyles">setStyles</a></li>
       
  2113                                 <li class=""><a href="#method_setText" title="setText">setText</a></li>
       
  2114                                 <li class=""><a href="#method_setX" title="setX">setX</a></li>
       
  2115                                 <li class=""><a href="#method_setXY" title="setXY">setXY</a></li>
       
  2116                                 <li class=""><a href="#method_setY" title="setY">setY</a></li>
       
  2117                                 <li class=""><a href="#method_toggleClass" title="toggleClass">toggleClass</a></li>
       
  2118                                 <li class=""><a href="#method_winHeight" title="winHeight">winHeight</a></li>
       
  2119                                 <li class=""><a href="#method_winWidth" title="winWidth">winWidth</a></li>
       
  2120                         </ul>
       
  2121                     </div>
       
  2122 
       
  2123 
       
  2124 
       
  2125             </div>
       
  2126 		</div>
       
  2127 	</div>
       
  2128 	<div id="ft">
       
  2129         <hr />
       
  2130         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
  2131 	</div>
       
  2132 </div>
       
  2133 <script type="text/javascript">
       
  2134     ALL_YUI_PROPS = [{"access": "", "host": "DOM", "name": "addClass", "url": "DOM.html#method_addClass", "type": "method"}, {"access": "", "host": "DOM", "name": "addHTML", "url": "DOM.html#method_addHTML", "type": "method"}, {"access": "private", "host": "DOM", "name": "_bruteContains", "url": "DOM.html#method__bruteContains", "type": "method"}, {"access": "", "host": "DOM", "name": "byId", "url": "DOM.html#method_byId", "type": "method"}, {"access": "", "host": "DOM", "name": "contains", "url": "DOM.html#method_contains", "type": "method"}, {"access": "", "host": "DOM", "name": "create", "url": "DOM.html#method_create", "type": "method"}, {"access": "", "host": "DOM", "name": "docHeight", "url": "DOM.html#method_docHeight", "type": "method"}, {"access": "", "host": "DOM", "name": "docScrollX", "url": "DOM.html#method_docScrollX", "type": "method"}, {"access": "", "host": "DOM", "name": "docScrollY", "url": "DOM.html#method_docScrollY", "type": "method"}, {"access": "", "host": "DOM", "name": "docWidth", "url": "DOM.html#method_docWidth", "type": "method"}, {"access": "", "host": "DOM", "name": "elementByAxis", "url": "DOM.html#method_elementByAxis", "type": "method"}, {"access": "", "host": "DOM", "name": "getAttibute", "url": "DOM.html#method_getAttibute", "type": "method"}, {"access": "", "host": "DOM", "name": "getComputedStyle", "url": "DOM.html#method_getComputedStyle", "type": "method"}, {"access": "private", "host": "DOM", "name": "_getDoc", "url": "DOM.html#method__getDoc", "type": "method"}, {"access": "private", "host": "DOM", "name": "_getRegExp", "url": "DOM.html#method__getRegExp", "type": "method"}, {"access": "", "host": "DOM", "name": "getStyle", "url": "DOM.html#method_getStyle", "type": "method"}, {"access": "", "host": "DOM", "name": "getText", "url": "DOM.html#method_getText", "type": "method"}, {"access": "private", "host": "DOM", "name": "_getWin", "url": "DOM.html#method__getWin", "type": "method"}, {"access": "", "host": "DOM", "name": "getX", "url": "DOM.html#method_getX", "type": "method"}, {"access": "", "host": "DOM", "name": "getXY", "url": "DOM.html#method_getXY", "type": "method"}, {"access": "", "host": "DOM", "name": "getY", "url": "DOM.html#method_getY", "type": "method"}, {"access": "", "host": "DOM", "name": "hasClass", "url": "DOM.html#method_hasClass", "type": "method"}, {"access": "", "host": "DOM", "name": "inDoc", "url": "DOM.html#method_inDoc", "type": "method"}, {"access": "", "host": "Selector", "name": "inRegion", "url": "Selector.html#method_inRegion", "type": "method"}, {"access": "", "host": "Selector", "name": "intersect", "url": "Selector.html#method_intersect", "type": "method"}, {"access": "", "host": "Selector", "name": "inViewportRegion", "url": "Selector.html#method_inViewportRegion", "type": "method"}, {"access": "", "host": "Selector", "name": "operators", "url": "Selector.html#property_operators", "type": "property"}, {"access": "", "host": "Selector", "name": "PARENT_NODE", "url": "Selector.html#property_PARENT_NODE", "type": "property"}, {"access": "", "host": "Selector", "name": "query", "url": "Selector.html#method_query", "type": "method"}, {"access": "", "host": "Selector", "name": "region", "url": "Selector.html#method_region", "type": "method"}, {"access": "", "host": "DOM", "name": "removeClass", "url": "DOM.html#method_removeClass", "type": "method"}, {"access": "", "host": "DOM", "name": "replaceClass", "url": "DOM.html#method_replaceClass", "type": "method"}, {"access": "", "host": "DOM", "name": "setAttibute", "url": "DOM.html#method_setAttibute", "type": "method"}, {"access": "", "host": "DOM", "name": "setStyle", "url": "DOM.html#method_setStyle", "type": "method"}, {"access": "", "host": "DOM", "name": "setStyles", "url": "DOM.html#method_setStyles", "type": "method"}, {"access": "", "host": "DOM", "name": "setText", "url": "DOM.html#method_setText", "type": "method"}, {"access": "", "host": "DOM", "name": "setX", "url": "DOM.html#method_setX", "type": "method"}, {"access": "", "host": "DOM", "name": "setXY", "url": "DOM.html#method_setXY", "type": "method"}, {"access": "", "host": "DOM", "name": "setY", "url": "DOM.html#method_setY", "type": "method"}, {"access": "", "host": "Selector", "name": "shorthand", "url": "Selector.html#property_shorthand", "type": "property"}, {"access": "", "host": "DOM", "name": "toggleClass", "url": "DOM.html#method_toggleClass", "type": "method"}, {"access": "", "host": "Selector", "name": "_tokenize", "url": "Selector.html#method__tokenize", "type": "method"}, {"access": "", "host": "Selector", "name": "viewportRegion", "url": "Selector.html#method_viewportRegion", "type": "method"}, {"access": "", "host": "DOM", "name": "winHeight", "url": "DOM.html#method_winHeight", "type": "method"}, {"access": "", "host": "DOM", "name": "winWidth", "url": "DOM.html#method_winWidth", "type": "method"}];
       
  2135 </script>
       
  2136 </body>
       
  2137 </html>