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
e8ce957c
Commit
e8ce957c
authored
Dec 15, 2011
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some opgrades of interactivities
parent
e4c2afe6
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1081 additions
and
4 deletions
+1081
-4
config.xml
...library/sankoreInteractivities/BlackYellow.wgt/config.xml
+16
-0
basic.css
...rary/sankoreInteractivities/BlackYellow.wgt/css/basic.css
+506
-0
icon.png
...s/library/sankoreInteractivities/BlackYellow.wgt/icon.png
+0
-0
greySquare.png
...koreInteractivities/BlackYellow.wgt/images/greySquare.png
+0
-0
greySquare2.png
...oreInteractivities/BlackYellow.wgt/images/greySquare2.png
+0
-0
icon-close.png
...koreInteractivities/BlackYellow.wgt/images/icon-close.png
+0
-0
popupBack.png
...nkoreInteractivities/BlackYellow.wgt/images/popupBack.png
+0
-0
index.html
...library/sankoreInteractivities/BlackYellow.wgt/index.html
+26
-0
blackYellow.js
...oreInteractivities/BlackYellow.wgt/scripts/blackYellow.js
+417
-0
jquery-1.6.2.min.js
...teractivities/BlackYellow.wgt/scripts/jquery-1.6.2.min.js
+18
-0
jquery.disable.text.select.js
...ies/BlackYellow.wgt/scripts/jquery.disable.text.select.js
+62
-0
languages.js
...nkoreInteractivities/BlackYellow.wgt/scripts/languages.js
+30
-0
template2.js
...ractivities/ord-phrases.wgt/template/scripts/template2.js
+1
-1
template2.js
...teractivities/ord-words.wgt/template/scripts/template2.js
+5
-3
No files found.
resources/library/sankoreInteractivities/BlackYellow.wgt/config.xml
0 → 100644
View file @
e8ce957c
<?xml version="1.0" encoding="UTF-8"?>
<widget
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:ub=
"http://uniboard.mnemis.com/widgets"
id=
"http://uniboard.mnemis.com/widgets/webbrowser"
version=
"1.1"
width=
"700"
height=
"400"
ub:resizable=
"false"
>
<name>
Choisir
</name>
<author
href=
"http://www.getuniboard.com"
email=
"info@mnemis.com"
>
Mnemis SA
</author>
<description>
Choisir widget
</description>
<content
src=
"index.html"
/>
</widget>
resources/library/sankoreInteractivities/BlackYellow.wgt/css/basic.css
0 → 100644
View file @
e8ce957c
This diff is collapsed.
Click to expand it.
resources/library/sankoreInteractivities/BlackYellow.wgt/icon.png
0 → 100644
View file @
e8ce957c
1.03 KB
resources/library/sankoreInteractivities/BlackYellow.wgt/images/greySquare.png
0 → 100644
View file @
e8ce957c
451 Bytes
resources/library/sankoreInteractivities/BlackYellow.wgt/images/greySquare2.png
0 → 100644
View file @
e8ce957c
214 Bytes
resources/library/sankoreInteractivities/BlackYellow.wgt/images/icon-close.png
0 → 100644
View file @
e8ce957c
1.47 KB
resources/library/sankoreInteractivities/BlackYellow.wgt/images/popupBack.png
0 → 100644
View file @
e8ce957c
861 Bytes
resources/library/sankoreInteractivities/BlackYellow.wgt/index.html
0 → 100644
View file @
e8ce957c
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/basic.css"
/>
<script
type=
"text/javascript"
src=
"scripts/jquery-1.6.2.min.js"
></script>
<script
src=
"scripts/jquery.disable.text.select.js"
type=
"text/javascript"
></script>
<script
src=
"scripts/languages.js"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"scripts/blackYellow.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
init
();
});
</script>
</head>
<body>
</body>
</html>
resources/library/sankoreInteractivities/BlackYellow.wgt/scripts/blackYellow.js
0 → 100644
View file @
e8ce957c
This diff is collapsed.
Click to expand it.
resources/library/sankoreInteractivities/BlackYellow.wgt/scripts/jquery-1.6.2.min.js
0 → 100644
View file @
e8ce957c
This diff is collapsed.
Click to expand it.
resources/library/sankoreInteractivities/BlackYellow.wgt/scripts/jquery.disable.text.select.js
0 → 100644
View file @
e8ce957c
/**
* .disableTextSelect - Disable Text Select Plugin
*
* Version: 1.1
* Updated: 2007-11-28
*
* Used to stop users from selecting text
*
* Copyright (c) 2007 James Dempster (letssurf@gmail.com, http://www.jdempster.com/category/jquery/disabletextselect/)
*
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
**/
/**
* Requirements:
* - jQuery (John Resig, http://www.jquery.com/)
**/
(
function
(
$
)
{
if
(
$
.
browser
.
mozilla
)
{
$
.
fn
.
disableTextSelect
=
function
()
{
return
this
.
each
(
function
()
{
$
(
this
).
css
({
'MozUserSelect'
:
'none'
});
});
};
$
.
fn
.
enableTextSelect
=
function
()
{
return
this
.
each
(
function
()
{
$
(
this
).
css
({
'MozUserSelect'
:
''
});
});
};
}
else
if
(
$
.
browser
.
msie
)
{
$
.
fn
.
disableTextSelect
=
function
()
{
return
this
.
each
(
function
()
{
$
(
this
).
bind
(
'selectstart.disableTextSelect'
,
function
()
{
return
false
;
});
});
};
$
.
fn
.
enableTextSelect
=
function
()
{
return
this
.
each
(
function
()
{
$
(
this
).
unbind
(
'selectstart.disableTextSelect'
);
});
};
}
else
{
$
.
fn
.
disableTextSelect
=
function
()
{
return
this
.
each
(
function
()
{
$
(
this
).
bind
(
'mousedown.disableTextSelect'
,
function
()
{
return
false
;
});
});
};
$
.
fn
.
enableTextSelect
=
function
()
{
return
this
.
each
(
function
()
{
$
(
this
).
unbind
(
'mousedown.disableTextSelect'
);
});
};
}
})(
jQuery
);
\ No newline at end of file
resources/library/sankoreInteractivities/BlackYellow.wgt/scripts/languages.js
0 → 100644
View file @
e8ce957c
var
sankoreLang
=
{
"en"
:{
"edit"
:
"Edit"
,
"display"
:
"Display"
,
"add"
:
"Add"
,
"enter_data"
:
"Enter data:"
,
"enter_result"
:
"Enter result:"
,
"ok"
:
"Ok"
,
"cancel"
:
"Cancel"
},
"ru"
:{
"edit"
:
"Изменить"
,
"display"
:
"Показать"
,
"add"
:
"Добавить"
,
"enter_data"
:
"Введите вопрос:"
,
"enter_result"
:
"Введите ответ:"
,
"ok"
:
"Ок"
,
"cancel"
:
"Отмена"
},
"fr"
:{
"edit"
:
"Modifier"
,
"display"
:
"Afficher"
,
"add"
:
"Ajouter"
,
"enter_data"
:
"Entrer les données:"
,
"enter_result"
:
"Entrez le résultat:"
,
"ok"
:
"Ok"
,
"cancel"
:
"Annuler"
}
};
resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/template2.js
View file @
e8ce957c
...
...
@@ -208,7 +208,7 @@ function modeEdit()
// if no sankore api, insert ok button
if
(
!
isSankore
)
{
$
(
"#mp_setup"
).
empty
().
append
(
'<input type="button" value="
OK
">'
);
$
(
"#mp_setup"
).
empty
().
append
(
'<input type="button" value="
View
">'
);
$
(
"#mp_setup input:button"
).
click
(
function
(){
modeView
();
});
...
...
resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/template2.js
View file @
e8ce957c
...
...
@@ -236,7 +236,7 @@ function modeEdit()
// if no sankore api, insert ok button
if
(
!
isSankore
)
{
$
(
"#mp_setup"
).
empty
().
append
(
'<input type="button" value="
OK
">'
);
$
(
"#mp_setup"
).
empty
().
append
(
'<input type="button" value="
View
">'
);
$
(
"#mp_setup input:button"
).
click
(
function
(){
modeView
();
});
...
...
@@ -249,9 +249,11 @@ $(window).mouseout(function(){
if
(
window
.
sankore
){
var
str
=
""
;
$
(
"#mp_word .letter"
).
each
(
function
(){
str
+=
$
(
this
).
text
();
str
+=
$
(
this
).
text
()
+
"*"
;
});
str
=
str
.
substr
(
0
,
str
.
length
-
1
);
sankore
.
setPreference
(
"currentOrdWords"
,
str
);
sankore
.
setPreference
(
"rightOrdWords"
,
word
);
}
...
...
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