Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
905a0ae3
Commit
905a0ae3
authored
Sep 01, 2006
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added style sheet for the category documentation.
parent
484af2a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
cat.css
build/docs/style/cat.css
+22
-0
cat.xsl
build/docs/style/cat.xsl
+33
-0
No files found.
build/docs/style/cat.css
0 → 100644
View file @
905a0ae3
html
,
body
{
background
:
#FFF
;
color
:
#000
;
font-family
:
Arial
;
font-size
:
12px
;
}
h2
{
clear
:
both
;
border-bottom
:
1px
solid
#EEE
;
margin-top
:
15px
;
}
ul
{
list-style
:
none
;
overflow
:
auto
;
}
li
{
float
:
left
;
width
:
20%
;
}
build/docs/style/cat.xsl
0 → 100644
View file @
905a0ae3
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
"2.0"
>
<xsl:output
method=
"html"
/>
<xsl:template
match=
"/docs"
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<title>
jQuery Printable API
</title>
<link
rel=
"stylesheet"
href=
"style/cat.css"
/>
</head>
<body>
<h1>
jQuery Printable API
</h1>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template
match=
"cat"
>
<h2><xsl:value-of
select=
"@value"
/></h2>
<ul
class=
"list"
>
<xsl:for-each
select=
"method[not(@private)]"
>
<xsl:sort
select=
"@name"
/>
<xsl:sort
select=
"count(params)"
/>
<li>
<xsl:value-of
select=
"@name"
/>
(
<xsl:for-each
select=
"params"
>
<xsl:value-of
select=
"@name"
/>
<xsl:if
test=
"position() != last()"
>
,
</xsl:if>
</xsl:for-each>
)
</li>
</xsl:for-each>
<xsl:apply-templates
select=
"cat"
/>
</ul>
</xsl:template>
</xsl:stylesheet>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment