Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
6ea8bece
Commit
6ea8bece
authored
13 years ago
by
Joel Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix setBarPosotion runtime errors.
parent
01a9eee9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
base.css
include/base.css
+1
-1
ui.js
include/ui.js
+3
-3
vnc.html
vnc.html
+1
-1
No files found.
include/base.css
View file @
6ea8bece
...
...
@@ -72,7 +72,7 @@ html {
display
:
none
;
}
.noVNC_mobile
_buttons_right
{
#noVNC
_buttons_right
{
position
:
fixed
;
padding-right
:
10px
;
padding-top
:
9px
;
...
...
This diff is collapsed.
Click to expand it.
include/ui.js
View file @
6ea8bece
...
...
@@ -374,7 +374,7 @@ connect: function() {
UI
.
rfb
.
connect
(
host
,
port
,
password
);
//Close dialog.
setTimeout
(
"setBarPosition()"
,
100
);
setTimeout
(
UI
.
setBarPosition
,
100
);
$D
(
'noVNC_defaultScreen'
).
style
.
display
=
"none"
;
},
...
...
@@ -497,9 +497,9 @@ addOption: function(selectbox,text,value )
setBarPosition
:
function
()
{
$D
(
'noVNC-control-bar'
).
style
.
top
=
(
window
.
pageYOffset
)
+
'px'
;
$D
(
'noVNC_mobile_buttons'
).
style
.
left
=
(
window
.
pageXOffset
)
+
'px'
;
$D
(
'noVNC_
mobile_
buttons_right'
).
style
.
right
=
0
+
'px'
;
$D
(
'noVNC_buttons_right'
).
style
.
right
=
0
+
'px'
;
var
vncwidth
=
$
(
'#noVNC_screen'
).
width
()
;
var
vncwidth
=
$
D
(
'noVNC_screen'
).
style
.
offsetWidth
;
$D
(
'noVNC-control-bar'
).
style
.
width
=
vncwidth
+
'px'
;
},
...
...
This diff is collapsed.
Click to expand it.
vnc.html
View file @
6ea8bece
...
...
@@ -68,7 +68,7 @@
</div>
<!--noVNC Buttons-->
<div
class=
"noVNC_mobile
_buttons_right"
>
<div
id=
"noVNC
_buttons_right"
>
<input
type=
"button"
class=
"noVNC_status_button"
style=
"float:left;"
value=
"CtrlAltDel"
id=
"sendCtrlAltDelButton"
onclick=
"UI.sendCtrlAltDel();"
>
...
...
This diff is collapsed.
Click to expand it.
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