some interactivities fixes

preferencesAboutTextFull
unknown 13 years ago
parent 47923e9e43
commit d1b16e894c
  1. 2
      resources/library/interactivities/Ass sons.wgt/css/basic.css
  2. 1
      resources/library/interactivities/Cat text.wgt/css/basic.css
  3. 3
      resources/library/interactivities/Ordre images.wgt/css/basic.css
  4. 11
      resources/library/interactivities/Ordre images.wgt/js/script.js
  5. 7
      resources/library/interactivities/Ordre lettres.wgt/css/basic.css
  6. 9
      resources/library/interactivities/Ordre lettres.wgt/js/script.js
  7. 1
      resources/library/interactivities/Ordre mots.wgt/scripts/template2.js
  8. 6
      resources/library/interactivities/Ordre mots.wgt/styles/of_puppets.css
  9. 1
      resources/library/interactivities/Ordre phrase.wgt/scripts/template2.js
  10. 4
      resources/library/interactivities/Ordre phrase.wgt/styles/of_puppets.css
  11. 10
      resources/library/interactivities/Selectionner.wgt/css/basic.css
  12. 2
      resources/library/interactivities/Selectionner.wgt/js/script.js
  13. 2
      resources/library/interactivities/Separe phrase.wgt/config.xml

@ -214,7 +214,7 @@ body{
.audio_desc{
width: 73%;
max-height: 40px;
overflow-y: auto;
overflow-x: hidden;
float: right;
margin-left: 20px;
}

@ -103,6 +103,7 @@ body{
overflow: hidden;
display: block;
cursor: pointer;
word-wrap: break-word;
}
.close_cont{

@ -85,12 +85,13 @@ body{
.text_cont{
width: 80%;
min-height: 40px;
max-height: 60px;
float: right;
overflow-x: hidden;
background-color: #ccc;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
padding-left: 10px;
/*font-family: 'SFToontimeRegular';*/
}
.close_cont{

@ -58,6 +58,7 @@ function start(){
$("#wgt_display, #wgt_edit").click(function(event){
if(this.id == "wgt_display"){
if(!$(this).hasClass("selected")){
if(window.sankore)
sankore.enableDropOnWidget(false);
$(this).addClass("selected");
$("#wgt_edit").removeClass("selected");
@ -104,6 +105,7 @@ function start(){
}
} else {
if(!$(this).hasClass("selected")){
if(window.sankore)
sankore.enableDropOnWidget(true);
$(this).addClass("selected");
$("#wgt_display").removeClass("selected");
@ -212,11 +214,16 @@ function exportData(){
cont_obj.tmp = "clear";
array_to_export.push(cont_obj);
}
if(window.sankore)
sankore.setPreference("odr_des_imgs", JSON.stringify(array_to_export));
if($("#wgt_display").hasClass("selected"))
if($("#wgt_display").hasClass("selected")){
if(window.sankore)
sankore.setPreference("odr_des_imgs_state", "display");
else
}
else{
if(window.sankore)
sankore.setPreference("odr_des_imgs_state", "edit");
}
}
//import

@ -166,9 +166,10 @@ body{
}
.audio_desc{
min-height: 30px;
margin: 5px 0;
float: left;
width: 73%;
max-height: 40px;
overflow-x: hidden;
float: right;
margin-left: 20px;
}

@ -240,11 +240,16 @@ function exportData(){
array_to_export.push(cont_obj);
});
}
if(window.sankore)
sankore.setPreference("associer_sound", JSON.stringify(array_to_export));
if($("#wgt_display").hasClass("selected"))
if($("#wgt_display").hasClass("selected")){
if(window.sankore)
sankore.setPreference("associer_sound_state", "display");
else
}
else{
if(window.sankore)
sankore.setPreference("associer_sound_state", "edit");
}
}
//import

@ -64,6 +64,7 @@ var widget_padding = 0;
var min_view_width = 400;
$(document).ready(function(){
if(window.sankore)
if(sankore.preference("ord_words_style","")){
changeStyle(sankore.preference("ord_words_style",""));
$(".style_select").val(sankore.preference("ord_words_style",""));

@ -11,11 +11,13 @@ body{
}
.letter{
min-width: 30px; height: 40px;
min-width: 30px;
max-width: 500px;
height: 40px;
overflow: hidden;
border: solid 1px #ccc;
margin: 4px;
padding: 4px 10px;
float: left;
font: 28px tahoma;
text-align: center;

@ -66,6 +66,7 @@ var input_width = 606;
var widget_padding = 0;
$(document).ready(function(){
if(window.sankore)
if(sankore.preference("ord_phrases_style","")){
changeStyle(sankore.preference("ord_phrases_style",""));
$(".style_select").val(sankore.preference("ord_phrases_style",""));

@ -24,7 +24,7 @@ body{
background-color: #fff;
}
.phrase{
height: 40px;
min-height: 40px;
border: solid 1px #ccc;
margin: 4px;
padding: 4px 10px;
@ -33,7 +33,7 @@ body{
text-align: center;
cursor: pointer;
text-transform: uppercase;
overflow: hidden;
}
.right{

@ -85,11 +85,14 @@ body{
.text_cont{
width: 80%;
min-height: 40px;
max-height: 60px;
float: right;
overflow-x: hidden;
background-color: #ccc;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
padding-left: 10px;
display: block;
}
.close_cont{
@ -120,7 +123,8 @@ body{
.img_block, .text_block{
width: 120px;
height: 120px;
height: 119px;
max-height: 120px;
margin: 10px 20px;
cursor: pointer;
float: left;
@ -147,9 +151,13 @@ body{
}
.text_subblock{
max-height: 120px;
min-width: 116px;
max-width: 200px;
display: table-cell;
vertical-align: middle;
font-size: 120%;
word-wrap: break-word;
}
.close_img, .clear_img, .numb_img {

@ -262,7 +262,7 @@ function exportData(){
});
array_to_export.push(cont_obj);
});
if(window.sankore)
sankore.setPreference("selectionner", JSON.stringify(array_to_export));
}

@ -4,7 +4,7 @@
xmlns:ub="http://uniboard.mnemis.com/widgets"
id="http://www.example.net/widgets/helloworld"
version="1.0"
width="750"
width="850"
height="300"
ub:resizable="true">

Loading…
Cancel
Save