Weektionnaire 1.1
-Dvelopp par Jol Amorim
-Copyright 2010 GYB
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/library/interactive/Weektionnaire.wgt/config.xml b/resources/library/interactive/Weektionnaire.wgt/config.xml
deleted file mode 100644
index b2ca9707..00000000
--- a/resources/library/interactive/Weektionnaire.wgt/config.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-Weektionnaire
-
-
diff --git a/resources/library/interactive/Weektionnaire.wgt/css.css b/resources/library/interactive/Weektionnaire.wgt/css.css
deleted file mode 100644
index a18346e1..00000000
--- a/resources/library/interactive/Weektionnaire.wgt/css.css
+++ /dev/null
@@ -1,155 +0,0 @@
-/* Mise en forme */
-
-#Fond {
-background:url(images/widget/widget.png);
-background-repeat:no-repeat;
-width:271px;
-height:38px;
-position:absolute;
-top:5px;
-left:5px;
-z-index:0;
-}
-
-#Weektionnaire {
-font-family:arial;
-width:145px;
-height:16px;
-font-size:11px; /* La dformation du caractre due la taille en pixel est intressante */
-border:none;
-background-color:rgba(255,255,255,0);
-position:absolute;
-top:16;
-left:81;
-}
-
-#BoutonWeektionnaire {
-position:absolute;
-top:12px;
-left:21px;
-width:22px;
-height:22px;
-}
-
-#BoutonRechercher {
-position:absolute;
-top:16px;
-left:64px;
-width:14px;
-height:14px;
-}
-
-#BoutonMinimiser {
-position:absolute;
-top:19px;
-left:250px;
-width:18px;
-height:9px;
-}
-
-#FondDefinition {
-background:url(images/widget/contenu.png);
-width:271px;
-height:218px;
-position:absolute;
-top:37px;
-left:5px;
-z-index:1;
-}
-
-#BoutonHistorique {
-background:url(images/boutons/historique.png);
-position:absolute;
-top:17px;
-left:226px;
-width:14px;
-height:14px;
-z-index:7;
-}
-
-#TexteDefinition {
-font-family:Georgia,Times;
-text-align:left;
-font-size:75%;
-position:absolute;
-top:13px;
-left:13px;
-z-index:3;
-width:244px;
-height:180px;
-overflow-y:visible;
-overflow-x:hidden;
-}
-
-#MenuHistorique {
-background:url(images/options/menuhistorique.png);
-width:210px;
-height:130px;
-position:absolute;
-top:30px;
-left:42px;
-z-index:8;
-}
-
-#TexteHistorique {
-font-family:Arial;
-font-size:11px;
-width:175px;
-height:58px;
-position:absolute;
-top:61px;
-left:19px;
-z-index:9;
-overflow:auto;
-overflow-x:hidden;
-}
-
-#FermerHistorique {
-width:24px;
-height:24px;
-position:absolute;
-top:27px;
-left:9px;
-z-index:10;
-}
-
-#Options {
-position:absolute;
-top:30px;
-left:16px;
-z-index:2;
-}
-
-#MenuContenu {
-width:175px;
-height:58px;
-overflow:hidden;
-font-size:75%;
-font-family:Arial;
-color:black;
-position:absolute;
-top:85px;
-left:32px;
-z-index:10;
-}
-
-#fermer {
-position:absolute;
-top:57px;
-left:198px;
-z-index:4;
-}
-
-/* Styles de texte */
-a {
-text-decoration:none;
-color:black;
-}
-
-a:hover {
-color:yellow;
-}
-
-a:active {
-color:gray;
-}
\ No newline at end of file
diff --git a/resources/library/interactive/Weektionnaire.wgt/icon.png b/resources/library/interactive/Weektionnaire.wgt/icon.png
deleted file mode 100644
index 7205e21f..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/icon.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/boutons/fermer.png b/resources/library/interactive/Weektionnaire.wgt/images/boutons/fermer.png
deleted file mode 100644
index fbe2841e..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/boutons/fermer.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/boutons/fermerover.png b/resources/library/interactive/Weektionnaire.wgt/images/boutons/fermerover.png
deleted file mode 100644
index 319a16cf..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/boutons/fermerover.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/boutons/historique.png b/resources/library/interactive/Weektionnaire.wgt/images/boutons/historique.png
deleted file mode 100644
index f15a3a9a..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/boutons/historique.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/boutons/historiqueover.png b/resources/library/interactive/Weektionnaire.wgt/images/boutons/historiqueover.png
deleted file mode 100644
index 76c4f225..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/boutons/historiqueover.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Blanc.png b/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Blanc.png
deleted file mode 100644
index d9d73b9b..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Blanc.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Gris.png b/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Gris.png
deleted file mode 100644
index 1afb2c87..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Gris.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo HD white.png b/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo HD white.png
deleted file mode 100644
index b6e3a745..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo HD white.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo HD.png b/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo HD.png
deleted file mode 100644
index 5a219aea..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo HD.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Noir.png b/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Noir.png
deleted file mode 100644
index 2dc4e488..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/logo/Logo Noir.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/options/apropos.png b/resources/library/interactive/Weektionnaire.wgt/images/options/apropos.png
deleted file mode 100644
index 2e7a07c4..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/options/apropos.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/options/menuhistorique.png b/resources/library/interactive/Weektionnaire.wgt/images/options/menuhistorique.png
deleted file mode 100644
index 7cfa51c8..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/options/menuhistorique.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/options/menuoptions.png b/resources/library/interactive/Weektionnaire.wgt/images/options/menuoptions.png
deleted file mode 100644
index 52b9c61c..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/options/menuoptions.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Bouton Fermer.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Bouton Fermer.psd
deleted file mode 100644
index e9987a52..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Bouton Fermer.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Contenu.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Contenu.psd
deleted file mode 100644
index c9ee2d83..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Contenu.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Logo HD.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Logo HD.psd
deleted file mode 100644
index aa115d04..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Logo HD.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Menu Options Final.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Menu Options Final.psd
deleted file mode 100644
index 5b3f3baa..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Menu Options Final.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Menu Options.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Menu Options.psd
deleted file mode 100644
index 80a80f8f..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Menu Options.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Premier Widget.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Premier Widget.psd
deleted file mode 100644
index 6da178be..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Premier Widget.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/psd/Widget Final.psd b/resources/library/interactive/Weektionnaire.wgt/images/psd/Widget Final.psd
deleted file mode 100644
index ac1116c8..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/psd/Widget Final.psd and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/widget/contenu.png b/resources/library/interactive/Weektionnaire.wgt/images/widget/contenu.png
deleted file mode 100644
index 9da6d464..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/widget/contenu.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/widget/widget.png b/resources/library/interactive/Weektionnaire.wgt/images/widget/widget.png
deleted file mode 100644
index 06a8c177..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/widget/widget.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetlogoover.png b/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetlogoover.png
deleted file mode 100644
index 38b12ea0..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetlogoover.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetminimiserover.png b/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetminimiserover.png
deleted file mode 100644
index b75877ad..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetminimiserover.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetrechercherover.png b/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetrechercherover.png
deleted file mode 100644
index a10dfcd1..00000000
Binary files a/resources/library/interactive/Weektionnaire.wgt/images/widget/widgetrechercherover.png and /dev/null differ
diff --git a/resources/library/interactive/Weektionnaire.wgt/javascript.js b/resources/library/interactive/Weektionnaire.wgt/javascript.js
deleted file mode 100644
index de37918f..00000000
--- a/resources/library/interactive/Weektionnaire.wgt/javascript.js
+++ /dev/null
@@ -1,236 +0,0 @@
-// Les lignes qui suivent changent l'apparence du bouton Weektionnaire au survol de la souris.
-function BoutonWeektionnaireIn() {
- document.getElementById('Fond').style.background="url(images/widget/widgetlogoover.png)";
- }
-
-// Les lignes qui suivent rtablissent l'apparence du bouton Weektionnaire quand la souris n'est plus dessus.
-function BoutonWeektionnaireOut() {
- document.getElementById('Fond').style.background="url(images/widget/widget.png)";
- }
-
-// Les lignes qui suivent changent l'apparence du bouton Minimiser au survol de la souris.
-function BoutonMinimiserIn() {
- document.getElementById('Fond').style.background="url(images/widget/widgetminimiserover.png)";
- }
-
-// Les lignes qui suivent rtablissent l'apparence du bouton Minimiser quand la souris n'est plus dessus.
-function BoutonMinimiserOut() {
- document.getElementById('Fond').style.background="url(images/widget/widget.png)";
- }
-
-// Les lignes qui suivent changent l'apparence du bouton Rechercher au survol de la souris.
-function BoutonRechercherIn() {
- document.getElementById('Fond').style.background="url(images/widget/widgetrechercherover.png)";
- }
-
-// Les lignes qui suivent rtablissent l'apparence du bouton Rechercher quand la souris n'est plus dessus.
-function BoutonRechercherOut() {
- document.getElementById('Fond').style.background="url(images/widget/widget.png)";
- }
-
-// Les lignes qui suivent changent l'apparence du bouton Historique au survol de la souris.
-function BoutonHistoriqueIn() {
- document.getElementById('BoutonHistorique').style.background="url(images/boutons/historiqueover.png)";
- }
-
-// Les lignes qui suivent rtablissent l'apparence du bouton Historique quand la souris n'est plus dessus.
-function BoutonHistoriqueOut() {
- document.getElementById('BoutonHistorique').style.background="url(images/boutons/historique.png)";
- }
-
-// Les lignes qui suivent changent la taille du texte de la dfinition 125%.
-function TextePlusPlus(){
- document.getElementById('TexteDefinition').style.fontSize="125%";
- }
-
-// Les lignes qui suivent changent la taille du texte de la dfinition 100%.
-function TextePlus(){
- document.getElementById('TexteDefinition').style.fontSize="100%";
- }
-
-// Les lignes qui suivent changent la taille du texte de la dfinition l'originale, cd 75%.
-function TexteOriginal(){
- document.getElementById('TexteDefinition').style.fontSize="75%";
- }
-
-// Les lignes qui suivent changent la couleur du texte de la dfinition en noir.
-function TexteNoir(){
- document.getElementById('TexteDefinition').style.color="black";
- }
-
-// Les lignes qui suivent changent la couleur du texte de la dfinition en rouge.
-function TexteRouge(){
- document.getElementById('TexteDefinition').style.color="red";
- }
-
-// Les lignes qui suivent changent la couleur du texte de la dfinition en bleu.
-function TexteBleu(){
- document.getElementById('TexteDefinition').style.color="blue";
- }
-
-// Les lignes qui suivent changent la couleur du texte de la dfinition en orange.
-function TexteOrange(){
- document.getElementById('TexteDefinition').style.color="orange";
- }
-
-// Les lignes qui suivent changent la couleur du texte de la dfinition en vert.
-function TexteVert(){
- document.getElementById('TexteDefinition').style.color="green";
- }
-
-// Les lignes qui suivent rtablissent la couleur du lien dont l'ID est spcifi en noir.
-function LienNoir(thingId){
- document.getElementById(thingId).style.color="black";
- }
-
-// Les lignes qui suivent changent la couleur du lien qui change la couleur du texte en noir au survol de la souris.
-function LienGris(){
- document.getElementById('Black').style.color="Gray";
- }
-
-// Les lignes qui suivent changent la couleur du lien qui change la couleur du texte en rouge au survol de la souris.
-function LienRouge(){
- document.getElementById('Red').style.color="red";
- }
-
-// Les lignes qui suivent changent la couleur du lien qui change la couleur du texte en bleu au survol de la souris.
-function LienBleu(){
- document.getElementById('Blue').style.color="blue";
- }
-
-// Les lignes qui suivent changent la couleur du lien qui change la couleur du texte en orange au survol de la souris.
-function LienOrange(){
- document.getElementById('Orange').style.color="orange";
- }
-
-// Les lignes qui suivent changent la couleur du lien qui change la couleur du texte en vert au survol de la souris.
-function LienVert(){
- document.getElementById('Green').style.color="green";
- }
-
-// Les lignes qui suivent changent l'apparence du bouton fermer du menu Options au survol de la souris.
-function FermerIn(){
- document.getElementById("Fermer").src="images/boutons/fermerover.png";
- }
-
-// Les lignes qui suivent rtablissent l'apparence du bouton fermer du menu Options quand la souris n'est plus sur le bouton.
-function FermerOut(){
- document.getElementById("Fermer").src="images/boutons/fermer.png";
- }
-
-// Les lignes qui suivent changent l'apparence du bouton fermer du menu Historique au survol de la souris.
-function FermerHIn(){
- document.getElementById("FermerH").src="images/boutons/fermerover.png";
- }
-
-// Les lignes qui suivent rtabliseent l'apparence du bouton fermer du menu Historique quand la souris n'est plus sur le bouton.
-function FermerHOut(){
- document.getElementById("FermerH").src="images/boutons/fermer.png";
- }
-
-// Les lignes qui suivent ferment le menu Options au clic sur la croix en haut droite du menu.
-function FermerMenu(){
- document.getElementById('MenuOptions').style.display = "none";
- }
-
-// Les lignes qui suivent ferment le menu Historique au clic sur la croix en haut gauche du menu.
-function FermerHistorique(){
- document.getElementById('MenuHistorique').style.display = "none";
- }
-
-// Les lignes qui suivent ferment les menus et l'affichage de la dfinition au clic sur la zone de recherche.
-function FermerDefinitionInput(){
- document.getElementById('FondDefinition').style.display = "none";
- document.getElementById('MenuOptions').style.display = "none";
- document.getElementById('MenuHistorique').style.display = "none";
- }
-
-// Les lignes qui suivent agissent comme un "minimiser" sur n'importe quel object dont l'ID est spcifi entre parenthses. Utilis pour le FondDefinition.
-function Minimiser(thingId){
- var visibilite;
- visibilite = document.getElementById(thingId);
- if (visibilite.style.display == "none")
- {
- visibilite.style.display = "" ;
- } else {
- visibilite.style.display = "none" ;
- }
- }
-
-// Les lignes qui suivent agissent comme un "minimiser" du menu Historique au clic sur le bouton Historique.
-function ToggleMenuHistorique(){
- var visibilite;
- visibilite = document.getElementById("MenuHistorique");
- if (visibilite.style.display == "none")
- {
- visibilite.style.display = "" ;
- document.getElementById("MenuOptions").style.display = "none";
- } else {
- visibilite.style.display = "none" ;
- }
- }
-// Les lignes qui suivent agissent comme un "minimiser" du menu Options au clic sur le bouton Weektionnaire.
-function ToggleMenuOptions(){
- var visibilite;
- visibilite = document.getElementById("MenuOptions");
- if (visibilite.style.display == "none")
- {
- visibilite.style.display = "" ;
- document.getElementById("MenuHistorique").style.display = "none";
- } else {
- visibilite.style.display = "none" ;
- }
- }
-
-// Version Firefox de la recherche. Elle est rapide et efficace.
-function Rechercher(){
- // La ligne ci-dessous permet d'utiliser ce script "soit-disant" dangereux.
- netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
- // La ligne ci-dessous stocke le mot entr dans la zone de recherche dans une variable pour la recherche, ainsi que pour l'historique.
- var mot = document.getElementById('Weektionnaire').value;
- // La ligne ci-dessous place en premire position la dernire entre dans la zone de recherche.
- historique.unshift(mot);
- // La ligne ci-dessous cr la variable du lien qui permet d'aller chercher une dfinition selon le mot entr. Cette technique ncessite cependant de valider la recherche deux fois.
- var lien = "http://www.cnrtl.fr/definition/" +mot;
- // Definition CNRTL est le nom de l'iFrame qui va servir de conteneur temporaire. La ligne ci-dessous va donc simplement changer le lien de l'iFrame et mettre celui du mot recherch.
- document.getElementById("DefinitionCNRTL").src = lien;
- // La ligne ci-dessous remplace le contenu de la div TexteDefinition par la dfinition. Elle sera donc affiche.
- document.getElementById("TexteDefinition").innerHTML = frame.document.getElementById('lexicontent').innerHTML;
- // La ligne ci-dessous va afficher l'image du widget qui est, au dpart, cache, ainsi que la dfinition.
- document.getElementById('FondDefinition').style.display = "";
- }
-
-// Version PHP de la recherche, le script du dessus ne fonctionnant pas sous Webkit.
-function RechercherNew(){
- var mot = document.getElementById('Weektionnaire').value;
- historique.unshift(mot);
- // La ligne ci-dessous spcifie o est le document PHP.
- var lien = "http://weektionnaire.lescigales.org/WeektionnaireSearchEngine.php?recherche=" + document.getElementById('Weektionnaire').value;
- // La ligne ci-dessous va afficher le contenu du fichier PHP heberg via un object.
- document.getElementById('TexteDefinition').innerHTML = '';
- document.getElementById('FondDefinition').style.display = "";
- }
-
-// Les lignes qui suivent traitent de l'historique.
-
-// La ligne ci-dessous cr un nouveau tableau qui stocke les mots recherchs.
-var historique = new Array()
-function ajouterHistorique(mot){
- historique.unshift(mot)
-}
-
-// Les lignes qui suivent actualisent l'historique l'entre d'un mot.
-function actualiserHistorique(){
- var texteHistorique = ""
- for(var i=0; i'+historique[i]+' '
- }
- document.getElementById("Mots").innerHTML = texteHistorique
-}
-
-// Les lignes ci-dessous changent la valeur de la zone de recherche nomme Weektionnaire et la remplacent par le mot cliqu qui est dans l'historique. Cette fonction est appele au dessus.
-function ChangerMot(mot){
- document.getElementById("Weektionnaire").value = mot;
- document.getElementById("MenuHistorique").style.display = "none";
-}
diff --git a/resources/library/interactive/Wikipedia.wgt/config.xml b/resources/library/interactive/Wikipedia.wgt/config.xml
index 33755eb3..449aa286 100644
--- a/resources/library/interactive/Wikipedia.wgt/config.xml
+++ b/resources/library/interactive/Wikipedia.wgt/config.xml
@@ -10,6 +10,7 @@
WikipediaMnemis SA
- Wikipedia, the free encyclopedia
+ Wikipedia, the free encyclopedia
+
diff --git a/resources/library/interactive/Wikipedia.wgt/index.html b/resources/library/interactive/Wikipedia.wgt/index.html
index ca5993fb..2df623f6 100644
--- a/resources/library/interactive/Wikipedia.wgt/index.html
+++ b/resources/library/interactive/Wikipedia.wgt/index.html
@@ -15,7 +15,6 @@
+
+
+
+
+
+
+