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
48a3ef4e
Commit
48a3ef4e
authored
Sep 12, 2011
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed Wikipedia, Wiktionary and WebBrowser widgets
parent
b5ebaf19
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
371 additions
and
188 deletions
+371
-188
main.css
resources/library/interactive/WebBrowser.wgt/css/main.css
+16
-0
index.html
resources/library/interactive/WebBrowser.wgt/index.html
+50
-2
config.xml
resources/library/interactive/Wikipedia.wgt/config.xml
+2
-2
master.css
resources/library/interactive/Wikipedia.wgt/css/master.css
+85
-55
index.html
resources/library/interactive/Wikipedia.wgt/index.html
+91
-38
private.properties
...active/Wikipedia.wgt/nbproject/private/private.properties
+0
-5
private.xml
...y/interactive/Wikipedia.wgt/nbproject/private/private.xml
+0
-4
project.properties
...ry/interactive/Wikipedia.wgt/nbproject/project.properties
+0
-7
project.xml
...s/library/interactive/Wikipedia.wgt/nbproject/project.xml
+0
-9
master.css
resources/library/interactive/Wiktionary.wgt/css/master.css
+37
-7
index.html
resources/library/interactive/Wiktionary.wgt/index.html
+90
-38
private.properties
...ctive/Wiktionary.wgt/nbproject/private/private.properties
+0
-5
project.properties
...y/interactive/Wiktionary.wgt/nbproject/project.properties
+0
-7
project.xml
.../library/interactive/Wiktionary.wgt/nbproject/project.xml
+0
-9
No files found.
resources/library/interactive/WebBrowser.wgt/css/main.css
View file @
48a3ef4e
...
...
@@ -180,3 +180,19 @@ body{
background-image
:
url(../imgs/right.png)
;
background-repeat
:
no-repeat
;
}
.popupWordInfo
{
position
:
absolute
;
display
:
none
;
width
:
100px
;
height
:
17px
;
top
:
0
;
left
:
0
;
text-align
:
center
;
border
:
1px
solid
#B9B9B9
;
background-color
:
#eaebeb
;
color
:
black
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
font-size
:
small
;
z-index
:
100
;
}
\ No newline at end of file
resources/library/interactive/WebBrowser.wgt/index.html
View file @
48a3ef4e
...
...
@@ -22,6 +22,7 @@
$
(
document
).
ready
(
function
(){
//var resizer; // Timer
//var resizerIndex;
var
popupFlag
=
false
;
var
currentHistory
=
0
;
var
references
=
new
Array
();
var
globalWidth
=
850
;
...
...
@@ -37,6 +38,7 @@
var
resizer
;
// Timer
var
resizerIndex
;
var
popupText
=
$
(
"<div id='popupWordInfo' class='popupWordInfo'></div>"
).
appendTo
(
"body"
);
resizerIndex
=
0
;
...
...
@@ -67,6 +69,52 @@
}
});
$
(
"#search-button"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"100px"
})
.
text
(
"Go to the site"
)
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#back-button"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"90px"
})
.
text
(
"Previous site"
)
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#forward-button"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"70px"
})
.
text
(
"Next site"
)
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#search-button, #back-button, #forward-button"
).
mousemove
(
function
(
evt
){
popupText
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
);
});
$
(
"#search-button, #back-button, #forward-button"
).
mouseout
(
function
(
evt
){
popupText
.
hide
();
popupFlag
=
false
;
});
$
(
"#textbox"
).
keypress
(
function
(
e
)
{
if
(
e
.
keyCode
==
13
)
{
$
(
"#search-button"
).
trigger
(
"click"
);
...
...
resources/library/interactive/Wikipedia.wgt/config.xml
View file @
48a3ef4e
...
...
@@ -3,8 +3,8 @@
xmlns:ub=
"http://uniboard.mnemis.com/widgets"
identifier=
"http://uniboard.mnemis.com/widgets/wikipedia"
version=
"1.2"
width=
"3
5
0"
height=
"4
5
0"
width=
"3
7
0"
height=
"4
0
0"
ub:resizable =
"true"
>
<name>
Wikipedia
</name>
...
...
resources/library/interactive/Wikipedia.wgt/css/master.css
View file @
48a3ef4e
...
...
@@ -101,13 +101,23 @@ body{
#toolbar-button-languages
{
background-image
:
url(../images/toolbarButtonLanguages.png)
}
#toolbar-button-search
{
float
:
left
;
width
:
22px
;
height
:
22px
;
position
:
relative
;
margin-left
:
-2
2px
;
margin-left
:
-3
2px
;
background-image
:
url(../images/toolbarButtonSearch.png)
;
background-repeat
:
no-repeat
;
background-position
:
center
center
;
border
:
1px
solid
#B9B9B9
;
-webkit-border-radius
:
5px
;
border-radius
:
5px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
box-shadow
:
#dadada
-1px
0
4px
;
}
#toolbar-button-search
:hover
{
border
:
1px
solid
#666666
;
}
#toolbar-button-languages
{
...
...
@@ -117,3 +127,23 @@ body{
#toolbar-button-back
{
margin-right
:
0px
;
}
.popupWordInfo
{
position
:
absolute
;
display
:
none
;
width
:
100px
;
height
:
17px
;
top
:
0
;
left
:
0
;
text-align
:
center
;
border
:
1px
solid
#B9B9B9
;
background-color
:
#eaebeb
;
color
:
black
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
-webkit-border-radius
:
5px
;
border-radius
:
5px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
box-shadow
:
#dadada
-1px
0
4px
;
z-index
:
100
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
}
\ No newline at end of file
resources/library/interactive/Wikipedia.wgt/index.html
View file @
48a3ef4e
...
...
@@ -14,6 +14,7 @@
<script
type=
"text/javascript"
>
var
popupFlag
=
false
var
browsing
=
false
;
var
lang
=
'en'
;
var
internalChange
=
false
;
...
...
@@ -43,6 +44,8 @@
var
ubHistoryList
=
""
;
var
ubHistoryIndex
=
""
;
var
popupText
=
$
(
"<div id='popupWordInfo' class='popupWordInfo'></div>"
).
appendTo
(
"body"
);
lang
=
navigator
.
userAgent
.
split
(
";"
);
lang
=
(
navigator
.
language
||
navigator
.
systemLanguage
||
...
...
@@ -91,6 +94,32 @@
};
});
$
(
"#toolbar-button-search"
).
click
(
function
(){
$
(
"#url"
).
trigger
(
"change"
);
});
$
(
"#toolbar-button-search"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
text
(
"Search"
)
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"70px"
})
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#toolbar-button-search, #toolbar-button-back, #toolbar-button-forward"
).
mousemove
(
function
(
evt
){
popupText
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
);
});
$
(
"#toolbar-button-search, #toolbar-button-back, #toolbar-button-forward"
).
mouseout
(
function
(
evt
){
popupFlag
=
false
;
popupText
.
hide
();
});
$
(
"#url"
).
val
(
appHistory
.
list
[
appHistory
.
index
]);
if
(
$
(
"#url"
).
val
().
length
>
0
)
...
...
@@ -101,11 +130,35 @@
appHistory
.
back
();
});
$
(
"#toolbar-button-back"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
text
(
"Previous word"
)
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"100px"
})
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#toolbar-button-forward"
).
click
(
function
(){
browsing
=
true
;
appHistory
.
forward
();
});
$
(
"#toolbar-button-forward"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
text
(
"Next word"
)
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"70px"
})
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#toolbar-button-home"
).
click
(
function
(){
});
});
...
...
resources/library/interactive/Wikipedia.wgt/nbproject/private/private.properties
deleted
100644 → 0
View file @
b5ebaf19
copy.src.files
=
false
copy.src.target
=
index.file
=
index.html
run.as
=
LOCAL
url
=
http://localhost/Wikipedia.wgt/
resources/library/interactive/Wikipedia.wgt/nbproject/private/private.xml
deleted
100644 → 0
View file @
b5ebaf19
<?xml version="1.0" encoding="UTF-8"?>
<project-private
xmlns=
"http://www.netbeans.org/ns/project-private/1"
>
<editor-bookmarks
xmlns=
"http://www.netbeans.org/ns/editor-bookmarks/1"
/>
</project-private>
resources/library/interactive/Wikipedia.wgt/nbproject/project.properties
deleted
100644 → 0
View file @
b5ebaf19
include.path
=
${php.global.include.path}
php.version
=
PHP_5
source.encoding
=
UTF-8
src.dir
=
.
tags.asp
=
false
tags.short
=
true
web.root
=
.
resources/library/interactive/Wikipedia.wgt/nbproject/project.xml
deleted
100644 → 0
View file @
b5ebaf19
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://www.netbeans.org/ns/project/1"
>
<type>
org.netbeans.modules.php.project
</type>
<configuration>
<data
xmlns=
"http://www.netbeans.org/ns/php-project/1"
>
<name>
Wikipedia.wgt
</name>
</data>
</configuration>
</project>
resources/library/interactive/Wiktionary.wgt/css/master.css
View file @
48a3ef4e
...
...
@@ -101,13 +101,23 @@ body{
#toolbar-button-languages
{
background-image
:
url(../images/toolbarButtonLanguages.png)
}
#toolbar-button-search
{
float
:
left
;
width
:
22px
;
height
:
22px
;
position
:
relative
;
margin-left
:
-2
2px
;
margin-left
:
-3
2px
;
background-image
:
url(../images/toolbarButtonSearch.png)
;
background-repeat
:
no-repeat
;
background-position
:
center
center
;
border
:
1px
solid
#B9B9B9
;
-webkit-border-radius
:
5px
;
border-radius
:
5px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
box-shadow
:
#dadada
-1px
0
4px
;
}
#toolbar-button-search
:hover
{
border
:
1px
solid
#666666
;
}
#toolbar-button-languages
{
...
...
@@ -117,3 +127,23 @@ body{
#toolbar-button-back
{
margin-right
:
0px
;
}
.popupWordInfo
{
position
:
absolute
;
display
:
none
;
width
:
100px
;
height
:
17px
;
top
:
0
;
left
:
0
;
text-align
:
center
;
border
:
1px
solid
#B9B9B9
;
background-color
:
#eaebeb
;
color
:
black
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
-webkit-border-radius
:
5px
;
border-radius
:
5px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
box-shadow
:
#dadada
-1px
0
4px
;
z-index
:
100
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
}
\ No newline at end of file
resources/library/interactive/Wiktionary.wgt/index.html
View file @
48a3ef4e
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:v=
"urn:schemas-microsoft-com:vml"
>
<head>
...
...
@@ -14,6 +13,7 @@
<script
type=
"text/javascript"
>
var
popupFlag
=
false
;
var
browsing
=
false
;
var
mode
=
'wiki'
;
var
lang
=
'en'
;
...
...
@@ -44,6 +44,8 @@
var
ubHistoryList
=
""
;
var
ubHistoryIndex
=
""
;
var
popupText
=
$
(
"<div id='popupWordInfo' class='popupWordInfo'></div>"
).
appendTo
(
"body"
);
lang
=
navigator
.
userAgent
.
split
(
";"
);
lang
=
(
navigator
.
language
||
navigator
.
systemLanguage
||
...
...
@@ -98,16 +100,66 @@
if
(
$
(
"#url"
).
val
().
length
>
0
)
$
(
"#url"
).
change
();
$
(
"#toolbar-button-search"
).
click
(
function
(){
$
(
"#url"
).
trigger
(
"change"
);
});
$
(
"#toolbar-button-search"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
text
(
"Search"
)
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"70px"
})
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#toolbar-button-search, #toolbar-button-back, #toolbar-button-forward"
).
mousemove
(
function
(
evt
){
popupText
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
);
});
$
(
"#toolbar-button-search, #toolbar-button-back, #toolbar-button-forward"
).
mouseout
(
function
(
evt
){
popupFlag
=
false
;
popupText
.
hide
();
});
$
(
"#toolbar-button-back"
).
click
(
function
(){
browsing
=
true
;
appHistory
.
back
();
});
$
(
"#toolbar-button-back"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
text
(
"Previous word"
)
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"100px"
})
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#toolbar-button-forward"
).
click
(
function
(){
browsing
=
true
;
appHistory
.
forward
();
});
$
(
"#toolbar-button-forward"
).
mouseover
(
function
(
evt
){
popupFlag
=
true
;
popupText
.
text
(
"Next word"
)
.
css
(
"top"
,
evt
.
pageY
+
5
)
.
css
(
"left"
,
evt
.
pageX
+
13
)
.
css
({
width
:
"70px"
})
.
show
(
"fast"
,
function
(){
if
(
!
popupFlag
)
popupText
.
hide
();
});
});
$
(
"#toolbar-button-home"
).
click
(
function
(){
});
});
...
...
resources/library/interactive/Wiktionary.wgt/nbproject/private/private.properties
deleted
100644 → 0
View file @
b5ebaf19
copy.src.files
=
false
copy.src.target
=
index.file
=
index.html
run.as
=
LOCAL
url
=
http://localhost/Wiktionary.wgt/
resources/library/interactive/Wiktionary.wgt/nbproject/project.properties
deleted
100644 → 0
View file @
b5ebaf19
include.path
=
${php.global.include.path}
php.version
=
PHP_53
source.encoding
=
UTF-8
src.dir
=
.
tags.asp
=
false
tags.short
=
true
web.root
=
.
resources/library/interactive/Wiktionary.wgt/nbproject/project.xml
deleted
100644 → 0
View file @
b5ebaf19
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://www.netbeans.org/ns/project/1"
>
<type>
org.netbeans.modules.php.project
</type>
<configuration>
<data
xmlns=
"http://www.netbeans.org/ns/php-project/1"
>
<name>
Wiktionary.wgt
</name>
</data>
</configuration>
</project>
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