Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephen Judkins
haddock
Commits
af3588dd
Commit
af3588dd
authored
14 years ago
by
Mark Lentczner
Browse files
Options
Downloads
Patches
Plain Diff
better synopsis handling logic - no flashing
parent
cbee7ec8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
html/Ocean.std-theme/ocean.css
+5
-0
5 additions, 0 deletions
html/Ocean.std-theme/ocean.css
html/haddock-util.js
+5
-3
5 additions, 3 deletions
html/haddock-util.js
with
10 additions
and
3 deletions
html/Ocean.std-theme/ocean.css
+
5
−
0
View file @
af3588dd
...
...
@@ -296,6 +296,11 @@ div#style-menu-holder {
}
#synopsis
{
display
:
none
;
}
.no-frame
#synopsis
{
display
:
block
;
position
:
fixed
;
right
:
0
;
height
:
80%
;
...
...
This diff is collapsed.
Click to expand it.
html/haddock-util.js
+
5
−
3
View file @
af3588dd
...
...
@@ -212,15 +212,17 @@ function addMenuItem(html) {
}
function
adjustForFrames
()
{
var
bodyCls
;
if
(
parent
.
location
.
href
==
window
.
location
.
href
)
{
// not in frames, so add Frames button
addMenuItem
(
"
<a href='#' onclick='reframe();return true;'>Frames</a>
"
);
bodyCls
=
"
no-frame
"
;
}
else
{
// in frames, remove synopsis
var
syn
=
document
.
getElementById
(
"
synopsis
"
);
if
(
syn
)
{
syn
.
parentNode
.
removeChild
(
syn
);
}
bodyCls
=
"
in-frame
"
;
}
addClass
(
document
.
body
,
bodyCls
);
}
function
reframe
()
{
...
...
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