Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
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
lifo
Nicolas Ollinger
OpenBoard
Commits
e179d9ee
Commit
e179d9ee
authored
Apr 20, 2011
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolved an issue with the focus.
parent
666b67b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
20 deletions
+16
-20
ubw-main.js
resources/library/interactive/Notes.wgt/js/ubw-main.js
+16
-20
No files found.
resources/library/interactive/Notes.wgt/js/ubw-main.js
View file @
e179d9ee
...
...
@@ -19,41 +19,34 @@ function init(){
var
maximize
=
$
(
'<img src="images/stick-but-maximize.png">'
);
var
title
=
$
(
'<div id="menu"></div>'
);
var
textField
=
$
(
'<div id="txt"></div>'
);
var
shadow
=
$
(
"<table width='100%' height='18' border='0' cellspacing='0' cellpadding='0'><tr><td id='sl' width='139'></td><td id='sc' style='background-image:url(images/shadowcenter.png)'> </td><td id='sr' width='139'></td></tr></table>"
)
.
appendTo
(
"body"
);
var
shadowleft
=
$
(
"<img src='images/shadowleft.png'>"
)
.
appendTo
(
$
(
"#sl"
));
var
shadowright
=
$
(
"<img src='images/shadowright.png'>"
)
.
appendTo
(
$
(
"#sr"
));
var
shadow
=
$
(
"<table width='100%' height='18' border='0' cellspacing='0' cellpadding='0'><tr><td id='sl' width='139'></td><td id='sc' style='background-image:url(images/shadowcenter.png)'> </td><td id='sr' width='139'></td></tr></table>"
)
.
appendTo
(
"body"
);
var
shadowleft
=
$
(
"<img src='images/shadowleft.png'>"
)
.
appendTo
(
$
(
"#sl"
));
var
shadowright
=
$
(
"<img src='images/shadowright.png'>"
)
.
appendTo
(
$
(
"#sr"
));
$
(
"#ubwidget"
)
.
append
(
header
)
.
append
(
textField
);
fontUp
.
addClass
(
'menuElement'
);
fontDown
.
addClass
(
'menuElement'
);
minimize
.
addClass
(
'menuElement'
);
maximize
.
addClass
(
'menuElement'
)
fontUp
.
addClass
(
'menuElement'
);
fontDown
.
addClass
(
'menuElement'
);
minimize
.
addClass
(
'menuElement'
);
maximize
.
addClass
(
'menuElement'
)
.
hide
();
header
.
append
(
maximize
)
header
.
append
(
maximize
)
.
append
(
minimize
)
.
append
(
fontUp
)
.
append
(
fontDown
);
var
titletext
=
header
.
find
(
'textarea'
);
var
titletext
=
header
.
find
(
'textarea'
);
titletext
.
click
(
function
(){
titletext
.
focus
();
});
fontDown
.
click
(
...
...
@@ -71,6 +64,7 @@ function init(){
window
.
uniboard
.
setPreference
(
"fontSize"
,
newFontSize
);
};
textField
.
focus
();
});
fontUp
.
click
(
...
...
@@ -87,6 +81,8 @@ function init(){
if
(
window
.
uniboard
){
window
.
uniboard
.
setPreference
(
"fontSize"
,
newFontSize
);
};
textField
.
focus
();
});
minimize
.
click
(
...
...
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