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

HTML Discussion :

tableau et presentation (colonnes á intervertir)


Sujet :

HTML

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    HiT
    HiT est déconnecté
    Membre confirmé
    Inscrit en
    Juillet 2004
    Messages
    74
    Détails du profil
    Informations forums :
    Inscription : Juillet 2004
    Messages : 74
    Par défaut tableau et presentation (colonnes á intervertir)
    voila mon code
    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
     
    <HTML>
    <HEAD>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
     
     
    <style>
    H1{font: bold 8pt "Arial", "Times New Roman"; color:white;height=0}
    H2{font: normal 7pt "Arial", "Times New Roman"; color:white; line-height:1.5; margin:13;height=0}
    H3{font: italic normal 7pt "Arial", "Times New Roman"; color:white; text-indent: 13}
    H4{font: normal 6pt "Arial", "Times New Roman"; color:white; line-height:1;}
    H5{font: normal 8pt "Arial", "Times New Roman"; color:white;height=0}
    P{font:10pt/15pt"Myriad Roman","Verdana"}
    P.1{font: bold 8pt "Arial", "Times New Roman"; color:white;height=0}
    A:link{color:white;text-decoration:none}
    A:visited{color:white;text-decoration:none}
    A:hover{color:cyan; text-decoration:none}
    </style>
     
    <Script>
    var frameopen = "Y"
    function selectBtnDown(){
     document.select.src="menu2.gif";
    }
     
    function selectBtnUp(){
     document.select.src="menu1.gif";
    }
    function NewSearchWin() {
     if (frameopen == "Y"){
     frameopen = "N";
     parent.document.body.cols ="200,*";
     
     }
     else{
     frameopen="Y";
     parent.document.body.cols ="20,*";
     
     }
     
    }
    </SCRIPT>
    </HEAD>
    <body bgcolor=white >
    <table border="0" width="100%" bgcolor="#2163b5" bordercolor="#2163b5" marginwidth=30 cellspacing=10 cellpadding=0>
    <td>
     <table border="0" width="100%" bgcolor="#2163b5" bordercolor="#2163b5" marginwidth=20 cellspacing=0 cellpadding=0>
     <td colspan="1" width="100%" align="left" valign="top">
     <hr color="white" width=155>
     </td>
     
     <tr>    
     <td colspan="1" valign="top">
     <H1>
     <DIV ID=mv2></DIV>
     <SCRIPT LANGUAGE="JavaScript" SRC="ejs_menu_dyn_vert_pal.js"></SCRIPT>
     
     <H5>
     <A href=<a href="http://www.google.com" target="_blank">http://www.google.com</a> title="google">
             Internet Access Policy
            </td>
        </tr>
     
     <tr>
     <td align="left" valign=top>
     <H3>
     <br>google        
     </td>
     </tr>
     </table>
    </td>
    <td>
     <A href="javascript:NewSearchWin();">
     <IMG name="select" onMouseOut="selectBtnUp();" onMouseDown="selectBtnDown();" onMouseUp="selectBtnUp();" STYLE="position:absolute; TOP:100px; LEFT:0px;" src="menu1.gif" border="0"  Title="Click here to show/hide the advanced selection parameters panel" align="left">
     </a>
    </td>
    </table>
    </BODY>
    </HTML>
    j,ai donc un bouton représenté par une image "menu1.gif"
    qui me permet de cacher ou de montrer mon menu comme s il était tiré>
    Le menu et ce bouton sont dans la meme frame. le menu est defini grace a un javascript
    <SCRIPT LANGUAGE="JavaScript" SRC="ejs_menu_dyn_vert_pal.js"></SCRIPT>
    >
    Ils sont tous deux dans tableau. Le bouton apparait a gauche et le menu a droite, alors que je souhaite l inverse... pouvait vous m aidez??? pour tant il me semble avoir mis les colonnes dans le bon ordre...
    merci

  2. #2
    Modérateur
    Avatar de blueice
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mars 2003
    Messages
    3 494
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 50
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mars 2003
    Messages : 3 494
    Par défaut
    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
     
    <HTML>
    <HEAD>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
     
     
    <style>
    H1{font: bold 8pt "Arial", "Times New Roman"; color:white;height=0}
    H2{font: normal 7pt "Arial", "Times New Roman"; color:white; line-height:1.5; margin:13;height=0}
    H3{font: italic normal 7pt "Arial", "Times New Roman"; color:white; text-indent: 13}
    H4{font: normal 6pt "Arial", "Times New Roman"; color:white; line-height:1;}
    H5{font: normal 8pt "Arial", "Times New Roman"; color:white;height=0}
    P{font:10pt/15pt"Myriad Roman","Verdana"}
    P.1{font: bold 8pt "Arial", "Times New Roman"; color:white;height=0}
    A:link{color:white;text-decoration:none}
    A:visited{color:white;text-decoration:none}
    A:hover{color:cyan; text-decoration:none}
    </style>
     
    <Script>
    var frameopen = "Y"
    function selectBtnDown(){
     document.select.src="menu2.gif";
    }
     
    function selectBtnUp(){
     document.select.src="menu1.gif";
    }
    function NewSearchWin() {
     if (frameopen == "Y"){
     frameopen = "N";
     parent.document.body.cols ="200,*";
     
     }
     else{
     frameopen="Y";
     parent.document.body.cols ="20,*";
     
     }
     
    }
    </SCRIPT>
    </HEAD>
    <body bgcolor=white >
    <table border="0" width="100%" bgcolor="#2163b5" bordercolor="#2163b5" marginwidth=30 cellspacing=10 cellpadding=0>
    <td>
     <A href="javascript:NewSearchWin();">
     <IMG name="select" onMouseOut="selectBtnUp();" onMouseDown="selectBtnDown();" onMouseUp="selectBtnUp();" STYLE="position:absolute; TOP:100px; LEFT:0px;" src="menu1.gif" border="0"  Title="Click here to show/hide the advanced selection parameters panel" align="left">
     </a>
    </td>
    <td>
     <table border="0" width="100%" bgcolor="#2163b5" bordercolor="#2163b5" marginwidth=20 cellspacing=0 cellpadding=0>
     <td colspan="1" width="100%" align="left" valign="top">
     <hr color="white" width=155>
     </td>
     
     <tr>    
     <td colspan="1" valign="top">
     <H1>
     <DIV ID=mv2></DIV>
     <SCRIPT LANGUAGE="JavaScript" SRC="ejs_menu_dyn_vert_pal.js"></SCRIPT>
     
     <H5>
     <A href=http://www.google.com title="google">
             Internet Access Policy
            </td>
        </tr>
     
     <tr>
     <td align="left" valign=top>
     <H3>
     <br>google        
     </td>
     </tr>
     </table>
    </td>
     
    </table>
    </BODY>
    </HTML>

Discussions similaires

  1. javascript pour tableau à largeur de colonnes variables
    Par barkleyone dans le forum Général JavaScript
    Réponses: 3
    Dernier message: 06/06/2006, 17h14
  2. Réponses: 7
    Dernier message: 10/03/2006, 19h09
  3. [tableau] indicage des colonnes
    Par Nomade95000 dans le forum Oracle
    Réponses: 3
    Dernier message: 03/01/2006, 17h04
  4. question xml / xslt pour tableau a 3 colonnes
    Par taybott dans le forum XSL/XSLT/XPATH
    Réponses: 1
    Dernier message: 26/10/2005, 00h22
  5. tableau avec 1 colonne sur 3 sans cadre
    Par brasco06 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 9
    Dernier message: 21/04/2005, 17h44

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