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
bb816b9c
Commit
bb816b9c
authored
Jan 02, 2007
by
Jörn Zaefferer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Messed around with API document: Improved layout, removed animation, added <Content> type
parent
ca438a71
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
doc.js
build/docs/js/doc.js
+3
-2
pager.js
build/docs/js/pager.js
+1
-1
docs.xsl
build/docs/style/docs.xsl
+1
-1
style.css
build/docs/style/style.css
+4
-6
No files found.
build/docs/js/doc.js
View file @
bb816b9c
...
@@ -8,7 +8,8 @@ var types = {
...
@@ -8,7 +8,8 @@ var types = {
"Array<Element>"
:
"An Array of DOM Elements."
,
"Array<Element>"
:
"An Array of DOM Elements."
,
"Array<String>"
:
"An Array of strings."
,
"Array<String>"
:
"An Array of strings."
,
Function
:
"A reference to a Javascript function."
,
Function
:
"A reference to a Javascript function."
,
XMLHttpRequest
:
"An XMLHttpRequest object (referencing a HTTP request)."
XMLHttpRequest
:
"An XMLHttpRequest object (referencing a HTTP request)."
,
"<Content>"
:
"A String (to generate HTML on-the-fly), a DOM Element, an Array of DOM Elements or a jQuery object"
};
};
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
...
@@ -18,7 +19,7 @@ $(document).ready(function(){
...
@@ -18,7 +19,7 @@ $(document).ready(function(){
}).
ToolTipDemo
(
'#fff'
);
}).
ToolTipDemo
(
'#fff'
);
$
(
"a.name"
).
click
(
function
(){
$
(
"a.name"
).
click
(
function
(){
$
(
"div.more,div.short"
,
this
.
parentNode
.
parentNode
).
toggle
(
'slow'
);
$
(
"div.more,div.short"
,
this
.
parentNode
.
parentNode
).
toggle
();
return
false
;
return
false
;
});
});
...
...
build/docs/js/pager.js
View file @
bb816b9c
...
@@ -102,7 +102,7 @@ $.fn.pager = function(step) {
...
@@ -102,7 +102,7 @@ $.fn.pager = function(step) {
.
addClass
(
"cur"
);
.
addClass
(
"cur"
);
pagedUI
.
empty
().
append
(
pagedUI
.
empty
().
append
(
jQuery
.
m
erge
(
rows
,
[]
).
slice
(
s
,
s
+
e
)
jQuery
.
m
akeArray
(
rows
).
slice
(
s
,
s
+
e
)
);
);
return
false
;
return
false
;
...
...
build/docs/style/docs.xsl
View file @
bb816b9c
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
)
</xsl:if>
)
</xsl:if>
</span>
</span>
returns
<span
class=
'tooltip'
><xsl:value-of
select=
"@type"
/></span>
<div
class=
'short'
>
<div
class=
'short'
>
<xsl:value-of
select=
"@short"
/>
<xsl:value-of
select=
"@short"
/>
</div>
</div>
...
...
build/docs/style/style.css
View file @
bb816b9c
...
@@ -55,7 +55,7 @@ ul.nav-page li.next a, ul.nav-page li.prev a {
...
@@ -55,7 +55,7 @@ ul.nav-page li.next a, ul.nav-page li.prev a {
ul
#docs
{
ul
#docs
{
list-style
:
none
;
list-style
:
none
;
margin
:
0
auto
;
margin
:
0
auto
;
padding
:
5
px
;
padding
:
8
px
;
width
:
600px
;
width
:
600px
;
background
:
#FFF
;
background
:
#FFF
;
text-align
:
left
;
text-align
:
left
;
...
@@ -76,7 +76,7 @@ ul#docs li a.name {
...
@@ -76,7 +76,7 @@ ul#docs li a.name {
}
}
ul
#docs
li
span
.type
{
ul
#docs
li
span
.type
{
display
:
block
;
display
:
none
;
float
:
left
;
float
:
left
;
color
:
#666
;
color
:
#666
;
width
:
100px
;
width
:
100px
;
...
@@ -94,9 +94,8 @@ ul#docs li span.arg-type {
...
@@ -94,9 +94,8 @@ ul#docs li span.arg-type {
ul
#docs
li
div
.short
{
ul
#docs
li
div
.short
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#666
;
color
:
#666
;
margin-left
:
1
1
0px
;
margin-left
:
10px
;
margin-top
:
5px
;
margin-top
:
5px
;
width
:
490px
;
}
}
ul
#docs
span
.fn
{
ul
#docs
span
.fn
{
...
@@ -110,9 +109,8 @@ ul#docs div.tooltipdemo {
...
@@ -110,9 +109,8 @@ ul#docs div.tooltipdemo {
ul
#docs
li
div
.more
{
ul
#docs
li
div
.more
{
display
:
none
;
display
:
none
;
margin-left
:
1
1
0px
;
margin-left
:
10px
;
margin-top
:
5px
;
margin-top
:
5px
;
width
:
490px
;
}
}
ul
#docs
li
div
.example
{
ul
#docs
li
div
.example
{
...
...
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