Changeset 4208 for trunk/tools/api-browser/style.xsl
- Timestamp:
- 12/17/07 18:48:39 (1 year ago)
- Files:
-
- 1 modified
-
trunk/tools/api-browser/style.xsl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/api-browser/style.xsl
r4180 r4208 69 69 </xsl:template> 70 70 71 <xsl:template name="startdoc"> 72 <xsl:text> 73 <xsl:choose> 74 <xsl:when test="/docs/@startdoc='API'">jQuery Core</xsl:when> 75 <xsl:when test="/docs/@startdoc='UI'">jQuery UI</xsl:when> 76 <xsl:when test="/docs/@startdoc='Plugins_API'">jQuery Plugins</xsl:when> 77 <xsl:when test="/docs/@startdoc='Plugins/Validation'">jQuery Validation Plugin</xsl:when> 78 <xsl:otherwise><xsl:value-of select="/docs/@startdoc" /></xsl:otherwise> 79 </xsl:choose> 80 </xsl:text> 81 </xsl:template> 82 71 83 <xsl:template name="printMethod"> 72 84 <li> 73 85 <a> 74 86 <xsl:call-template name="href" /> 75 <xsl:value-of select="@name" /> 76 <xsl:if test="name(.) != 'property'"> 87 <xsl:if test="name(.) = 'selector'"> 88 <xsl:value-of select="sample" /> 89 </xsl:if> 90 <xsl:if test="name(.) != 'selector'"> 91 <xsl:value-of select="@name" /> 92 </xsl:if> 93 <xsl:if test="name(.) = 'function'"> 77 94 <xsl:text>(</xsl:text> 78 95 <xsl:for-each select="params"> … … 134 151 </head> 135 152 <body> 136 <h1><a href="http://jquery.com"><img src="images/ jquery_logo.gif" alt="jQuery Logo" /></a></h1>137 <div id="header"><xsl: value-of select="/docs/@version" /> API Browser <span>(<a href="jquery-api-browser.zip">Download</a>)</span></div>153 <h1><a href="http://jquery.com"><img src="images/logo_jquery3.png" alt="jQuery Logo" /></a></h1> 154 <div id="header"><xsl:call-template name="startdoc"/> API <xsl:value-of select="/docs/@version" /><span> - <a href="jquery-api-browser.zip">Download</a></span></div> 138 155 <div id="content"> 139 156 <div id="nav"> 140 <h2>Navigation</h2>141 157 <ul class="tabs-nav"> 142 158 <li><a href="#navCat">Category</a></li>
