IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JavaScript Discussion :

Récupération emploi du temps


Sujet :

JavaScript

  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut Récupération emploi du temps
    Bonjour,
    Voila je voudrais faire un programme pour récuperer le code html de mon emploi du temps en ligne.

    Seuleument c'est un peu le bordel,
    je me log sur l'intranet, je vais sur la page de l'emploi du temps et je choisis la semaine qui charge sans changer le lien.

    en simplifié semaine 1 : edt/index.php
    semaine 2 : edt/index.php etc ...

    Je voudrais savoir comment faire dans ce cas la pour récuperer l'emploi du temps de chaque semaine.

    J'ai commencé a regarder le code :
    l'emploi du temps se charge dans un iframe :
    la fonction qui permet de selectionner une semaine est celle ci :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    function SelectWeek() {
     
    	var WeekSel;
     
    	WeekSel = window.document.getElementById('selWEEK').value;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').hidWEEK.value = WeekSel;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').submit();
    }
    Mais dans le code source de la page je ne trouve rien ayant comme id
    "frmWEEK" ...


    Apres avoir parcouru plusieurs fichier .Js je crois que le iframe se load la :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
     
    function PlanningWeek() {
     
    	var MarginLeft = 5;
    	var MarginTop = 95;
     
    	//	ELEMENT START 
    	window.document.write("<div id='PLANNINGWEEK' style='border-style: none; margin-left:0px; margin-top:0px; position:absolute; z-index:1; width: "+ScreenWidth+"px; height: "+(ScreenHeight-MarginTop-20)+"px'>");
    	window.document.getElementById('PLANNINGWEEK').style.left = MarginLeft + "px";
    	window.document.getElementById('PLANNINGWEEK').style.top = MarginTop + "px";
     
    	//	SCREEN 
    	if (ClientParameter == "OUI") 
    	{
    		window.document.write("<iframe id='PLANNINGWEEK_DATA' name='PLANNINGWEEK_DATA' style='border-left-style:solid; border-left-width:1px; border-left-color:" + ColorBorder + "; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: "+(ScreenHeight-MarginTop-20)+"px' src='phtm/planning_week.php' scrolling='no' frameborder='no'></iframe>");
    	}
    	else 
    	{
    		window.document.write("<iframe id='PLANNINGWEEK_DATA' name='PLANNINGWEEK_DATA' style='border-style:none; border-width:1px; border-color:#ff0000; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: "+(ScreenHeight-MarginTop-20)+"px' src='phtm/planning_week.php' scrolling='no' frameborder='no'></iframe>");
    	}
     
    	//	ELEMENT END 
    	window.document.getElementById('PLANNINGWEEK').style.visibility = 'hidden';
    	window.document.write("</div>");
    }

    Le src est planning_week.php :
    je suis donc allé sur cette page :

    Le iframe de l'emploi du temps est le suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    <iframe id="PLANNINGWEEK_DAY" name="PLANNINGWEEK_DAY" style="border-style: none; margin-left: 0px; margin-top: 0px; width:1383px; height: 639px" src="planning_week_day.php" scrolling="no" frameborder="no">
    Je suis donc allé sur planning_week_day.php :


    Sur cette page l'emploi du temps s'affiche dans un tableau :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
     
    <td class='PLANNING_BLOCK' style='background-image: url("../image/purple_light.png"); vertical-align: middle; height: 26px' colspan='42' align='center' onmouseover="BlockOver(0,1,2,3,4,5,6,7,8,9,10); window.status = 'Powered by Helvetius Ingénierie'; return true;">
     
    						<a href='JavaScript:BlockControl("");' class='PLANNING_BLOCK' onclick="BlockClick(); window.status = 'Powered by Helvetius Ingénierie'; return true;" onmouseover="BlockOver(0,1,2,3,4,5,6,7,8,9,10); window.status = 'Powered by Helvetius Ingénierie'; return true;">Information promotion</a>
    					</td>
     
    					<input type='hidden' id='txt_block_0' value="09:30   Information promotion   13:00" />
    					<input type='hidden' id='txt_block_1' value='-' />
    					<input type='hidden' id='txt_block_2' value='P 703               -' />
    					<input type='hidden' id='txt_block_3' value='Réunion de rentrée' />
    					<input type='hidden' id='txt_block_4' value='CFI9MKG563' />
    					<input type='hidden' id='txt_block_5' value='CFRMFIN4501201      STAGE     0001-004' />
    					<input type='hidden' id='txt_block_6' value=' ' />
    					<input type='hidden' id='txt_block_7' value='P 703               -' />
    					<input type='hidden' id='txt_block_8' value='20121015' />
    					<input type='hidden' id='txt_block_9' value='09:30' />
    					<input type='hidden' id='txt_block_10' value='13:00' />
    Voila ce que j'ai comme pistes pour l'instant si quelqu'un pouvait me filer un coup de main ce serait cool

  2. #2
    Membre Expert

    Homme Profil pro
    Ingénieur Hospitalier
    Inscrit en
    Juillet 2004
    Messages
    993
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur Hospitalier
    Secteur : Santé

    Informations forums :
    Inscription : Juillet 2004
    Messages : 993
    Billets dans le blog
    1
    Par défaut
    Salut difficile de t'aider sans vraiment la page html généré, ce qui nous permet de voir l'intéraction entre html et js ce qui n'est pas le cas dans ce que tu nous montre.

    Si tu pouvait copier-coller la page html généré par ta page php.
    On ne sait pas qui appel ces functions, ou est le code?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    SelectWeek();
    PlanningWeek();
    Je ne vois pas dans ce que tu fournit ces informations.

    Bonne soirée

  3. #3
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    en arrivant sur l'emploi du temsp avant d'avoir selectionner une semaine j'ai cette page la (Le code de cette page est identique que j'ai choisi une semaine ou pas dans le menu déroulant).


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    <html>
     
     
     
     
    		<script type='text/javascript'>
    			if(parent.window.frames.MENU_DATA)
    				if(parent.window.frames.MENU_DATA.frames.MENUPRINT_FRAME)
    					parent.window.frames.MENU_DATA.frames.MENUPRINT_FRAME.location.href = 'phtm/planning_print.php';
    		</script>
     
     
     
    <head>
     
    	<title>DIARY</title>
     
    	<meta name="Keywords" content="" />
    	<meta name="Description" content="" />
    	<meta http-equiv="Content-Type" content="text/html; charset=iso8859-15" />
    	<meta name="Author" content="HELVETIUS INGENIERIE" />
     
    </head>
     
     
     
    <body onload="javascript:EndLoading();" style="overflow: auto; border: none;" >
     
     
    	<img alt='' style='z-index: 0; margin-left: 0px; margin-top: 0px; border: none; width: 1245px; height: 520px' src='../../../HELATO_ERGO/image/model_1/diary_screen_back.jpg' />
     
    	<form id="frmINIT" action="php/init.php" method="post">
    		<!-- HIDDEN INPUT -->
    		<input type="hidden" name="hidPORTAL" value="YES" />
    		<input type="hidden" name="hidNAVIGATOR" />
    		<input type="hidden" name="hidWIDTH" />
    		<input type="hidden" name="hidHEIGHT" />
    	</form>
     
    	<script type="text/javascript" src="js/init.js"></script>
     
    	<!-- WITH PORTAL -->
    	<form id="frmVARIABLE">
    		<!-- HIDDEN INPUT -->
    		<input type="hidden" name="hidCLIENT" value="NON" />
    		<input type="hidden" name="hidSEARCH" value="NON" />
    		<input type="hidden" name="hidBORDER" value="#ffffff" />
    	</form>
     
    	<script type="text/javascript" src="js/frame.js"></script>
    	<script type="text/javascript" src="js/index.js"></script>
     
    </body>
     
     
     
    </html>
    Je vous met les fichiers Js associe donc :
    Init.js
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    //	FUNCTIONS 
    	//	InitSession() 
     
     
     
    	//	STATUS
    	window.status = "Powered by Helvetius Ingénierie";
     
     
     
    	//	DECLARING VARIABLE
    	var NavAgent = new String(navigator.userAgent);
    	var NavType;
     
    	if (NavAgent.search("MSIE") != -1) {
    			NavType = "I.E.";
    			}
    		else if (NavAgent.search("Firefox") != -1) {
    			NavType = "FIREFOX";
    			}
            else if (NavAgent.search("Opera") != -1) {
    			NavType = "OPERA";
    			}
            else {
                NavType = "OTHER";
                }
     
    	var Portal = window.document.getElementById('frmINIT').elements.hidPORTAL.value;
     
     
     
    	//	ERROR HANDLER
    	window.onerror = null;
     
     
     
    	InitSession();
     
     
     
    //	FUNCTIONS
    function InitSession() {
     
    	if (Portal == "NO") {
    		//	CREATING SESSION 
    		window.document.getElementById('frmINIT').elements.hidNAVIGATOR.value = NavType;
    		window.document.getElementById('frmINIT').elements.hidWIDTH.value = document.body.clientWidth;
    		window.document.getElementById('frmINIT').elements.hidHEIGHT.value = document.body.clientHeight;
    		window.document.forms.frmINIT.submit();
    	}
    }
    Frame.js
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    //	FUNCTIONS 
    	//	Hidden() 
    	//	Planning() 
    	//	PlanningWeek() 
    	//	PlanningControl() 
    	//	PlanningTitle() 
    	//	BlockOut() 
    	//	Photo()
     
     
     
    	//	DECLARING VARIABLE 
    	var ClientParameter = window.document.getElementById('frmVARIABLE').elements.hidCLIENT.value;
    	var ColorBorder = window.document.getElementById('frmVARIABLE').elements.hidBORDER.value;
     
    	var Portal = window.document.getElementById('frmINIT').elements.hidPORTAL.value;
     
    	if(Portal!="NO")
    	{
    		var ScreenWidth  = parent.window.document.body.clientWidth  - 120 - 2 - 5 - 5;
    		var ScreenHeight = parent.window.document.body.clientHeight -  90 - 2 - 5;
    	}
    	else
    	{
    		var ScreenWidth  = document.body.clientWidth;
    		var ScreenHeight = document.body.clientHeight;
    	}
     
    	//	STATUS
    	window.status = "Powered by Helvetius Ingénierie";
     
     
     
    	//	ERROR HANDLER
    	window.onerror = null;
     
     
     
    	Hidden();
    	Planning();
    	PlanningWeek();
    	PlanningControl();
    	PlanningTitle();
    	Photo();
     
     
     
    //	FUNCTIONS
    function Hidden() 
    {
     
    	//	ELEMENT START 
    	window.document.write("<div id='HIDDEN' style='margin-left:0px; position:absolute; width:0px; height:0px'>");
    	window.document.getElementById('HIDDEN').style.left = 0 + "px";
    	window.document.getElementById('HIDDEN').style.top = 0 + "px";
     
    	//	HIDDEN  
    	window.document.write("<iframe id='HIDDEN_DATA' name='HIDDEN_DATA' style='border-style:none; margin-left:0px; margin-top:0px; width:0px; height:0px' src='html/hidden_data.html' scrolling='no' frameborder='no'></iframe>");
     
    	//	ELEMENT END 
    	window.document.getElementById('HIDDEN').style.visibility = 'hidden';
    	window.document.write("</div>");
    }
     
     
     
    function HiddenPrint() 
    {
     
    	//	ELEMENT START 
    	window.document.write("<div id='PRINT' style='margin-left:0px; position:absolute; width:0px; height:0px'>");
    	window.document.getElementById('PRINT').style.left = 0 + "px";
    	window.document.getElementById('PRINT').style.top = 0 + "px";
     
    	//	HIDDEN  
    	window.document.write("<iframe id='PRINT_DATA' name='PRINT_DATA' style='border-style:none; margin-left:0px; margin-top:0px; width:0px; height:0px' src='phtm/empty_frame.php' scrolling='no' frameborder='no'></iframe>");
     
    	//	ELEMENT END 
    	window.document.getElementById('PRINT').style.visibility = 'visible';
    	window.document.write("</div>");
    }
     
     
     
    function Planning() {
     
    	var MarginLeft = 5;
    	var MarginTop = 5;
     
    	//	ELEMENT START 
    	window.document.write("<div id='PLANNING' style='border-style: none; margin-left:0px; margin-top:0px; position:absolute; z-index:1; width: "+ScreenWidth+"px; height: 90px'>");
    	window.document.getElementById('PLANNING').style.left = MarginLeft + "px";
    	window.document.getElementById('PLANNING').style.top = MarginTop + "px";
     
    	//	SCREEN 
    	if (ClientParameter == "OUI") 
    	{
    		window.document.write("<iframe id='PLANNING_DATA' name='PLANNING_DATA' style='border-left-style:solid; border-left-width:1px; border-left-color:" + ColorBorder + "; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: 90px' src='phtm/planning.php' scrolling='no' frameborder='no'></iframe>");
    	}
    	else 
    	{
    		window.document.write("<iframe id='PLANNING_DATA' name='PLANNING_DATA' style='border-style:none; border-width:1px; border-color:#ff0000; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: 90px' src='phtm/planning.php' scrolling='no' frameborder='no'></iframe>");
    	}
     
    	//	ELEMENT END 
    	window.document.getElementById('PLANNING').style.visibility = 'hidden';
    	window.document.write("</div>");
     
    }
     
     
     
    function PlanningWeek() {
     
    	var MarginLeft = 5;
    	var MarginTop = 95;
     
    	//	ELEMENT START 
    	window.document.write("<div id='PLANNINGWEEK' style='border-style: none; margin-left:0px; margin-top:0px; position:absolute; z-index:1; width: "+ScreenWidth+"px; height: "+(ScreenHeight-MarginTop-20)+"px'>");
    	window.document.getElementById('PLANNINGWEEK').style.left = MarginLeft + "px";
    	window.document.getElementById('PLANNINGWEEK').style.top = MarginTop + "px";
     
    	//	SCREEN 
    	if (ClientParameter == "OUI") 
    	{
    		window.document.write("<iframe id='PLANNINGWEEK_DATA' name='PLANNINGWEEK_DATA' style='border-left-style:solid; border-left-width:1px; border-left-color:" + ColorBorder + "; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: "+(ScreenHeight-MarginTop-20)+"px' src='phtm/planning_week.php' scrolling='no' frameborder='no'></iframe>");
    	}
    	else 
    	{
    		window.document.write("<iframe id='PLANNINGWEEK_DATA' name='PLANNINGWEEK_DATA' style='border-style:none; border-width:1px; border-color:#ff0000; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: "+(ScreenHeight-MarginTop-20)+"px' src='phtm/planning_week.php' scrolling='no' frameborder='no'></iframe>");
    	}
     
    	//	ELEMENT END 
    	window.document.getElementById('PLANNINGWEEK').style.visibility = 'hidden';
    	window.document.write("</div>");
    }
     
     
     
    function PlanningControl() {
     
    	var MarginLeft = 5;
    	var MarginTop = ScreenHeight - 20;
     
    	//	ELEMENT START 
    	window.document.write("<div id='PLANNINGCONTROL' style='border-style: none; margin-left:0px; margin-top:0px; position:absolute; z-index:1; width: "+ScreenWidth+"px; height: 30px'>");
    	window.document.getElementById('PLANNINGCONTROL').style.left = MarginLeft + "px";
    	window.document.getElementById('PLANNINGCONTROL').style.top = MarginTop + "px";
     
    	//	SCREEN 
    	if (ClientParameter == "OUI") 
    	{
    		window.document.write("<iframe id='PLANNINGCONTROL_DATA' name='PLANNINGCONTROL_DATA' style='border-left-style:solid; border-left-width:1px; border-left-color:" + ColorBorder + "; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: 30px' src='phtm/planning_control.php' scrolling='no' frameborder='no'></iframe>");
    	}
    	else 
    	{
    		window.document.write("<iframe id='PLANNINGCONTROL_DATA' name='PLANNINGCONTROL_DATA' style='border-style:none; border-width:1px; border-color:#ff0000; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: 30px' src='phtm/planning_control.php' scrolling='no' frameborder='no'></iframe>");
    	}
     
    	//	ELEMENT END 
    	window.document.getElementById('PLANNINGCONTROL').style.visibility = 'hidden';
    	window.document.write("</div>");
    }
     
     
     
    function PlanningTitle() {
     
    	var MarginLeft = (ScreenWidth/2)-190;
    	var MarginTop  = 20;
     
    	//	ELEMENT START 
    	window.document.write("<div id='PLANNING_TITLE' style='border-style: none; margin-left:0px; margin-top:0px; position:absolute; z-index:1; width: 380px; height: 130px'>");
    	window.document.getElementById('PLANNING_TITLE').style.left = MarginLeft + "px";
    	window.document.getElementById('PLANNING_TITLE').style.top = MarginTop + "px";
     
    	//	SCREEN 
    	window.document.write("<iframe id='PLANNING_TITLE_DATA' name='PLANNING_TITLE_DATA' style='border-style:solid; border-width:1px; border-color:#808080; margin-left:0px; margin-top:0px; width: 380px; height: 130px' onmouseout=\"BlockOut(); window.status = 'Powered by Helvetius Ingénierie'; return true;\" src='phtm/planning_title.php' scrolling='no' frameborder='no'></iframe>");
     
    	//	ELEMENT END 
    	window.document.getElementById('PLANNING_TITLE').style.visibility = 'hidden';
    	window.document.write("</div>");
    }
     
     
     
    function BlockOut() {
     
    	window.document.getElementById('PLANNING_TITLE').style.visibility = 'hidden';
    }
     
     
     
    function Photo() {
     
    	var MarginLeft = 5;
    	var MarginTop = 5;
     
    	//	ELEMENT START 
    	window.document.write("<div id='PHOTO' style='border-style: solid; border-color:blue; border-width:2px; margin-left:0px; margin-top:0px; position:absolute; z-index:1; width: "+ScreenWidth+"px; height: "+(ScreenHeight-30)+"px'>");
    	window.document.getElementById('PHOTO').style.left = MarginLeft + "px";
    	window.document.getElementById('PHOTO').style.top = MarginTop + "px";
     
    	//	SCREEN 
    	if (ClientParameter == "OUI") 
    	{
    		window.document.write("<iframe id='PHOTO_DATA' name='PHOTO_DATA' style='border-left-style:solid; border-left-width:1px; border-left-color:" + ColorBorder + "; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: "+(ScreenHeight-30)+"px' src='phtm/empty_frame.php' scrolling='no' frameborder='no'></iframe>");
    	}
    	else 
    	{
    		window.document.write("<iframe id='PHOTO_DATA' name='PHOTO_DATA' style='border-style:none; border-width:1px; border-color:#ff0000; margin-left:0px; margin-top:0px; width: "+ScreenWidth+"px; height: "+(ScreenHeight-30)+"px' src='phtm/empty_frame.php' scrolling='no' frameborder='no'></iframe>");
    	}
     
    	//	ELEMENT END 
    	window.document.getElementById('PHOTO').style.visibility = 'hidden';
    	window.document.write("</div>");
    }
    Et index.js
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    //	FUNCTIONS 
     
    	//	RightClick()
    	//	EndLoading()
     
     
     
    	//	DECLARING VARIABLE
    	var NavAgent = new String(navigator.userAgent);
    	var NavType;
     
    	if (NavAgent.search("MSIE") != -1) {
    			NavType = "I.E.";
    			}
    		else if (NavAgent.search("Firefox") != -1) {
    			NavType = "FIREFOX";
    			}
            else if (NavAgent.search("Opera") != -1) {
    			NavType = "OPERA";
    			}
            else {
                NavType = "OTHER";
                }
     
    	var ClientParameter = window.document.getElementById('frmVARIABLE').elements.hidSEARCH.value;
     
     
     
    	//	STATUS
    	window.status = "Powered by Helvetius Ingénierie";
     
     
     
    	//	ERROR HANDLER
    	window.onerror = null;
     
     
     
    //	FUNCTIONS
    function RightClick(ArgEvent) {
     
    	//	MICROSOFT INTERNET EXPLORER
      	if (NavType == 'I.E.' && event.button == 2) {
    		alert("HELISA.NET");
    		return;
    	}
     
    	//	FIREFOX NAVIGATOR
    	if (NavType == 'FIREFOX' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OPERA NAVIGATOR
    	if (NavType == 'OPERA' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OTHER NAVIGATOR
    	if (NavType == 'OTHER' && ArgEvent.which == 3) {
     
    		return;
    	}
    }
     
     
     
    function EndLoading() {
     
    	//	RIGHT CLICKING
    	if (NavType == 'FIREFOX') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OPERA') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OTHER') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
    	window.document.onmousedown = RightClick;
     
    	window.document.getElementById('PLANNING').style.visibility = 'visible';
    	window.document.getElementById('PLANNINGWEEK').style.visibility = 'visible';
    	window.document.getElementById('PLANNINGCONTROL').style.visibility = 'visible';
     
    	if (ClientParameter == "OUI") {
    		//	SEARCH FOCUS 
    		window.frames.PLANNING_DATA.document.getElementById('frmPLANNING').txtSEARCH.focus();
    	}
    }


    Une fois l'emploi du temps affiché, j'ai affiché le code source du cadre ou il s'affiche qui est :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    <html>
    <head>
    	<title>PLANNING</title>
    	<link rel="stylesheet" type="text/css" media="screen" href="http://helisa.essca.asso.fr/HELATO_ERGO/css/model_1/diary_index.css" />
    	<link rel="stylesheet" type="text/css" media="print" href="http://helisa.essca.asso.fr/HELATO_ERGO/css/diary_print.css" />
    	<meta http-equiv="Content-Type" content="text/html; charset=iso8859-15" />
    </head>
    <body class="PLANNING_WEEK" id="bdyCURSOR_PLANNING_WEEK" onload="JavaScript:EndLoading();">
    	<div class="PRINT">
            <form id="frmDIRECT">
    		    <div>
    			    <!-- HIDDEN INPUT -->
    			    <input type="hidden" name="hidDIRECT" value="NO" />
    		    </div>
    	    </form>
    		<form id="frmVARIABLE">
    			<!-- PRINTING -->
    			<table class="PRINT">	
                    <tr >
    					<!-- LOGO -->
    					<td style="width: 120px; height: 80px" colspan="1" rowspan="2" align="left">
    						<img style='border: solid; border-width: 1px; border-color: #808080; width: 100px; height: 80px' /></td>
    													<!-- SPACER -->
    					<td style="width: 1214px; height: 40px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="width: 1214px; height: 40px" src="../image/spacer.gif" /></td>
    				</tr>
    				<tr>
    					<!-- PLANNING INFORMATION -->
    					<td class="PLANNING_TITLE" style="width: 1214px; height: 40px" colspan="1" rowspan="1" align="left">
    						Planning de
     Mademoiselle MONPRENOM MONNOM                    SEMAINE
     du 15-10-2012 au 21-10-2012     11/10/2012					</td>
    				</tr>
    			</table>
    			<table style="margin-top: -117px; border-style: none; border-collapse: collapse; width: 1214px; ">
    				<tr >	
    					<td class='BLOCK_SMALL' align='center'>
    						<img class='IMG_H1' src='../image/spacer.gif' /></td>(Répété une multitude de fois)
    				</tr>
    				<tr>
    					<td class='COLUMN_H4' align='center'><img class='IMG_H4' src='../image/spacer.gif' /></td>(Répété une multitude de fois)	
    				</tr>	
    				<tr>
    					<td class='COLUMN_H2' align='center'><img class='IMG_H2' src='../image/spacer.gif' /></td>(Répété une multitude de fois)
    				</tr>
    				<tr>
    					<td class='HOUR' colspan='3' rowspan='1' align='right'>  0</td><td class='HOUR' colspan='3' rowspan='1' align='left'>8</td>
    					<td class='HALF_HOUR' colspan='3' rowspan='1' align='right'>    3</td>
    					<td class='HALF_HOUR' colspan='3' rowspan='1' align='left'>0</td>(Répété une multitude de fois)
     
    				</tr>
    				<tr>
    					<td class='COLUMN_H5' align='center'><img class='IMG_H5' src='../image/spacer.gif' /></td>(Répété une multitude de fois)
     
    					<td class='PLANNING_BLOCK' style='background-image: url("../image/purple_light.png"); vertical-align: middle; height: 26px' colspan='42' align='center' onmouseover="BlockOver(0,1,2,3,4,5,6,7,8,9,10); window.status = 'Powered by Helvetius Ingénierie'; return true;">
     
    						<a href='JavaScript:BlockControl("");' class='PLANNING_BLOCK_FF' onclick="BlockClick(); window.status = 'Powered by Helvetius Ingénierie'; return true;" onmouseover="BlockOver(0,1,2,3,4,5,6,7,8,9,10); window.status = 'Powered by Helvetius Ingénierie'; return true;">Information promotion</a>
    					</td>
    					<input type='hidden' id='txt_block_0' value="09:30   Matiere   13:00" />
    					<input type='hidden' id='txt_block_1' value='-' />
    					<input type='hidden' id='txt_block_2' value='Salle               -' />
    					<input type='hidden' id='txt_block_3' value='Mateire />
    					<input type='hidden' id='txt_block_4' value='Code departement' />
    					<input type='hidden' id='txt_block_5' value='Code Mateire' />
    					<input type='hidden' id='txt_block_6' value=' ' />
    					<input type='hidden' id='txt_block_7' value='Salle           -' />
    					<input type='hidden' id='txt_block_8' value='20121015' />
    					<input type='hidden' id='txt_block_9' value='09:30' />
    					<input type='hidden' id='txt_block_10' value='13:00' />
     
     
     
    					<td class='PLANNING_BLOCK' style='background-image: url("../image/purple_light.png"); vertical-align: middle; height: 26px' colspan='36' align='center' onmouseover="BlockOver(11,12,13,14,15,16,17,18,19,20,21); window.status = 'Powered by Helvetius Ingénierie'; return true;">
     
    						<a href='JavaScript:BlockControl("");' class='PLANNING_BLOCK_FF' onclick="BlockClick(); window.status = 'Powered by Helvetius Ingénierie'; return true;" onmouseover="BlockOver(11,12,13,14,15,16,17,18,19,20,21); window.status = 'Powered by Helvetius Ingénierie'; return true;">FIN451 Finance dŽentreprise 1</a>
    					</td>
     
    					<input type='hidden' id='txt_block_11' value="14:00   Matiere 1   17:00" />
    					<input type='hidden' id='txt_block_12' value='-' />
    					<input type='hidden' id='txt_block_13' value='Salle              -' />
    					<input type='hidden' id='txt_block_14' value='#Matiere' />
    					<input type='hidden' id='txt_block_15' value='code departement' />
    					<input type='hidden' id='txt_block_16' value='code matiere' />
    					<input type='hidden' id='txt_block_17' value='Nom prof' />
    					<input type='hidden' id='txt_block_18' value='Salle              -' />
    					<input type='hidden' id='txt_block_19' value='20121015' />
    					<input type='hidden' id='txt_block_20' value='14:00' />
    					<input type='hidden' id='txt_block_21' value='17:00' />
    				</tr>			
    			</table>
    			<table class="PRINT_INFOS">
    					<tr>
    						<td class='PRINT' align='left'>I N F O R M A T I O N S
    					</tr>
    					<tr>
    						<td class='PRINT' align='left'>Lundi : [09:30 - 13:00],Matiere, Salle               -,     [14:00 - 17:00], Matiere, Salle              -, Prof   </td>
    					</tr>		
    					<tr>
    						<td class='PRINT' align='left'>Mardi : [09:30 - 12:30], Matiere, Salle              -, NomProf   [14:00 - 18:00], Matiere, Salle         -, Prof   </td>
    					</tr>		
    					<tr>
    						<td class='PRINT' align='left'>Mercredi : [09:30 - 12:30], Matiere 1, Salle               -, NomProf   [13:30 - 16:30], Matiere, Salle               -, Prof   </td>
    					</tr>		
    					<tr>
    						<td class='PRINT' align='left'>Jeudi : [10:00 - 13:00], Matiere 1, Salle               -, NomProf   [14:00 - 17:00], Matiere, Salle                -, Prof   </td>
    					</tr>		
    					<tr>
    						<td class='PRINT' align='left'>Vendredi : [09:30 - 12:30], Matiere 1, Salle             -, NomProf   </td>
    					</tr>		
    					<tr>
    						<td class='PRINT' align='left'>Samedi : [09:30 - 12:30], Matiere, Salle (INFO)        -, NomProf   </td>
    					</tr>					
    			</table>	
    		</form>
    	</div>
    	<script type="text/javascript" src="../js/planning_week_day.js"></script>
    </body>
    </html>
    De base le code source faisait plusieurs milliers de ligne car la mise en page est faite avec des images de 1px donc ca j'ai virer. J'ai remplacé le nom de professeurs et matieres par "prof" et "matiere".

    Le fichier .js Planning week day a la fin du code source est le suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    //	FUNCTIONS 
     
    	//	RightClick()
    	//	BlockClick() 
    	//	BlockOver() 
    	//	BlockControl() 
    	//	EndLoading()
     
     
     
    	//	DECLARING VARIABLE
    	var NavAgent = new String(navigator.userAgent);
    	var NavType;
     
    	if (NavAgent.search("MSIE") != -1) {
    			NavType = "I.E.";
    			}
    		else if (NavAgent.search("Firefox") != -1) {
    			NavType = "FIREFOX";
    			}
            else if (NavAgent.search("Opera") != -1) {
    			NavType = "OPERA";
    			}
            else {
                NavType = "OTHER";
                }
     
    	var IndexDirect = window.document.getElementById('frmDIRECT').elements.hidDIRECT.value;
     
     
     
    	//	STATUS
    	window.status = "Powered by Helvetius Ingénierie";
     
     
     
    	//	ERROR HANDLER
    	window.onerror = null;
     
     
     
    //	FUNCTIONS
    function RightClick(ArgEvent) {
     
    	//	MICROSOFT INTERNET EXPLORER
      	if (NavType == 'I.E.' && event.button == 2) {
    		alert("HELISA.NET");
    		return;
    	}
     
    	//	FIREFOX NAVIGATOR
    	if (NavType == 'FIREFOX' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OPERA NAVIGATOR
    	if (NavType == 'OPERA' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OTHER NAVIGATOR
    	if (NavType == 'OTHER' && ArgEvent.which == 3) {
     
    		return;
    	}
    }
     
     
     
    function BlockClick() {
     
    	if (IndexDirect != "YES") {
    		//	GROUP PHOTO 
    		parent.parent.window.frames.HIDDEN_DATA.document.getElementById('frmGROUP_PHOTO').hidSOURCE.value = "PLANNING";
    		parent.parent.window.frames.HIDDEN_DATA.document.getElementById('frmGROUP_PHOTO').submit();
    	}
    }
     
     
     
    function BlockOver(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10, Arg11 ) {
     
    	var	TitleName = window.document.getElementById('txt_block_' + Arg1).value;
    	var	TitleInfo = window.document.getElementById('txt_block_' + Arg2).value;
    	var	TitlePlace = window.document.getElementById('txt_block_' + Arg3).value;
    	var	TitleComment = window.document.getElementById('txt_block_' + Arg4).value;
    	var	TitleType = window.document.getElementById('txt_block_' + Arg5).value;
    	var	TitleValue = window.document.getElementById('txt_block_' + Arg6).value;
    	var	TitleMaster = window.document.getElementById('txt_block_' + Arg7).value;
    	var	TitleDouble = window.document.getElementById('txt_block_' + Arg8).value;
    	var	TitleDay = window.document.getElementById('txt_block_' + Arg9).value;
    	var	TitleHdeb = window.document.getElementById('txt_block_' + Arg10).value;
    	var	TitleHfin = window.document.getElementById('txt_block_' + Arg11).value;
     
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidNAME.value = TitleName;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidINFO.value = TitleInfo;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidPLACE.value = TitlePlace;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidCOMMENT.value = TitleComment;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidTYPE.value = TitleType;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidVALUE.value = TitleValue;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidMASTER.value = TitleMaster;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidDOUBLE.value = TitleDouble;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidDAY.value = TitleDay;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidHDEB.value = TitleHdeb;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').hidHFIN.value = TitleHfin;
    	window.parent.parent.frames.HIDDEN_DATA.document.getElementById('frmTITLE').submit();
    }
     
     
     
    function BlockControl(ArgControl) {
     
    	switch (ArgControl) {
     
    		case " " :
     
    			break;
    	}
    }
     
     
     
    function EndLoading() {
     
    	//	RIGHT CLICKING
    	if (NavType == 'FIREFOX') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OPERA') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OTHER') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
    	window.document.onmousedown = RightClick;
    }
    Voila , je suis bloqué je sais pas quoi faire ... si quelqu'un a une idée je suis preneur Merci d'avance à ceux qui voudront bien m'aider

  4. #4
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    J'avais oublié une partie, le select avec les semaines se refere à ce fichier js onchange()

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    //	FUNCTIONS 
     
    	//	RightClick()
    	//	ButtonOver()
    	//	ButtonOut()
    	//	ButtonInit() 
    	//	ButtonControl()
    	//	SelectWeek() 
    	//	EndLoading()
     
     
     
    	//	DECLARING VARIABLE
    	var NavAgent = new String(navigator.userAgent);
    	var NavType;
     
    	if (NavAgent.search("MSIE") != -1) {
    			NavType = "I.E.";
    			}
    		else if (NavAgent.search("Firefox") != -1) {
    			NavType = "FIREFOX";
    			}
            else if (NavAgent.search("Opera") != -1) {
    			NavType = "OPERA";
    			}
            else {
                NavType = "OTHER";
                }
     
    	var ClientParameter = window.document.getElementById('frmVARIABLE').elements.hidCLIENT.value;
    	var Style = window.document.getElementById('frmVARIABLE').elements.hidSTYLE.value;
    	var Lang = window.document.getElementById('frmVARIABLE').elements.hidLANG.value;		
    	var ButtonColor = window.document.getElementById('frmVARIABLE').elements.hidCOLOR.value;
    	var ButtonColorOver = window.document.getElementById('frmVARIABLE').elements.hidCOLOR_OVER.value;
    	var HelatoErgo = window.document.getElementById('frmVARIABLE').elements.hidERGO.value;
    	var Fiche = window.document.getElementById('frmVARIABLE').elements.hidFICHE.value;
    	var Photo = window.document.getElementById('frmVARIABLE').elements.hidPHOTO.value;
    	var Planning = window.document.getElementById('frmVARIABLE').elements.hidPLANNING.value;
     
    	var PortalUrl = window.document.getElementById('frmVARIABLE').elements.hidPORTALURL.value;
     
    	var Check = false;
     
    	var CheckFiche = false;
    	var CheckPhoto = false;
    	var CheckPlanning = false;
     
    	var picButton = new Image(100,20);
    	var picButtonOver = new Image(100,20);
    	var picButtonSearch = new Image(20,20);
    	var picButtonSearchOver = new Image(20,20);
     
     
     
    	//	LOADING PICTURE
    	picButton.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_back.png";
    	picButtonOver.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_back_over.png";
    	picButtonSearch.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_search.png";
    	picButtonSearchOver.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_search_over.png";
     
     
     
    	//	STATUS
    	window.status = "Powered by Helvetius Ingénierie";
     
     
     
    	//	ERROR HANDLER
    	window.onerror = null;
     
     
     
    //	FUNCTIONS
    function RightClick(ArgEvent) {
     
    	//	MICROSOFT INTERNET EXPLORER
      	if (NavType == 'I.E.' && event.button == 2) {
    		alert("HELISA.NET");
    		return;
    	}
     
    	//	FIREFOX NAVIGATOR
    	if (NavType == 'FIREFOX' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OPERA NAVIGATOR
    	if (NavType == 'OPERA' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OTHER NAVIGATOR
    	if (NavType == 'OTHER' && ArgEvent.which == 3) {
     
    		return;
    	}
    }
     
     
     
    function ButtonOver(ArgOver) {
     
    	//	WAITING PICTURE
    	if (Check == false) {
    		return;
    	}
     
    	switch (ArgOver) {
     
    		case "Fiche" :
    			if (Fiche == "OUI") {
    				if (CheckFiche == false) {
    					window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButtonOver.src + "')";
    					window.document.getElementById('txtFICHE').style.color = ButtonColorOver;
    				}
    			}
    			break;
     
    		case "Photo" :
    			if (Photo == "OUI") {
    				if (CheckPhoto == false) {
    					window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButtonOver.src + "')";
    					window.document.getElementById('txtPHOTO').style.color = ButtonColorOver;
    				}
    			}
    			break;
     
    		case "Planning" :
    			if (Planning == "OUI") {
    				if (CheckPlanning == false) {
    					window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    					window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    				}
    			}
    			break;
     
    		case "Search" :
    			window.document.getElementById('imgSEARCH').style.backgroundImage = "url('" + picButtonSearchOver.src + "')";
    			break;
    	}
    }
     
     
     
    function ButtonOut(ArgOut) {
     
    	//	WAITING PICTURE
    	if (Check == false) {
    		return;
    	}
     
    	switch (ArgOut) {
     
    		case "Fiche" :
    			if (Fiche == "OUI") {
    				if (CheckFiche == false) {
    					window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButton.src + "')";
    					window.document.getElementById('txtFICHE').style.color = ButtonColor;
    				}
    			}
    			break;
     
    		case "Photo" :
    			if (Photo == "OUI") {
    				if (CheckPhoto == false) {
    					window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButton.src + "')";
    					window.document.getElementById('txtPHOTO').style.color = ButtonColor;
    				}
    			}
    			break;
     
    		case "Planning" :
    			if (Planning == "OUI") {
    				if (CheckPlanning == false) {
    					window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButton.src + "')";
    					window.document.getElementById('txtPLANNING').style.color = ButtonColor;
    				}
    			}
    			break;
     
    		case "Search" :
    			window.document.getElementById('imgSEARCH').style.backgroundImage = "url('" + picButtonSearch.src + "')";
    			break;
    	}
    }
     
     
     
    function ButtonInit() {
     
    	CheckFiche = false;
    	CheckPhoto = false;
    	CheckPlanning = false;
     
    	if (Fiche == "OUI") {
    		window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButton.src + "')";
    		window.document.getElementById('txtFICHE').style.color = ButtonColor;
    	}
     
    	if (Photo == "OUI") {
    		window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButton.src + "')";
    		window.document.getElementById('txtPHOTO').style.color = ButtonColor;
    	}
     
    	if (Planning == "OUI") {
    		window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButton.src + "')";
    		window.document.getElementById('txtPLANNING').style.color = ButtonColor;
    	}
    }
     
     
     
    function ButtonControl(ArgControl) {
     
    	var SearchMember;
     
    	ButtonInit();
     
    	switch (ArgControl) {
     
    		case "Fiche" :
    			if (Fiche == "OUI") {
    				CheckFiche = true;
    				window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButtonOver.src + "')";
    				window.document.getElementById('txtFICHE').style.color = ButtonColorOver;
     
    			}
    			break;
     
    		case "Photo" :
    			if (Photo == "OUI") {
    				CheckPhoto = true;
    				window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButtonOver.src + "')";
    				window.document.getElementById('txtPHOTO').style.color = ButtonColorOver;
    				parent.window.frames.HIDDEN_DATA.document.getElementById('frmGROUP_PHOTO').hidSOURCE.value = "GROUP_PHOTO_BUTTON";
    				parent.window.frames.HIDDEN_DATA.document.getElementById('frmGROUP_PHOTO').submit();
    			}
    			break;
     
    		case "Planning" :
    			if (Planning == "OUI") {
    				CheckPlanning = true;
    				window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    				window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    				parent.window.frames.PLANNING_DATA.location.href = "../phtm/planning.php";
    				parent.window.frames.PLANNINGWEEK_DATA.location.href = "../phtm/planning_week.php";
    				parent.window.frames.PLANNINGCONTROL_DATA.location.href = "../phtm/planning_control.php";
    			}
    			break;
     
    		case "Search" :
    			CheckPlanning = true;
    			window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    			window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    			SearchMember = window.document.getElementById('txtSEARCH').value;
    			parent.window.frames.HIDDEN_DATA.document.getElementById('frmSEARCH').hidSURNAME.value = SearchMember;
    			parent.window.frames.HIDDEN_DATA.document.getElementById('frmSEARCH').submit();
    			break;
    	}
    }
     
     
     
    function SelectWeek() {
     
    	var WeekSel;
     
    	WeekSel = window.document.getElementById('selWEEK').value;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').hidWEEK.value = WeekSel;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').submit();
    }
     
     
     
    function EndLoading() {
     
    	ButtonInit();
     
    	CheckPlanning = true;
     
    	if (Planning == "OUI") {
    		window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    		window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    	}
     
    	if (ClientParameter == "OUI") {
    		window.document.getElementById('imgSEARCH').style.backgroundImage = "url('" + picButtonSearch.src + "')";
    	}
     
    	//	RIGHT CLICKING
    	if (NavType == 'FIREFOX') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OPERA') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OTHER') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
    	window.document.onmousedown = RightClick;
     
    	Check = true;
    }

  5. #5
    Membre Expert

    Homme Profil pro
    Ingénieur Hospitalier
    Inscrit en
    Juillet 2004
    Messages
    993
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur Hospitalier
    Secteur : Santé

    Informations forums :
    Inscription : Juillet 2004
    Messages : 993
    Billets dans le blog
    1
    Par défaut
    Salut j'ai un peu plus d'info, par contre.
    J'avais oublié une partie, le select avec les semaines se refere à ce fichier js onchange()
    Ou est le html de cette page, celle de la sélection du week.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    function SelectWeek() {
     
    	var WeekSel;
     
    	WeekSel = window.document.getElementById('selWEEK').value;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').hidWEEK.value = WeekSel;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').submit();
    }
    Cette function me semble est la clé, mais il faudra savoir qui l'appel, et je ne vois pas d'appel a cette function dans tout le code source que tu as fournit.

    Le formulaire que tu doit rechercher est frmWEEK, il se trouve dans une frame parent pas la ou tu procède à la selection comme tu précise en haut.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').submit();
    Bonne chance toute même.

  6. #6
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    C'est sur la page d'accueil de l'emploi du temps le code est le suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
     
    <html>
    <head>
    	<title>PLANNING</title>
    		<link rel="stylesheet" type="text/css" href="http://helisa.essca.asso.fr/HELATO_ERGO/css/model_1/diary_index.css" />
    		<meta http-equiv="Content-Type" content="text/html; charset=iso8859-15" />
    	</head>
    <body class="BACK" onload="javascript:EndLoading();">
    		<div style="position: absolute; margin-left: 0px; margin-top: 0px">
    			<form id="frmPLANNING">
    		    <table style="margin-top: -16px; border-style: none; border-collapse: collapse;">
    				<tr>
    					<td class='PLANNING_BUTTON' id='imgFICHE' style='background-image: url("../image/spacer.gif"); vertical-align: middle; width: 100px; height: 20px' colspan='1' rowspan='1' align='center'>
    						<a href='JavaScript:ButtonControl("Fiche");' id='txtFICHE' class='PLANNING' title='' onmouseover='ButtonOver("Fiche"); window.status = "Powered by Helvetius Ingénierie"; return true;' onmouseout='ButtonOut("Fiche"); window.status = "Powered by Helvetius Ingénierie"; return true;'>
    						</a>
    					</td>
    					<td class='PLANNING_BUTTON' id='imgPHOTO' style='background-image: url("../image/spacer.gif"); vertical-align: middle; width: 100px; height: 20px' colspan='1' rowspan='1' align='center'>
    						<a href='JavaScript:ButtonControl("Photo");' id='txtPHOTO' class='PLANNING' title='' onmouseover='ButtonOver("Photo"); window.status = "Powered by Helvetius Ingénierie"; return true;' onmouseout='ButtonOut("Photo"); window.status = "Powered by Helvetius Ingénierie"; return true;'>							
    						</a>
    					</td>
    					<td class='PLANNING_BUTTON' id='imgPLANNING' style='background-image: url("../image/spacer.gif"); vertical-align: middle; width: 100px; height: 20px' colspan='1' rowspan='1' align='center'>
    						<a href='JavaScript:ButtonControl("Planning");' id='txtPLANNING' class='PLANNING' title='' onmouseover='ButtonOver("Planning"); window.status = "Powered by Helvetius Ingénierie"; return true;' onmouseout='ButtonOut("Planning"); window.status = "Powered by Helvetius Ingénierie"; return true;'>	
    						</a>
    					</td>							
    				</tr>
    			</table>
    			<table style="border-style: none; border-collapse: collapse;">
    				<tr>
    					<!-- TITLE -->
    					<td class="PLANNING_TITLE" style="vertical-align: middle; width: 500px; height: 30px" colspan="3" rowspan="1" align="left">
    						PLANNING
    </td>
     
    					<!-- SEARCH TITLE -->
    					<td class="PLANNING" style="vertical-align: bottom; width: 272px; height: 30px" colspan="2" rowspan="1" align="left">
    						</td>
    				</tr>
    				<tr>
    					<!-- WEEK LABEL -->
    					<td class="PLANNING" style="vertical-align: middle; width: 200px; height: 20px" colspan="1" rowspan="1" align="left">
    						Choisissez une période à partir du
    </td>
    					<!-- WEEK CHOICE -->
    					<td style="vertical-align: middle; width: 200px; height: 20px" colspan="1" rowspan="1" align="left">
    						<select class="PLANNING" id="selWEEK" name="selWEEK" onchange="SelectWeek(); window.status = 'Powered by Helvetius Ingénierie'; return true;">
    							<option>   Faîtes votre sélection</option><option value='1349688299'>   Lundi
     08/10/2012   (semaine
     41)   </option><option value='1350252000'>   Lundi
     15/10/2012   (semaine
     42)   </option><option value='1350856800'>   Lundi
     22/10/2012   (semaine
     43)   </option> (.... il y a beaucoup plus d'options mais bon toutes la meme syntaxe)
     </select>
    					</td>
    					<!-- SEARCH LABEL -->
    					<td class="PLANNING_BOLD" style="vertical-align: middle; width: 200px; height: 20px" colspan="1" rowspan="1" align="left">
    						</td>
    					<!-- SEARCH INPUT -->
    					<td style='vertical-align: middle; width: 172px; height: 20px' colspan='1' rowspan='1' align='left'></td>							
    					<!-- SEARCH BUTTON -->
    					<td class="PLANNING_BUTTON_NO_BORDER" id="imgSEARCH" style="background-image: url('../image/spacer.gif'); vertical-align: middle; width: 440px; height: 20px" colspan="1" rowspan="1" align="left">
    					</td>
    				</tr>
    											</table>
    		</form>
    	</div>
    	<form id="frmVARIABLE">
    		<div>
    			<!-- HIDDEN INPUT -->
    			<input type="hidden" name="hidCLIENT" value="NON" />
    			<input type="hidden" name="hidSTYLE" value="model_1" />
    			<input type="hidden" name="hidLANG" value="french" />
    			<input type="hidden" name="hidCOLOR" value="#777777" />
    			<input type="hidden" name="hidCOLOR_OVER" value="#000000" />
    			<input type="hidden" name="hidERGO" value="HELATO_ERGO" />
    			<input type="hidden" name="hidPORTALURL" value="http://helisa.essca.asso.fr" />
    			<input type="hidden" name="hidFICHE" value="NON" />
    			<input type="hidden" name="hidPHOTO" value="NON" />
    			<input type="hidden" name="hidPLANNING" value="NON" />
    		</div>
    	</form>
     
    	<script type="text/javascript" src="../js/planning.js"></script>
     
    </body>
     
     
     
    </html>
    et le seul fichier js lié est planning.js je le remet :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
     
    //	FUNCTIONS 
     
    	//	RightClick()
    	//	ButtonOver()
    	//	ButtonOut()
    	//	ButtonInit() 
    	//	ButtonControl()
    	//	SelectWeek() 
    	//	EndLoading()
     
     
     
    	//	DECLARING VARIABLE
    	var NavAgent = new String(navigator.userAgent);
    	var NavType;
     
    	if (NavAgent.search("MSIE") != -1) {
    			NavType = "I.E.";
    			}
    		else if (NavAgent.search("Firefox") != -1) {
    			NavType = "FIREFOX";
    			}
            else if (NavAgent.search("Opera") != -1) {
    			NavType = "OPERA";
    			}
            else {
                NavType = "OTHER";
                }
     
    	var ClientParameter = window.document.getElementById('frmVARIABLE').elements.hidCLIENT.value;
    	var Style = window.document.getElementById('frmVARIABLE').elements.hidSTYLE.value;
    	var Lang = window.document.getElementById('frmVARIABLE').elements.hidLANG.value;		
    	var ButtonColor = window.document.getElementById('frmVARIABLE').elements.hidCOLOR.value;
    	var ButtonColorOver = window.document.getElementById('frmVARIABLE').elements.hidCOLOR_OVER.value;
    	var HelatoErgo = window.document.getElementById('frmVARIABLE').elements.hidERGO.value;
    	var Fiche = window.document.getElementById('frmVARIABLE').elements.hidFICHE.value;
    	var Photo = window.document.getElementById('frmVARIABLE').elements.hidPHOTO.value;
    	var Planning = window.document.getElementById('frmVARIABLE').elements.hidPLANNING.value;
     
    	var PortalUrl = window.document.getElementById('frmVARIABLE').elements.hidPORTALURL.value;
     
    	var Check = false;
     
    	var CheckFiche = false;
    	var CheckPhoto = false;
    	var CheckPlanning = false;
     
    	var picButton = new Image(100,20);
    	var picButtonOver = new Image(100,20);
    	var picButtonSearch = new Image(20,20);
    	var picButtonSearchOver = new Image(20,20);
     
     
     
    	//	LOADING PICTURE
    	picButton.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_back.png";
    	picButtonOver.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_back_over.png";
    	picButtonSearch.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_search.png";
    	picButtonSearchOver.src = PortalUrl + "/" + HelatoErgo + "/image/" + Style + "/diary_button_diary_search_over.png";
     
     
     
    	//	STATUS
    	window.status = "Powered by Helvetius Ingénierie";
     
     
     
    	//	ERROR HANDLER
    	window.onerror = null;
     
     
     
    //	FUNCTIONS
    function RightClick(ArgEvent) {
     
    	//	MICROSOFT INTERNET EXPLORER
      	if (NavType == 'I.E.' && event.button == 2) {
    		alert("HELISA.NET");
    		return;
    	}
     
    	//	FIREFOX NAVIGATOR
    	if (NavType == 'FIREFOX' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OPERA NAVIGATOR
    	if (NavType == 'OPERA' && ArgEvent.which == 3) {
     
    		return;
    	}
     
        //	OTHER NAVIGATOR
    	if (NavType == 'OTHER' && ArgEvent.which == 3) {
     
    		return;
    	}
    }
     
     
     
    function ButtonOver(ArgOver) {
     
    	//	WAITING PICTURE
    	if (Check == false) {
    		return;
    	}
     
    	switch (ArgOver) {
     
    		case "Fiche" :
    			if (Fiche == "OUI") {
    				if (CheckFiche == false) {
    					window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButtonOver.src + "')";
    					window.document.getElementById('txtFICHE').style.color = ButtonColorOver;
    				}
    			}
    			break;
     
    		case "Photo" :
    			if (Photo == "OUI") {
    				if (CheckPhoto == false) {
    					window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButtonOver.src + "')";
    					window.document.getElementById('txtPHOTO').style.color = ButtonColorOver;
    				}
    			}
    			break;
     
    		case "Planning" :
    			if (Planning == "OUI") {
    				if (CheckPlanning == false) {
    					window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    					window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    				}
    			}
    			break;
     
    		case "Search" :
    			window.document.getElementById('imgSEARCH').style.backgroundImage = "url('" + picButtonSearchOver.src + "')";
    			break;
    	}
    }
     
     
     
    function ButtonOut(ArgOut) {
     
    	//	WAITING PICTURE
    	if (Check == false) {
    		return;
    	}
     
    	switch (ArgOut) {
     
    		case "Fiche" :
    			if (Fiche == "OUI") {
    				if (CheckFiche == false) {
    					window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButton.src + "')";
    					window.document.getElementById('txtFICHE').style.color = ButtonColor;
    				}
    			}
    			break;
     
    		case "Photo" :
    			if (Photo == "OUI") {
    				if (CheckPhoto == false) {
    					window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButton.src + "')";
    					window.document.getElementById('txtPHOTO').style.color = ButtonColor;
    				}
    			}
    			break;
     
    		case "Planning" :
    			if (Planning == "OUI") {
    				if (CheckPlanning == false) {
    					window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButton.src + "')";
    					window.document.getElementById('txtPLANNING').style.color = ButtonColor;
    				}
    			}
    			break;
     
    		case "Search" :
    			window.document.getElementById('imgSEARCH').style.backgroundImage = "url('" + picButtonSearch.src + "')";
    			break;
    	}
    }
     
     
     
    function ButtonInit() {
     
    	CheckFiche = false;
    	CheckPhoto = false;
    	CheckPlanning = false;
     
    	if (Fiche == "OUI") {
    		window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButton.src + "')";
    		window.document.getElementById('txtFICHE').style.color = ButtonColor;
    	}
     
    	if (Photo == "OUI") {
    		window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButton.src + "')";
    		window.document.getElementById('txtPHOTO').style.color = ButtonColor;
    	}
     
    	if (Planning == "OUI") {
    		window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButton.src + "')";
    		window.document.getElementById('txtPLANNING').style.color = ButtonColor;
    	}
    }
     
     
     
    function ButtonControl(ArgControl) {
     
    	var SearchMember;
     
    	ButtonInit();
     
    	switch (ArgControl) {
     
    		case "Fiche" :
    			if (Fiche == "OUI") {
    				CheckFiche = true;
    				window.document.getElementById('imgFICHE').style.backgroundImage = "url('" + picButtonOver.src + "')";
    				window.document.getElementById('txtFICHE').style.color = ButtonColorOver;
     
    			}
    			break;
     
    		case "Photo" :
    			if (Photo == "OUI") {
    				CheckPhoto = true;
    				window.document.getElementById('imgPHOTO').style.backgroundImage = "url('" + picButtonOver.src + "')";
    				window.document.getElementById('txtPHOTO').style.color = ButtonColorOver;
    				parent.window.frames.HIDDEN_DATA.document.getElementById('frmGROUP_PHOTO').hidSOURCE.value = "GROUP_PHOTO_BUTTON";
    				parent.window.frames.HIDDEN_DATA.document.getElementById('frmGROUP_PHOTO').submit();
    			}
    			break;
     
    		case "Planning" :
    			if (Planning == "OUI") {
    				CheckPlanning = true;
    				window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    				window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    				parent.window.frames.PLANNING_DATA.location.href = "../phtm/planning.php";
    				parent.window.frames.PLANNINGWEEK_DATA.location.href = "../phtm/planning_week.php";
    				parent.window.frames.PLANNINGCONTROL_DATA.location.href = "../phtm/planning_control.php";
    			}
    			break;
     
    		case "Search" :
    			CheckPlanning = true;
    			window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    			window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    			SearchMember = window.document.getElementById('txtSEARCH').value;
    			parent.window.frames.HIDDEN_DATA.document.getElementById('frmSEARCH').hidSURNAME.value = SearchMember;
    			parent.window.frames.HIDDEN_DATA.document.getElementById('frmSEARCH').submit();
    			break;
    	}
    }
     
     
     
    function SelectWeek() {
     
    	var WeekSel;
     
    	WeekSel = window.document.getElementById('selWEEK').value;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').hidWEEK.value = WeekSel;
    	parent.window.frames.HIDDEN_DATA.document.getElementById('frmWEEK').submit();
    }
     
     
     
    function EndLoading() {
     
    	ButtonInit();
     
    	CheckPlanning = true;
     
    	if (Planning == "OUI") {
    		window.document.getElementById('imgPLANNING').style.backgroundImage = "url('" + picButtonOver.src + "')";
    		window.document.getElementById('txtPLANNING').style.color = ButtonColorOver;
    	}
     
    	if (ClientParameter == "OUI") {
    		window.document.getElementById('imgSEARCH').style.backgroundImage = "url('" + picButtonSearch.src + "')";
    	}
     
    	//	RIGHT CLICKING
    	if (NavType == 'FIREFOX') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OPERA') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
        if (NavType == 'OTHER') {
        	window.document.captureEvents(Event.MOUSEDOWN);
    	}
    	window.document.onmousedown = RightClick;
     
    	Check = true;
    }


    Voila, je suis vraiment bloqué ... si quelqu'un a la solution je lui serais reconnaissant de bien vouloir m'aider
    Merci par avance

  7. #7
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    En farfouillant un peu j'ai trouvé que lorsque je clique sur un select la donnée envoyée est :
    hidWEEK=1361142000 (par exemple) avec 1361142000 la value d'une options du select correspondant a une semaine précise.

    Et j'ai trouvé un lien
    ../hidden_data.html dont le code source est le suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
     
    <html>
    <head>
    	<title>HIDDEN</title>
    	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>
    	<!-- WEEK -->
    	<form id="frmWEEK" action="../php/week_select.php" method="post"><input type="hidden" name="hidWEEK" /></form>
    	<!-- PREVIOUS -->
    	<form id="frmPREVIOUS" action="../php/week_previous.php" method="post"><div></div></form>
    	<!-- NEXT -->
    	<form id="frmNEXT" action="../php/week_next.php" method="post"><div></div></form>
    	<!-- TITLE -->
    	<form id="frmTITLE" action="../php/title.php" method="post"><input type="hidden" name="hidNAME" /><input type="hidden" name="hidINFO" /><input type="hidden" name="hidPLACE" /><input type="hidden" name="hidCOMMENT" /><input type="hidden" name="hidTYPE" /><input type="hidden" name="hidVALUE" /><input type="hidden" name="hidMASTER" /><input type="hidden" name="hidDOUBLE" /><input type="hidden" name="hidDAY" /><input type="hidden" name="hidHDEB" /><input type="hidden" name="hidHFIN" /></form>
    	<!-- SEARCH -->
    	<form id="frmSEARCH" action="../php/search.php" method="post"><input type="hidden" name="hidSURNAME" /></form>
    	<!-- PHOTO -->
    	<form id="frmGROUP_PHOTO" action="../php/group_photo_selected.php" method="post"><input type="hidden" name="hidSOURCE" /></form>
    	<!-- PLANNING -->
    	<form id="frmPLANNING" action="../php/planning_selected.php" method="post"></form>
    	<!-- Ajout pour supervision -->
    	<!-- SUPERVISOR_MEMBER -->
    	<form id="frmSUPERVISOR_MEMBER" action="../../core/core/portal/php/supervisor_supervision_select.php" method="post"><input type="hidden" name="hidTYPE" /></form>
    	<!-- SUPERVISOR_SEARCH -->
    	<form id="frmSUPERVISOR_SEARCH" action="../../core/core/portal/php/supervisor_member_search.php" method="post"><input type="hidden" name="hidSURNAME" /></form>
    	<!-- SUPERVISOR_PRESENTATION -->
    	<form id="frmSUPERVISOR_PRESENTATION" action="../../core/core/portal/php/supervisor_member_select.php" method="post"><input type="hidden" name="hidVALUE" /></form>
    	<!-- SUPERVISOR -->
    	<form id="frmSUPERVISOR" action="../../core/core/portal/php/supervisor_presentation_select.php" method="post"><input type="hidden" name="hidPRESENTATION" /></form>
    	<!-- SUPERVISOR AGENDA -->
    	<form id="frmSUPERVISOR_AGENDA" action="../../core/core/portal/php/supervisor_planning.php" method="post"><input type="hidden" name="hidMEMBER_SUPERVISED" /></form>
    </body>
    </html>
    Je pense que les pages qui m'interessent sont :

    "../php/week_select.php" et "../php/planning_selected.php"

    Pour "../php/week_select.php" le code est :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    <!-- LOADING PLANNINGWEEK_DATA FRAME -->
    <script type="text/javascript">parent.window.frames.PLANNINGWEEK_DATA.location.href = "../phtm/planning_week.php";</script>
     
    <!-- REFRESHING HIDDEN_DATA FRAME -->
    <script type="text/javascript">window.location.href = "../html/hidden_data.html";</script>
    le seul lien interessant : phtm/planning_week.php" je suis déja tombé dessus avant le code est plus haut et je ne sais pas quoi en faire ...

    Pour "../php/planning_selected.php" : le code est :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    <script type='text/javascript'>parent.parent.window.frames.MENU_DATA.frames.MENUPRINT_FRAME.location.href = '../phtm/planning_print.php';</script>
     
     
    <!-- LOADING PLANNING FRAME -->
    <script type="text/javascript">
    if(parent.window.frames.PLANNING_DATA)
    	parent.window.frames.PLANNING_DATA.location.href = "../phtm/planning.php";
    </script>
     
    <!-- REFRESHING PLANNING FRAME -->
    <script type="text/javascript">
    if(window.parent.document.getElementById("PLANNING_DATA"))
    	window.parent.document.getElementById("PLANNING_DATA").style.visibility = "visible";
    </script>
     
    <!-- LOADING PLANNING_WEEK FRAME -->
    <script type="text/javascript">
    if(parent.window.frames.PLANNING_WEEK_DATA)
    	parent.window.frames.PLANNING_WEEK_DATA.location.href = "../phtm/planning_week.php";
    </script>
     
    <!-- REFRESHING PLANNINGWEEK FRAME -->
    <script type="text/javascript">
    if(window.parent.document.getElementById("PLANNINGWEEK_DATA"))
    	window.parent.document.getElementById("PLANNINGWEEK_DATA").style.visibility = "visible";
    </script>
     
    <!-- LOADING PLANNINGCONTROL FRAME -->
    <script type="text/javascript">
    if(parent.window.frames.PLANNING_CONTROL_DATA)
    	parent.window.frames.PLANNING_CONTROL_DATA.location.href = "../phtm/planning_control.php";
    </script>
     
    <!-- REFRESHING PLANNINGCONTROL FRAME -->
    <script type="text/javascript">
    if(window.parent.document.getElementById("PLANNINGCONTROL_DATA"))
    	window.parent.document.getElementById("PLANNINGCONTROL_DATA").style.visibility = "visible";
    </script>
     
    <!-- REFRESHING PHOTO FRAME -->
    <script type="text/javascript">
    if(window.parent.document.getElementById("PHOTO_DATA"))
    	window.parent.document.getElementById("PHOTO_DATA").style.visibility = "hidden";
    </script>
     
    <!-- REFRESHING HIDDEN_DATA FRAME -->
    <script type="text/javascript">window.location.href = "../html/hidden_data.html";</script>
    Pareil les liens que je vois je ne sais pas quoi en faire et le code est plus haut ...

    Voila je suis face à un mur ...

  8. #8
    Membre Expert
    Avatar de Kaamo
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    1 165
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 165
    Par défaut
    Il semble être construit à l'aide de planning.php qui se trouve dans l'iframe PLANNING_DATA.

    ouch, ça c'est du code

    Quels sont les besoins ? Pourquoi vouloir récupérer le code HTML de l'emploi du temps ? Une capture d'écran ne suffit pas ?

    Sinon utiliser les outils de développement du navigateur et inspecter la page, ça va beaucoup plus vite et ça te mettra la code HTML en surbrillance

  9. #9
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    bah en fait une capture d'écran non, l'emploi du temps change souvent. Je voulais faire un petit programme qui pourrait recuperer le code html de l'emploi du temps de toutes les semaines et l'exporter en gros.

    Comment je peux faire avec les outils de dev je sais pas trop m'en servir et j'arrive pas a voir comment c'est généré.

    Pas moyen de chopper le html par exemple en faisant planning.php?IdDeLaSemaine ... ?

  10. #10
    Membre Expert
    Avatar de Kaamo
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    1 165
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 165
    Par défaut
    Sous Chrome ou Firefox : Ctrl + Shift + i
    Ensuite il suffit de cliquer sur la zone que l'on veut examiner et ça t'affichera le code HTML correspondant.

    Tu as regardé ce qu'il y a dans planning.php ?

    Comme le mentionnes, tout semble marcher par envoie de formulaire (POST) dans les iframes. Donc, non, je ne pense pas que passer les variables en paramètres d'url (GET) fonctionne.

  11. #11
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    Ok je vois ce que tu veux dire, donc il n'y as aucune solution pour récuperer l'emploi du temps par un petit programme ? :/

  12. #12
    Membre Expert
    Avatar de Kaamo
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    1 165
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 165
    Par défaut
    A moins que ... qu y a t il dans planning.php ? Tu n'as pas posté ce code.
    Que donne le code source à l'aide de la fonction développeur "Examiner" ?

  13. #13
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2012
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2012
    Messages : 23
    Par défaut
    Voila planning.php

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
     
     
    <html>
     
     
     
     
     
     
    <head>
     
    	<title>PLANNING</title>
     
    	<link rel="stylesheet" type="text/css" href="http://helisa.essca.asso.fr/HELATO_ERGO/css/model_1/diary_index.css" />
     
    	<meta http-equiv="Content-Type" content="text/html; charset=iso8859-15" />
     
    </head>
     
     
     
    <body class="BACK" onload="javascript:EndLoading();">
     
    	<div style="position: absolute; margin-left: 0px; margin-top: 0px">
     
    		<form id="frmPLANNING">
     
    			<table style="margin-top: 0px; border-style: none; border-collapse: collapse;">
     
    				<tr>
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 1061px; height: 3px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 1061px; height: 3px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td class="PLANNING_BORDER_LEFT" style="vertical-align: middle; width: 100px; height: 3px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 100px; height: 3px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 5px; height: 3px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 5px; height: 3px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td class="PLANNING_BORDER_LEFT" style="vertical-align: middle; width: 100px; height: 3px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 100px; height: 3px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 5px; height: 3px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 5px; height: 3px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td class="PLANNING_BORDER_LEFT" style="vertical-align: middle; width: 100px; height: 3px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 100px; height: 3px" src="../image/spacer.gif" /></td>
    				</tr>
     
    				<tr>
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 1061px; height: 20px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 1061px; height: 20px" src="../image/spacer.gif" /></td>
     
     
    					<td class='PLANNING_BUTTON' id='imgFICHE' style='background-image: url("../image/spacer.gif"); vertical-align: middle; width: 100px; height: 20px' colspan='1' rowspan='1' align='center'>
    						<a href='JavaScript:ButtonControl("Fiche");' id='txtFICHE' class='PLANNING' title='' onmouseover='ButtonOver("Fiche"); window.status = "Powered by Helvetius Ingénierie"; return true;' onmouseout='ButtonOut("Fiche"); window.status = "Powered by Helvetius Ingénierie"; return true;'>
     
    						</a>
    					</td>
     
    					<!-- SPACER -->
    					<td class="PLANNING_BORDER_BOTTOM" style="vertical-align: middle; width: 5px; height: 20px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 5px; height: 20px" src="../image/spacer.gif" /></td>
     
     
    					<td class='PLANNING_BUTTON' id='imgPHOTO' style='background-image: url("../image/spacer.gif"); vertical-align: middle; width: 100px; height: 20px' colspan='1' rowspan='1' align='center'>
    						<a href='JavaScript:ButtonControl("Photo");' id='txtPHOTO' class='PLANNING' title='' onmouseover='ButtonOver("Photo"); window.status = "Powered by Helvetius Ingénierie"; return true;' onmouseout='ButtonOut("Photo"); window.status = "Powered by Helvetius Ingénierie"; return true;'>
     
    						</a>
    					</td>
     
    					<!-- SPACER -->
    					<td class="PLANNING_BORDER_BOTTOM" style="vertical-align: middle; width: 5px; height: 20px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 5px; height: 20px" src="../image/spacer.gif" /></td>
     
     
    					<td class='PLANNING_BUTTON' id='imgPLANNING' style='background-image: url("../image/spacer.gif"); vertical-align: middle; width: 100px; height: 20px' colspan='1' rowspan='1' align='center'>
    						<a href='JavaScript:ButtonControl("Planning");' id='txtPLANNING' class='PLANNING' title='' onmouseover='ButtonOver("Planning"); window.status = "Powered by Helvetius Ingénierie"; return true;' onmouseout='ButtonOut("Planning"); window.status = "Powered by Helvetius Ingénierie"; return true;'>
     
    						</a>
    					</td>
     
    				</tr>
     
    			</table>
     
    			<table style="border-style: none; border-collapse: collapse;">
     
    				<tr>
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 8px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 8px; height: 1px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 200px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 200px; height: 1px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 200px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 200px; height: 1px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 100px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 100px; height: 1px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 100px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 100px; height: 1px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 172px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 172px; height: 1px" src="../image/spacer.gif" /></td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 591px; height: 1px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 591px; height: 1px" src="../image/spacer.gif" /></td>
    				</tr>
     
    				<tr>
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 8px; height: 30px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 8px; height: 30px" src="http://helisa.essca.asso.fr/HELATO_ERGO/image/diary_mark.gif" /></td>
     
    					<!-- TITLE -->
    					<td class="PLANNING_TITLE" style="vertical-align: middle; width: 500px; height: 30px" colspan="3" rowspan="1" align="left">
    						PLANNING
    </td>
     
    					<!-- SEARCH TITLE -->
    					<td class="PLANNING" style="vertical-align: bottom; width: 272px; height: 30px" colspan="2" rowspan="1" align="left">
    						</td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 591px; height: 30px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 591px; height: 30px" src="../image/spacer.gif" /></td>
     
    				</tr>
     
    				<tr>
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 8px; height: 20px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 8px; height: 20px" src="../image/spacer.gif" /></td>
     
    					<!-- WEEK LABEL -->
    					<td class="PLANNING" style="vertical-align: middle; width: 200px; height: 20px" colspan="1" rowspan="1" align="left">
    						Choisissez une période à partir du
    </td>
     
    					<!-- WEEK CHOICE -->
    					<td style="vertical-align: middle; width: 200px; height: 20px" colspan="1" rowspan="1" align="left">
    						<select class="PLANNING" id="selWEEK" name="selWEEK" onchange="SelectWeek(); window.status = 'Powered by Helvetius Ingénierie'; return true;">
    							<option>   Faîtes votre sélection</option><option value='1349702507'>   Lundi
     08/10/2012   (semaine
     41)   </option><option value='1350252000'>   Lundi
     15/10/2012   (semaine
     42)   </option><option value='1350856800'>   Lundi
     22/10/2012   (semaine
     43)   </option><option value='1351465200'>   Lundi
     29/10/2012   (semaine
     44)   </option><option value='1352070000'>   Lundi
     05/11/2012   (semaine
     45)   </option><option value='1352674800'>   Lundi
     12/11/2012   (semaine
     46)   </option><option value='1353279600'>   Lundi
     19/11/2012   (semaine
     47)   </option><option value='1353884400'>   Lundi
     26/11/2012   (semaine
     48)   </option><option value='1354489200'>   Lundi
     03/12/2012   (semaine
     49)   </option><option value='1355094000'>   Lundi
     10/12/2012   (semaine
     50)   </option><option value='1355698800'>   Lundi
     17/12/2012   (semaine
     51)   </option><option value='1356303600'>   Lundi
     24/12/2012   (semaine
     52)   </option><option value='1356908400'>   Lundi
     31/12/2012   (semaine
     01)   </option><option value='1357513200'>   Lundi
     07/01/2013   (semaine
     02)   </option><option value='1358118000'>   Lundi
     14/01/2013   (semaine
     03)   </option><option value='1358722800'>   Lundi
     21/01/2013   (semaine
     04)   </option><option value='1359327600'>   Lundi
     28/01/2013   (semaine
     05)   </option><option value='1359932400'>   Lundi
     04/02/2013   (semaine
     06)   </option><option value='1360537200'>   Lundi
     11/02/2013   (semaine
     07)   </option><option value='1361142000'>   Lundi
     18/02/2013   (semaine
     08)   </option><option value='1361746800'>   Lundi
     25/02/2013   (semaine
     09)   </option><option value='1362351600'>   Lundi
     04/03/2013   (semaine
     10)   </option><option value='1362956400'>   Lundi
     11/03/2013   (semaine
     11)   </option><option value='1363561200'>   Lundi
     18/03/2013   (semaine
     12)   </option><option value='1364166000'>   Lundi
     25/03/2013   (semaine
     13)   </option><option value='1364767200'>   Lundi
     01/04/2013   (semaine
     14)   </option><option value='1365372000'>   Lundi
     08/04/2013   (semaine
     15)   </option><option value='1365976800'>   Lundi
     15/04/2013   (semaine
     16)   </option><option value='1366581600'>   Lundi
     22/04/2013   (semaine
     17)   </option><option value='1367186400'>   Lundi
     29/04/2013   (semaine
     18)   </option><option value='1367791200'>   Lundi
     06/05/2013   (semaine
     19)   </option><option value='1368396000'>   Lundi
     13/05/2013   (semaine
     20)   </option><option value='1369000800'>   Lundi
     20/05/2013   (semaine
     21)   </option><option value='1369605600'>   Lundi
     27/05/2013   (semaine
     22)   </option><option value='1370210400'>   Lundi
     03/06/2013   (semaine
     23)   </option><option value='1370815200'>   Lundi
     10/06/2013   (semaine
     24)   </option><option value='1371420000'>   Lundi
     17/06/2013   (semaine
     25)   </option><option value='1372024800'>   Lundi
     24/06/2013   (semaine
     26)   </option><option value='1372629600'>   Lundi
     01/07/2013   (semaine
     27)   </option><option value='1373234400'>   Lundi
     08/07/2013   (semaine
     28)   </option><option value='1373839200'>   Lundi
     15/07/2013   (semaine
     29)   </option><option value='1374444000'>   Lundi
     22/07/2013   (semaine
     30)   </option><option value='1375048800'>   Lundi
     29/07/2013   (semaine
     31)   </option><option value='1375653600'>   Lundi
     05/08/2013   (semaine
     32)   </option><option value='1376258400'>   Lundi
     12/08/2013   (semaine
     33)   </option><option value='1376863200'>   Lundi
     19/08/2013   (semaine
     34)   </option><option value='1377468000'>   Lundi
     26/08/2013   (semaine
     35)   </option><option value='1378072800'>   Lundi
     02/09/2013   (semaine
     36)   </option><option value='1378677600'>   Lundi
     09/09/2013   (semaine
     37)   </option><option value='1379282400'>   Lundi
     16/09/2013   (semaine
     38)   </option><option value='1379887200'>   Lundi
     23/09/2013   (semaine
     39)   </option><option value='1380492000'>   Lundi
     30/09/2013   (semaine
     40)   </option>						</select>
    					</td>
     
    					<!-- SPACER -->
    					<td style="vertical-align: middle; width: 100px; height: 20px" colspan="1" rowspan="1" align="center">
    						<img alt="" style="border: none; width: 100px; height: 20px" src="../image/spacer.gif" /></td>
     
    					<!-- SEARCH LABEL -->
    					<td class="PLANNING_BOLD" style="vertical-align: middle; width: 200px; height: 20px" colspan="1" rowspan="1" align="left">
    						</td>
     
    					<!-- SEARCH INPUT -->
    					<td style='vertical-align: middle; width: 172px; height: 20px' colspan='1' rowspan='1' align='left'></td>
     
    					<!-- SEARCH BUTTON -->
    					<td class="PLANNING_BUTTON_NO_BORDER" id="imgSEARCH" style="background-image: url('../image/spacer.gif'); vertical-align: middle; width: 591px; height: 20px" colspan="1" rowspan="1" align="left">
     
    					</td>
    				</tr>
    											</table>
     
    		</form>
     
    	</div>
     
    	<form id="frmVARIABLE">
    		<div>
    			<!-- HIDDEN INPUT -->
    			<input type="hidden" name="hidCLIENT" value="NON" />
    			<input type="hidden" name="hidSTYLE" value="model_1" />
    			<input type="hidden" name="hidLANG" value="french" />
    			<input type="hidden" name="hidCOLOR" value="#777777" />
    			<input type="hidden" name="hidCOLOR_OVER" value="#000000" />
    			<input type="hidden" name="hidERGO" value="HELATO_ERGO" />
    			<input type="hidden" name="hidPORTALURL" value="http://helisa.essca.asso.fr" />
    			<input type="hidden" name="hidFICHE" value="NON" />
    			<input type="hidden" name="hidPHOTO" value="NON" />
    			<input type="hidden" name="hidPLANNING" value="NON" />
    		</div>
    	</form>
     
    	<script type="text/javascript" src="../js/planning.js"></script>
     
    </body>
     
     
     
    </html>
    J'arrive bien a voir avec l'outil developpeur, que la valeur du select pars "dans" le fichier quand on clique sur une semaine mais apres le fichier js je comprends pas ce qu'il fait et je vois pas comment récuperer l'emploi du temps :/

Discussions similaires

  1. Conception d'emploi du temps dans un etablissement scolaire
    Par sessime dans le forum Bases de données
    Réponses: 3
    Dernier message: 26/02/2010, 13h18
  2. emploi du temps
    Par franfr57 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 12/04/2006, 18h25
  3. Génération d'un emploi du temps
    Par cocorinneco dans le forum Access
    Réponses: 1
    Dernier message: 08/03/2006, 17h58
  4. creer un emploi du temps hebdomadaire
    Par tibiurs dans le forum Access
    Réponses: 6
    Dernier message: 21/12/2005, 18h53
  5. Quelle base de données pour un emploi du temps
    Par edouard21 dans le forum Décisions SGBD
    Réponses: 3
    Dernier message: 26/10/2005, 22h48

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo