Blame view

Zozo/sc3/options.html~ 1.62 KB
aa84636b   aunterei   first commit
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
  #include <stdio.h>
  #include <stdlib.h>
  #include <libwebsockets.h>
  
  static int callback_http(structlibwebsocket_context * this,
                           structlibwebsocket *wsi,
                           enumlibwebsocket_callback_reasons reason, void *user,
                           void *in, size_t len)
  {
      return 0;
  }
  
  <header>
      <!-- pour associer � la feuille de style -->
      <link rel="stylesheet" type="text/css" href="style.css">
      <title>PROJET SC
      </title>
  </header>
  
  <body>
      <!-- choix des onglets -->
      <div id="menu">
          <ul id="onglets">
              <li><a href="index.html"> PROJET </a></li>
              <li class="active"><a href="options.html"> OPTIONS </a></li>
          </ul>
      </div>
  
      <!-- contenu de la page -->
       </br>
       </br>
       </br>
       
       <div class="titre">CHOIX DES OPTIONS</div>
       <div class="contenu">
       
        
       <FORM name="form">
          Lieu :
              <select name="lieu">
                  <option SELECTED>-- Selectionnez un lieu --</option>
              </select>
      
      <SCRIPT LANGUAGE="JavaScript">
  
       var bruxelles=new Array("Bruxelles",50.850,4.350,0,0);
       var pekin=new Array("Pekin",39.917,116.433,0,6);
       var split=new Array("Split",43.517,16.467,0,0);
       var lille=new Array("Lille", 50.633, 3.066, 0, 0);
     
       var lieux=new Array(bruxelles,pekin,split,lille);
  
      var d=document.form.lieu;
      for(var i=0; i < lieux.length ; i++)
      {  d.length++;
         d.options[d.length-1].text = lieux[i][0];
      }
      
      </SCRIPT> 
      </br>
      </br>
      <input type="submit" value="OK"/>
  
      </form>
      </div>
  
      
  </body>
  
  <footer>
  </footer>
  
  <html/>