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

APIs Google Discussion :

Map en arrière plan d'un ModalPopupExtender1


Sujet :

APIs Google

  1. #1
    Membre éprouvé
    Inscrit en
    Août 2008
    Messages
    1 596
    Détails du profil
    Informations forums :
    Inscription : Août 2008
    Messages : 1 596
    Par défaut Map en arrière plan d'un ModalPopupExtender1
    Bonjour, j'utilise google map avec une ModalPopupExtender1 :
    Code html : 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
    <div id="container" class="container">
        <div id="gmap_canvas"></div>
        <form id = "searchStation" method="post" runat ="server"> 
     
            <asp:ModalPopupExtender  id="ModalPopupExtender1" runat="server" 
    	        cancelcontrolid="cancel" 
    	        targetcontrolid="Button1" popupcontrolid="Panel1" 
    	        popupdraghandlecontrolid="Panel1" drag="true" 
    	        backgroundcssclass="ModalPopupBG">
            </asp:ModalPopupExtender>
     
           <asp:panel id="Panel1" style="display: none" runat="server">	
                    Mon formulaire
           </asp:panel>
        </form>
       </div>

    A travers ce programme, j'ai réussi à afficher mon map, quand je clique avec le bouton droit de la souris j'affiche un panel contenant un formulaire pour l'ajout d'un point dans ma base des données.

    Mon probleme est que mon panel m''empeche de faire glisser mon map, je ne peux le fais que si j'annule mon panel, vous avez une idée ?

  2. #2
    Modérateur

    Avatar de NoSmoking
    Homme Profil pro
    Inscrit en
    Janvier 2011
    Messages
    17 212
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2011
    Messages : 17 212
    Par défaut
    Bonjour,
    Mon probleme est que mon panel m''empeche de faire glisser mon map,
    Cela signifie que ton "panel" est au dessus de ta carte et que les événements mouse ne parviennent pas à celle ci.

  3. #3
    Membre éprouvé
    Inscrit en
    Août 2008
    Messages
    1 596
    Détails du profil
    Informations forums :
    Inscription : Août 2008
    Messages : 1 596
    Par défaut
    ET COMMENT puis je resoudre ca svp ?

    le gabarit de mon programme est affiché en haut

  4. #4
    Modérateur

    Avatar de NoSmoking
    Homme Profil pro
    Inscrit en
    Janvier 2011
    Messages
    17 212
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2011
    Messages : 17 212
    Par défaut
    ET COMMENT puis je resoudre ca svp ?
    ...en t'arrangeant pour que le formulaire et son conteneur ne recouvre pas la carte

  5. #5
    Membre éprouvé
    Inscrit en
    Août 2008
    Messages
    1 596
    Détails du profil
    Informations forums :
    Inscription : Août 2008
    Messages : 1 596
    Par défaut
    oh, j'ai cru que la solution est facile quand j'ai lu ta réponse mais c'est pas du tout evident, quand je fais sortir ma carte du formulaire et du conteneur, l'updatepanel1 n'est plus au dessus de la carte comme avant, il est décalé, et l'updatepanel2 ne s'affiche plus

    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
    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
     
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <html xmlns="http://www.w3.org/1999/xhtml">
     
     <head runat="server">
              <script type="text/javascript" src="https://www.google.com/jsapi"></script>
              <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>
              <script type ="text/javascript" src="Scripts/script.js"></script>
              <title>Stations de Services</title>
            <link href="Styles/main.css" rel="stylesheet" type="text/css" />
        </head>
     
    <body onload="initialize()" onunload="GUnload()">
            <header>
                <h3 style="text-align:center">Localisation des stations de services - ville -</h3>
            </header>
     
            <div id="container" class="container">
                 <div>
                 <form id = "searchStation" method="post" runat ="server"> 
                 <div class="actions">
                 <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
     
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
        <ContentTemplate> 
                    <div class="panel">
                        <label for="gmap_where">Station de service :</label>
                        <asp:DropDownList ID="ddlAdr" runat="server" AutoPostBack="true" 
                            onselectedindexchanged="ddlAdr_SelectedIndexChanged"></asp:DropDownList>
                    </div>
                     <asp:HiddenField ID="hidTest" runat="server" />
                     <div class="panel">
                    <asp:Button ID="btnLocaliser" Text = "Localiser" runat="server" 
                         CssClass ="button" onclick="btnLocaliser_Click"/> 
                    <asp:Button ID="btnClear" Text = "Clear all" runat="server" 
                         CssClass ="button"/> 
                     <asp:Button ID="BtnStations" Text = "All Stations" runat="server" 
                         CssClass ="button"/> 
                <asp:Button id="btnImg" cssclass="button" Text="To Image" runat="server" 
                         onclick="btnImg_Click" />  </div>
     
        </ContentTemplate>
    </asp:UpdatePanel>
                    <input type="hidden" id="lat" name="lat" value="34.2500000" />
                    <input type="hidden" id="lng" name="lng" value="-6.5833330" />
                 </div>   
                 <div>
                 <asp:UpdatePanel ID="UpdatePane2" runat="server"> 
                 <ContentTemplate> 
     
                <asp:HiddenField id="Button1" runat="server" />
                <asp:ModalPopupExtender  id="ModalPopupExtender1" runat="server" 
    	            cancelcontrolid="cancel"  DropShadow="true"
    	            targetcontrolid="Button1" popupcontrolid="Panel1" 
    	            popupdraghandlecontrolid="Panel1" drag="true" 
    	            backgroundcssclass="ModalPopupBG">
                </asp:ModalPopupExtender>
     
                <asp:panel id="Panel1" style="display: none" runat="server">
    	            <div class="HellowWorldPopup"><br />
                    <div class="PopupHeader" id="PopupHeader" style="text-align:center"><b>Saisissez les champs d'une station :</b></div>
     
                    <div id="quote">
    	                <div class="quote">
    		  <p><label>Nom : </label></p>
              <p><asp:TextBox ID="nmStation" MaxLength="50" runat="server" CssClass="input"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" ForeColor="Yellow" id="req1" controltovalidate="nmStation" errormessage="Obligatoire" /></p>
     
    		  <p><label>Emplacement :</label></p>
    		  <p><asp:TextBox ID="emplacement" MaxLength="50" runat="server" CssClass="input"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" id="Req4" ForeColor="Yellow"  controltovalidate="emplacement" errormessage="Obligatoire" /></p>
     
              <p><label>Propriétaire : </label></p>
    		  <p><asp:TextBox ID="prop" MaxLength="50" runat="server" CssClass="input"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" id="Req5" ForeColor="Yellow"  controltovalidate="prop" errormessage="Obligatoire" /></p>
     
              <p><label>Type Propriétaire :</label></p>
    		  <p><asp:DropDownList ID="tpProp" CssClass="input" runat="server">
                  <asp:ListItem Text="Société" Value="Société" Selected="True" />
                  <asp:ListItem Text="Particulier" Value="Particulier" />
              </asp:DropDownList></p>   
     
              <p><label>Statut :</label></p>
    		  <p><asp:DropDownList ID="statut" CssClass="input" runat="server">
                  <asp:ListItem Text="Régularisé" Value="Régularisé" Selected="True" />
                  <asp:ListItem Text="Non régularisé" Value="Non Régularisé" />
              </asp:DropDownList></p>
     
    		  <p><label>Latitude : </label></p>
    		  <p><asp:TextBox ID="latitude" MaxLength="50" runat="server" CssClass="input"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" id="Req2" ForeColor="Yellow"  controltovalidate="latitude" errormessage="Obligatoire" /></p>
     
    		  <p><label>Longitude :</label></p>
    		  <p><asp:TextBox ID="longitude" MaxLength="50" runat="server" CssClass="input"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" id="Req3" ForeColor="Yellow"  controltovalidate="longitude" errormessage="Obligatoire" /></p>
     
              <p><label>Adresse : </label></p>
    		  <p><asp:TextBox ID="adresse" MaxLength="200" Rows = "10" Columns="10" Height="60px"  TextMode="MultiLine" runat="server" CssClass="input"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" id="Req6" ForeColor="Yellow"  controltovalidate="adresse" errormessage="Obligatoire" /></p>
     
              <p><label>X Origine : </label></p>
    		  <p><asp:TextBox ID="LatOrg" MaxLength="50" runat="server" CssClass="input"></asp:TextBox> </p>
     
              <p><label>Y Origine : </label></p>
              <p><asp:TextBox ID="LongOrg" MaxLength="50" runat="server" CssClass="input"></asp:TextBox></p>
     
              <p><label>Origine :</label></p>
    		  <p><asp:TextBox ID="txtorigine" MaxLength="200" Rows = "10" Columns="10" Height="50px"  TextMode="MultiLine" runat="server" CssClass="input"></asp:TextBox>
     
              <p></p>
              <p><span id="total" style="color:Yellow"></span></p>
              <br />
    		</div>
                    </div>
      <br />
                    <div style="text-align:center"><p>
                        <asp:Button ID="go" Text = "Enregistrer" runat="server" 
                         CssClass ="submit" onclick="go_Click"/>
                        <asp:Button ID="cancel" Text = "Annuler" runat="server" 
                         CssClass ="submit"/> </p>
                   </div>
     
    </div>    
                </asp:panel>
     
            </ContentTemplate> 
            </asp:UpdatePanel>
             </div>
                </form>
                 </div>
                 <div id="gmap_canvas"></div>
                 <div>
                      <h2>L'image static</h2>
                      <div class="cadre_carte">
                      <div id="default">Image non disponible!</div>
                      <img id="image" src="?" title=" clic droit de la souris
     pour enregistrer l'image sous... " alt="" />
                </div></div>
            </div>
     
    </body>
    </html>
    css :

    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
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    *{
        margin:0;
        padding:0;
    }
    body {
        background-color:#EEEEEE;
        color:#fff;
        font:14px/1.3 Arial,sans-serif;
    }
    header {
        background-color:Blue;
        display:block;
        height:35px;
        position:relative;
        width:100%;
        z-index:100;
        font-size:22px;
        font-weight:normal;
    }
    header h2{
        font-size:22px;
        font-weight:normal;
        left:50%;
        margin-left:-400px;
        padding:22px 0;
        position:absolute;
        width:540px;
    }
    header a.stuts,a.stuts:visited {
        border:none;
        text-decoration:none;
        color:#fcfcfc;
        font-size:14px;
        left:50%;
        line-height:31px;
        margin:23px 0 0 110px;
        position:absolute;
        top:0;
    }
    header .stuts span {
        font-size:22px;
        font-weight:bold;
        margin-left:5px;
    }
     
    /* main styles */
    .container {
        height: 700px;
        margin: 20px auto;
        position: relative;
        width: 98%;
    }
    #gmap_canvas {
        height: 700px;
        position: relative;
        width: 98%;
    }
    .info {
     line-height: normal ! important;
    }
     
    .actions {
        background-color: #FFFFFF;
        bottom: 30px;
        padding: 10px;
        position: absolute;
        right: 30px;
        z-index: 2;
     
        border-top: 1px solid #abbbcc;
        border-left: 1px solid #a7b6c7;
        border-bottom: 1px solid #a1afbf;
        border-right: 1px solid #a7b6c7;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
    }
    .actions label {
        display: block;
        margin: 2px 0 5px 10px;
        text-align: left;
    }
    .actions input, .actions select {
        width: 95%;
    }
     
     
    .button {
        background-color: #d7e5f5;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7e5f5), color-stop(100%, #cbe0f5));
        background-image: -webkit-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: -moz-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: -ms-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: -o-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: linear-gradient(top, #d7e5f5, #cbe0f5);
        border-top: 1px solid #abbbcc;
        border-left: 1px solid #a7b6c7;
        border-bottom: 1px solid #a1afbf;
        border-right: 1px solid #a7b6c7;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        -webkit-box-shadow: inset 0 1px 0 0 white;
        -moz-box-shadow: inset 0 1px 0 0 white;
        color: #1a3e66;
        font: normal 11px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
        line-height: 1;
        margin-bottom: 5px;
        padding: 6px 0 7px 0;
        text-align: center;
        width: 150px;
    }
     
    .button:hover {
        background-color: orange;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, orange), color-stop(100%, #c1d4e8));
        background-image: -webkit-linear-gradient(top, orange, orange);
        background-image: -moz-linear-gradient(top, orange, orange);
        background-image: -ms-linear-gradient(top, orange, orange);
        background-image: -o-linear-gradient(top, orange, orange);
        background-image: linear-gradient(top, orange, orange);
        border-top: 1px solid #a1afbf;
        border-left: 1px solid #9caaba;
        border-bottom: 1px solid #96a3b3;
        border-right: 1px solid #9caaba;
        -webkit-box-shadow: inset 0 1px 0 0 #f2f2f2;
        -moz-box-shadow: inset 0 1px 0 0 #f2f2f2;
        color: #163659;
        cursor: pointer;
    }
    .button:active {
        border: 1px solid #8c98a7;
        -webkit-box-shadow: inset 0 0 4px 2px #abbccf, 0 0 1px 0 #eeeeee;
        -moz-box-shadow: inset 0 0 4px 2px #abbccf, 0 0 1px 0 #eeeeee;
    }
     
    .panel {
        background-color: White;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d7e5f5), color-stop(100%, #cbe0f5));
        background-image: -webkit-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: -moz-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: -ms-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: -o-linear-gradient(top, #d7e5f5, #cbe0f5);
        background-image: linear-gradient(top, #d7e5f5, #cbe0f5);
        border-top: 1px solid #abbbcc;
        border-left: 1px solid #a7b6c7;
        border-bottom: 1px solid #a1afbf;
        border-right: 1px solid #a7b6c7;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        -webkit-box-shadow: inset 0 1px 0 0 white;
        -moz-box-shadow: inset 0 1px 0 0 white;
        color: #1a3e66;
        margin-bottom: 5px;
        padding: 6px 0 7px 0;
        text-align: center;
        width: 150px;
    }
     
     
    #rate{
    width:400px;
    height: 550px;
    margin:0 auto;
    padding:0;
    -webkit-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -o-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -khtml-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    -o-border-radius:5px;
    -khtml-border-radius:5px;
    background: #a3907c;
    background-image:-webkit-gradient(linear, left top, left bottom, from(#a3907c), to(#45322c));
    background-image:-moz-linear-gradient(top center, #a3907c, #45322c);
    background-image:-o-linear-gradient(top, #a3907c, #45322c); /*uniquement en mode linear*/
    }
     
    #quote{
    width:450px;
    height:500px;
    margin:8px 10px 0 0;
    padding:0;
    background:transparent
    }
     
    .formulaire{
    width:300px;
    height:605px;
    }
     
    .float-left{
    width:350px;
    float:left
    }
     
    .float-right{
    width:350px;
    float:right
    }
     
    .quote{
    color:#fff;
    width:400px;
    height:350px;
    position:absolute;
    margin:0 20px;
    padding:0 15px
    }
     
    label, input, select{
    font-size:.85em;
    margin:4px 0
    }
     
    select.lebel_list_ragistration_slect{
    width:160px
    }
     
    #matricule, #nom, #prenom, #birthday, #adresse, #departement, #fonction, #femme, #homme, #email, #contact{
    padding-left:3px;
    -moz-box-shadow: inset 5px 5px 10px 0px #cebca5;
    -webkit-box-shadow: inset 5px 5px 10px 0px #cebca5;
    -o-box-shadow: inset 5px 5px 10px 0px #cebca5;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
        height: 43px;
    }
     
    #femme, #homme{
    margin-left:5px;
    }
     
    .homme{
    margin-left:20px
    }
     
    .quote h3{
    font-weight:normal;
    margin:0;
    padding:10px 0;
    display: block;
    line-height:20px;
    }
     
    .quote p{
    display: block;
    margin:10px 0;
    text-align:left
    }
     
    label{
    float:left;
    display:block;
    width:120px;
    font-size:.9em
    }
     
    .submit{
    text-align:center;
    width:330px;
    height:50px;
    margin:0 auto;
    padding:0;
    clear:both
    }
     
    .submit:hover{
        background-color: orange;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, orange), color-stop(100%, orange));
        background-image: -webkit-linear-gradient(top, orange, orange);
        background-image: -moz-linear-gradient(top, orange, orange);
        background-image: -ms-linear-gradient(top, orange, orange);
        background-image: -o-linear-gradient(top, orange, orange);
        background-image: linear-gradient(top, orange, orange);
        border-top: 1px solid orange;
        border-left: 1px solid orange;
        border-bottom: 1px solid orange;
        border-right: 1px solid orange;
        -webkit-box-shadow: inset 0 1px 0 0 orange;
        -moz-box-shadow: inset 0 1px 0 0 orange;
        color: orange;
        cursor: pointer;
    }
    .submit:active {
        border: 1px solid orange;
        -webkit-box-shadow: inset 0 0 4px 2px orange, 0 0 1px 0 orange;
        -moz-box-shadow: inset 0 0 4px 2px orange, 0 0 1px 0 orange;
    }
     
    .input{
    width:180px;
    }
     
    input#go, input#cancel{
    color:#fff;
    width:150px;
    height:30px;
    border:none;
    cursor:pointer;
    margin:0;
    padding:0;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C */
    }
     
    .clear{
    width:670px;
    display:block;
    height:5px;
    clear:both
    }
     
    .ModalPopupBG
    {
        background-color: transparent;
    }
     
    .HellowWorldPopup
    {
        width:450px;
        height: 600px;
        margin:0 auto;
        padding:0;
        position: absolute;
        z-index: 0;
        -webkit-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
        -moz-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
        -o-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
        -khtml-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
        -webkit-border-radius:5px;
        -moz-border-radius:5px;
        -o-border-radius:5px;
        -khtml-border-radius:5px;
        background: #a3907c;
        background-image:-webkit-gradient(linear, left top, left bottom, from(#a3907c), to(#45322c));
        background-image:-moz-linear-gradient(top center, #a3907c, #45322c);
        background-image:-o-linear-gradient(top, #a3907c, #45322c); /*uniquement en mode linear*/
     
    }
    PopupHeader{
    font-weight:bolder;
    margin:0;
    padding:20px 0;
    display: block;
    line-height:20px;
    text-align:center;
    }
     
    #image{
      position:relative;
      width:100%;
      height:100%;
      z-index:10;
      display:none;
    }
    .cadre_carte{
      position:relative;
      width:98%;
      height:700px;
    }
    #default{
      position:absolute;
      z-index:0;
      text-align:center;
      left:0;
      top:3em;
      right:0;
      font-size:2.5em;
      color:red; 
    }  /*#DDF

Discussions similaires

  1. Balise map et arrière-plan
    Par L4rch dans le forum Balisage (X)HTML et validation W3C
    Réponses: 0
    Dernier message: 17/12/2012, 18h14
  2. Réponses: 0
    Dernier message: 19/06/2011, 00h33
  3. petit problème premier plan, arrière plan
    Par gros bob dans le forum OpenGL
    Réponses: 4
    Dernier message: 19/04/2004, 12h00
  4. comment stoper 1 thread d'arrière-plan
    Par ms91fr dans le forum Langage
    Réponses: 3
    Dernier message: 06/06/2003, 17h46
  5. changer l'image d'arrière plan du bureau
    Par etenclin dans le forum MFC
    Réponses: 7
    Dernier message: 22/08/2002, 15h54

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