Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Sick-Beard
Commits
3c16b5c3
Commit
3c16b5c3
authored
14 years ago
by
Nic Wolfe
Browse files
Options
Downloads
Patches
Plain Diff
Fix top scroll image for web_root users
parent
64f96e22
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/interfaces/default/inc_top.tmpl
+3
-0
3 additions, 0 deletions
data/interfaces/default/inc_top.tmpl
data/js/jquery.scrolltopcontrol-1.1.js
+1
-1
1 addition, 1 deletion
data/js/jquery.scrolltopcontrol-1.1.js
with
4 additions
and
1 deletion
data/interfaces/default/inc_top.tmpl
+
3
−
0
View file @
3c16b5c3
...
...
@@ -56,6 +56,9 @@ table.tablesorter thead tr .headerSortDown { background-image: url("$sbRoot/imag
<script
type=
"text/javascript"
src=
"$sbRoot/js/jquery.cookie.js"
></script>
<script
type=
"text/javascript"
src=
"$sbRoot/js/jquery.cookiejar.js"
></script>
<script
type=
"text/javascript"
src=
"$sbRoot/js/jquery.json-2.2.min.js"
></script>
<script
type=
"text/javascript"
charset=
"utf-8"
>
top_image_html
=
'
<img src="$sbRoot/images/top.gif" style="width:31px; height:11px" />
'
;
//HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
</script>
<script
type=
"text/javascript"
src=
"$sbRoot/js/jquery.scrolltopcontrol-1.1.js"
></script>
<script
type=
"text/javascript"
src=
"$sbRoot/js/jquery.selectboxes.min.js"
></script>
<script
type=
"text/javascript"
src=
"$sbRoot/js/jquery.tablesorter-2.0.3.min.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
data/js/jquery.scrolltopcontrol-1.1.js
+
1
−
1
View file @
3c16b5c3
...
...
@@ -9,7 +9,7 @@ var scrolltotop={
//startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
//scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
setting
:
{
startline
:
100
,
scrollto
:
0
,
scrollduration
:
1000
,
fadeduration
:[
500
,
100
]},
controlHTML
:
'
<img src="/images/top.gif" style="width:31px; height:11px" />
'
,
//HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
controlHTML
:
top_image_html
,
//set in inc_top.tmpl so it can be $sbRooted
controlattrs
:
{
offsetx
:
10
,
offsety
:
10
},
//offset of control relative to right/ bottom of window corner
anchorkeyword
:
'
#top
'
,
//Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment