[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 /** 2 3 * Page qui teste les differents services 4 * @Version $Id: gest_messages.js 3002 2008-05-30 12:58:43Z keyser $ 5 * @Projet LCS / SambaEdu 6 * @auteurs Philippe Chadefaux MrT 7 * @Licence Distribue selon les termes de la licence GPL 8 * @note 9 * Modifications proposées par Sébastien Tack (MrT) 10 * Optimisation du lancement des scripts bash par la technologie asynchrone Ajax. 11 * Modification du système d'infos bulles.(Nouvelle version de wz-tooltip) Ancienne version incompatible avec ajax 12 * Externalisation des messages contenus dans les infos-bulles 13 * Fonctions Tip('msg') et UnTip(); 14 * Nouvelle organisation de l'arborescence. 15 16 * Ce script affecte les messages par defaut au chargement de la page 17 * Le contenu des info-bulles sont modifiees ensuite dans le script tests.js en fonction du resultat du test 18 */ 19 20 /** 21 22 * @Repertoire: /tests/js/ 23 * file: gest_messages.js 24 */ 25 26 //Affecte les messages par defaut des info-bulles. 27 28 var duration = 5000; 29 30 function init_default_msg() { 31 32 33 34 $('help_maj_se3').onmouseover= function() { 35 36 UnTip(); 37 Tip(msg_maj_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 38 this.onmousout=function() { unTip(); } 39 40 } 41 $('help_keys_se3').onmouseover= function() { 42 UnTip(); 43 Tip(msg_keys_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 44 45 } 46 $('help_vbs_se3').onmouseover= function() { 47 UnTip(); 48 Tip(msg_vbs_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 49 50 } 51 $('help_clonage_se3').onmouseover= function() { 52 UnTip(); 53 Tip(msg_clonage_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 54 55 } 56 $('help_gateway_se3').onmouseover= function() { 57 UnTip(); 58 Tip(msg_gateway_info, WIDTH,250,SHADOW,true,DURATION,duration); 59 this.onmouseout=function() { UnTip(); } 60 61 } 62 $('help_net_se3').onmouseover= function() { 63 UnTip(); 64 Tip(msg_net_info, WIDTH,250,SHADOW,true,DURATION,duration); 65 this.onmouseout=function() { UnTip(); } 66 67 } 68 $('help_dns_se3').onmouseover= function() { 69 UnTip(); 70 Tip(msg_dns_info, WIDTH,250,SHADOW,true,DURATION,duration); 71 this.onmouseout=function() { UnTip(); } 72 73 } 74 $('help_dns2_se3').onmouseover= function() { 75 UnTip(); 76 Tip(msg_dns2_info, STICKY, true,WIDTH,250,SHADOW,true,DURATION,duration); 77 78 } 79 80 $('help_ftp_se3').onmouseover= function() { 81 UnTip(); 82 Tip(msg_ftp_info,WIDTH,250,SHADOW,true,DURATION,duration); 83 this.onmouseout=function() { UnTip(); } 84 85 } 86 87 $('help_web_se3').onmouseover= function() { 88 UnTip(); 89 Tip(msg_web_info, WIDTH,250,SHADOW,true,DURATION,duration); 90 this.onmouseout=function() { UnTip(); } 91 92 } 93 94 $('help_ntp_se3').onmouseover= function() { 95 UnTip(); 96 Tip(msg_ntp_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 97 98 } 99 100 101 $('check_mail').onmouseover= function() { 102 UnTip(); 103 TagToTip('mail_menu',STICKY, true, CLICKCLOSE, true,DURATION,duration); 104 105 } 106 107 $('help_mail_se3').onmouseover= function() { 108 UnTip(); 109 Tip(msg_mail_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 110 111 } 112 113 $('help_samba_se3').onmouseover= function() { 114 UnTip(); 115 Tip(msg_samba_info,WIDTH,250,SHADOW,true,DURATION,duration); 116 this.onmouseout=function() { UnTip(); } 117 118 } 119 120 $('help_sid_se3').onmouseover= function() { 121 UnTip(); 122 Tip(msg_sid_info,WIDTH,250); 123 this.onmouseout=function() { UnTip(); } 124 125 } 126 127 $('help_mysql_se3').onmouseover= function() { 128 UnTip(); 129 Tip(msg_mysql_info,WIDTH,250,SHADOW,true,DURATION,duration); 130 this.onmouseout=function() { UnTip(); } 131 132 } 133 134 $('help_ondul_se3').onmouseover= function() { 135 UnTip(); 136 Tip(msg_ondul_ko_info,WIDTH,250,SHADOW,true,DURATION,duration); 137 this.onmouseout=function() { UnTip(); } 138 } 139 if ($('help_dhcp_se3')) { 140 141 $('help_dhcp_se3').onmouseover= function() { 142 UnTip(); 143 Tip(msg_dhcp_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 144 } 145 146 } 147 148 if ($('help_time_se3')) { 149 150 $('help_time_se3').onmouseover= function() { 151 UnTip(); 152 Tip(msg_time_info,STICKY, true, CLICKCLOSE, true,WIDTH,250,SHADOW,true,DURATION,duration); 153 } 154 155 } 156 157 158 $('help_secu_se3').onmouseover= function() { 159 UnTip(); 160 Tip(msg_secu_info,WIDTH,250,SHADOW,true,DURATION,duration); 161 this.onmouseout=function() { UnTip(); } 162 163 } 164 165 $('help_client_se3').onmouseover= function() { 166 UnTip(); 167 Tip(msg_client_info,WIDTH,250,SHADOW,true,DURATION,duration); 168 this.onmouseout=function() { UnTip(); } 169 } 170 171 $('check_maj').onmouseover= function() { 172 UnTip(); 173 Tip(msg_maj_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 174 this.onmouseout=function() { UnTip(); } 175 } 176 $('check_keys').onmouseover= function() { 177 UnTip(); 178 Tip(msg_keys_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 179 this.onmouseout=function() { UnTip(); } 180 } 181 $('check_vbs').onmouseover= function() { 182 UnTip(); 183 Tip(msg_vbs_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 184 this.onmouseout=function() { UnTip(); } 185 } 186 $('check_clonage').onmouseover= function() { 187 UnTip(); 188 Tip(msg_clonage_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 189 this.onmouseout=function() { UnTip(); } 190 } 191 $('check_ftp').onmouseover= function() { 192 UnTip(); 193 Tip(msg_ftp_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 194 this.onmouseout=function() { UnTip(); } 195 } 196 $('check_web').onmouseover= function() { 197 UnTip(); 198 Tip(msg_web_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 199 this.onmouseout=function() { UnTip(); } 200 } 201 $('check_secu').onmouseover= function() { 202 UnTip(); 203 Tip(msg_secu_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 204 this.onmouseout=function() { UnTip(); } 205 } 206 $('check_ntp').onmouseover= function() { 207 UnTip(); 208 Tip(msg_ntp_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 209 this.onmouseout=function() { UnTip(); } 210 } 211 $('check_dns').onmouseover= function() { 212 UnTip(); 213 Tip(msg_dns_nocx,WIDTH,250,SHADOW,true,DURATION,duration); 214 this.onmouseout=function() { UnTip(); } 215 } 216 217 218 219 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |