tutorials.de Buch-Aktion 05/2012
ERLEDIGT
NEIN
ANTWORTEN
4
ZUGRIFFE
568
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
DIESES THEMA IST
GESCHLOSSEN
  1. #1
    missmo missmo ist offline Rookie
    Registriert seit
    Dec 2003
    Beiträge
    9
    Hallo Leute

    Meine vertikale Navigation mit Untermenus steht direkt neben dem iframe.

    Problem: wenn das untermenue über dem iframe aufgeht und ich will mit der maus drauf, verschwindet dieses submenue. im firefox ist dies gar kein prob, in safari und netscape aber schon, und Opera macht das submenu sowieso hinter dem iframe auf. im ie habe ich gar noch nicht geschaut, weil ich die weiche für css noch nicht gemacht habe.
    bis jetzt konnte ich nur auf mac testen

    Code :
    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
    
    <body >
    <div>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="500" bgcolor="#430000">&nbsp;</td>
          <td width="196" height="400" align="left" valign="top" bgcolor="#333333"><br />
          <ul id="menue">
          <li>unser muotathal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <ul id="submenu">
                <li><a href="#">&nbsp;&nbsp;&nbsp;lageplan</a></li>
                <li><a href="#">&nbsp;&nbsp;&nbsp;karte</a></li>
                <li><a href="#">&nbsp;&nbsp;&nbsp;links</a></li>
            </ul>
        </li>
        
        <li>abenteuer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <ul id="submenu">
                <li>im sommer
                <ul id="subsubmenu">
                    <li><a href="inhalt/abenteuer/so/muotaraft.html" target="inhalt">muotaraft</a></li>
                    <li><a href="#">wanderungen</a></li>
                    <li><a href="#">..........</a></li>
                    <li><a href="#">..........</a></li>
                </ul>
                </li>
                <li>im winter
                <ul id="subsubmenu">
                    <li><a href="#">iglunacht</a></li>
                    <li><a href="#">schneeschuh</a></li>
                    <li><a href="#">..........</a></li>
                    <li><a href="#">..........</a></li>
                </ul></li>
                <li>das ganze jahr
                <ul>
                    <li><a href="#">husky-traum</a></li>
                    <li><a href="#">...</a></li>
                </ul></li>
                </ul>
        </li>
                
        <li>kultur &amp; bildung&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <ul id="submenu">
                <li>im sommer
                <ul>
                    <li><a href="#">...</a></li>
                    <li><a href="#">...</a></li>
                </ul>
                </li>
                <li>im winter
                <ul>
                    <li><a href="#">...</a></li>
                    <li><a href="#">...</a></li>
                </ul></li>
                <li>das ganze jahr
                <ul>
                    <li><a href="#">...</a></li>
                    <li><a href="#">...</a></li>
                </ul></li>
                </ul>
        </li>
            
            <li>gruppen &amp; firmen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <ul id="submenu">
                <li>im sommer
                <ul>
                    <li><a href="#">...</a></li>
                    <li><a href="#">...</a></li>
                </ul>
                </li>
                <li>im winter
                <ul>
                    <li><a href="#">...</a></li>
                    <li><a href="#">...</a></li>
                </ul></li>
                <li>das ganze jahr
                <ul>
                    <li><a href="#">...</a></li>
                    <li><a href="#">...</a></li>
                </ul></li>
                </ul>
            </li>
     
     
        <li>freizeitd&ouml;rfli&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <ul id="submenu">
                <li>&uuml;bersicht
                <ul>
                    <li><a href="#">karte</a></li>
                    <li><a href="#">bilder</a></li>
                </ul>
                </li>
                <li><a href="#">g&auml;stehaus</a></li>
                <li>g&auml;steh&uuml;ttli
                <ul>
                    <li><a href="#">family</a></li>
                    <li><a href="#">junior</a></li>
                </ul>
                </li>
                <li>huskys
                <ul id="submenu">
                    <li><a href="#">huskygehege</a></li>
                    <li><a href="#">huskybar</a></li>
                </ul>
                </li>
                <li><a href="#">camping &amp; zeltplatz</a></li>
                <li><a href="#">d&ouml;rfliteam</a></li>
                </ul>
        </li>
     
            <li>unser team&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <ul id="submenu">
                <li><a href="#">g&auml;steleiter/-innen</a></li>
                <li><a href="#">leitbild</a></li>
                <li><a href="#">ausbildung</a></li>
                </ul>
              </li>
        <li>unsere hunde&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <ul id="submenu">
                <li><a href="#">g&ouml;nner &amp; paten</a></li>
                <li><a href="#">huskygehege</a></li>
                <li><a href="#">portraits</a></li>
                <li><a href="#">schnappsch&uuml;sse</a></li>
                </ul>
        </li>
        <li>arrangements&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <ul id="submenu">
                <li><a href="#">skitouren im winter</a></li>
                <li><a href="#">skitouren-kurse</a></li>
                <li><a href="#">musher-kurs</a></li>
                <li><a href="#">erlebniscamp</a></li>
                </ul>
        </li>
    </ul>
     
          <td width="584" rowspan="2" align="left" valign="top" bgcolor="#001A3B"><div id="inhalt"><iframe src="table_test.html" frameborder="0"  scrolling="auto"  name="inhalt"></iframe></div><td height="500" bgcolor="#001A3B"></td>
        </tr>
        <tr>
          <td bgcolor="#430000">&nbsp;</td>
          <td width="196" bgcolor="#430000">&nbsp;</td>
          <td bgcolor="#001A3B">&nbsp;</td>
        </tr>
      </table>
    </div>
    </body>

    Code :
    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
    
    #inhalt {
        z-index: 1;
        height: 100px;
        width: 584px;
        border-top-width: 0px;
        border-right-width: 0px;
        border-bottom-width: 0px;
        border-left-width: 0px;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        overflow: hidden;
        visibility: visible;
    }
     
    #menue, #menue ul
    {
        list-style-type:    none;
        padding:        0;
        margin:         0;
    }
     
    #menue li > ul
    {
        position:       relative;
        left:           183px;
        top:            -25px;
        display:        none;
    }
     
    #menue li:hover > ul
    {
        display:        block;
        z-index:        4;
    }
     
    #submenu li > ul
    {
        position:       relative;
        left:           107px;
        top:            -16px;
        display:        none;
    }
     
    #submenue li:hover > ul 
    {
        display:        block;
        z-index:        3;
    }
     
     
    body 
    {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        font-family: Arial, Helvetica, sans-serif;
        text-decoration: none;
        color: #CCCCCC;
    }
     
    #menue li
    {
        margin:         0;
        height:         34px;
        line-height:        34px;
        text-align:         right;
        color:          #CCCCCC;
        text-decoration:    none;
        background-color: #333333;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #999999;
        width: 196px;
        top: 257px;
        cursor: pointer;
        visibility: visible;
        display: block;
        border-top-style: none;
        border-right-style: none;
        border-left-style: none;
        list-style-type: none;
        border-top-color: #999999;
        border-right-color: #999999;
        border-left-color: #999999;
        z-index:5;
    }
     #menue li:hover {
        margin:         0;
        height:         34px;
        line-height:        34px;
        text-align:         right;
        color:          #121212;
        text-decoration:    none;
        background-color: #636363;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-bottom-style: inset;
        border-bottom-color: #333333;
        width: 196px;
        top: 257px;
        cursor: pointer;
        z-index:5;
        visibility: visible;
        display: block;
        border-top-style: none;
        border-right-style: none;
        border-left-style: none;
        list-style-type: none;
        border-top-color: #999999;
        border-right-color: #999999;
        border-left-color: #999999;
        white-space: nowrap;
    }
     
    #submenu li
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 26px;
        font-weight: bold;
        font-variant: normal;
        color: #CCCCCC;
        text-decoration: none;
        background-color: #333333;
        height: 26px;
        width: 129px;
        text-align: left;
        text-indent: 5px;
        white-space: nowrap;
        cursor: pointer;
        border-top-width: 0px;
        border-right-width: 0px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-top-style: solid;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-top-color: #666666;
        border-right-color: #666666;
        border-bottom-color: #666666;
        border-left-color: #666666;
        z-index: 4;
    }
    #submenu li:hover
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        line-height: 26px;
        font-weight: bold;
        font-variant: normal;
        color: #121212;
        text-decoration: none;
        background-color: #636363;
        height: 26px;
        width: 129px;
        text-align: left;
        text-indent: 5px;
        white-space: nowrap;
        cursor: pointer;
        border-top-width: 0px;
        border-right-width: 0px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-top-style: solid;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-top-color: #666666;
        border-right-color: #666666;
        border-bottom-color: #666666;
        border-left-color: #666666;
        z-index: 4;
    }
    #subsubmenu li
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        line-height: 22px;
        font-weight: bold;
        font-variant: normal;
        color: #CCCCCC;
        text-decoration: none;
        background-color: #333333;
        height: 22px;
        width: 130px;
        text-align: left;
        text-indent: 5px;
        white-space: nowrap;
        cursor: pointer;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-bottom-style: solid;
        border-left-style: solid;
        border-bottom-color: #666666;
        border-left-color: #666666;
        z-index: 3;
    }
    #subsubmenu li:hover
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        line-height: 22px;
        font-weight: bold;
        font-variant: normal;
        color: #121212;
        text-decoration: none;
        background-color: #636363;
        height: 22px;
        width: 130px;
        text-align: left;
        text-indent: 5px;
        white-space: nowrap;
        cursor: pointer;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-bottom-style: solid;
        border-left-style: solid;
        border-bottom-color: #666666;
        border-left-color: #666666;
        z-index: 3;
    }

    ich traute mich noch nicht alles mit css zu machen (und verzeiht mir eventuellen code, darum habe ich auch die guten alten tables drin)
     

  2. #2
    Avatar von fish-guts
    fish-guts fish-guts ist offline Mitglied Gold
    Registriert seit
    Nov 2004
    Ort
    Schaffhausen (Schweiz)
    Beiträge
    209
    Moin

    Hast du deinem iframe einen z-index gegeben? Wenn nicht, versuch ihn damit unter das Menu zu legen.

    Gruss

    FG
     
    Voice of Silence - http://www.voiceofsilence.ch - Punkrock from Schaffhausen, check it out!

  3. #3
    missmo missmo ist offline Rookie
    Registriert seit
    Dec 2003
    Beiträge
    9
    Zitat Zitat von fish-guts
    Moin

    Hast du deinem iframe einen z-index gegeben? FG
    Ja, ansonsten würde ich die submenus ja in keinem browser sehen; ich habe dem iframe den kleinsten z-index gegeben zuerst über css jetzt direkt in den tag geschrieben
    so -->
    Code :
    1
    
     <td width="584" rowspan="2" align="left" valign="top" bgcolor="#001A3B"><iframe src="table_test.html" style="z-index:1;"  frameborder="0"  scrolling="auto"  width="584" height="400" name="iframe"></iframe><td height="500" bgcolor="#001A3B">

    ansonsten wenn die iframes nicht so der hammer sind, muss ich es wohl oder übel anders machen

    gibt es da nicht eine bessere möglichkeit aber wenn möglich ohne php
     

  4. #4
    missmo missmo ist offline Rookie
    Registriert seit
    Dec 2003
    Beiträge
    9
    ansonsten hier ein link zum dreinschauen

    http://www.erlebniswelt.ch/neu/start.html
     

  5. #5
    Avatar von fish-guts
    fish-guts fish-guts ist offline Mitglied Gold
    Registriert seit
    Nov 2004
    Ort
    Schaffhausen (Schweiz)
    Beiträge
    209
    Moin

    Naja, da würde ich sowieso nicht mit iframes lösen. Nimm dazu lieber die PHP-Funktion include()

    Gruss

    FG
     
    Voice of Silence - http://www.voiceofsilence.ch - Punkrock from Schaffhausen, check it out!

Ähnliche Themen

  1. BMP einblenden, wenn Maus über dem Control ist
    Von blandeck im Forum VisualStudio & MFC
    Antworten: 2
    Letzter Beitrag: 16.08.07, 12:17
  2. Antworten: 2
    Letzter Beitrag: 02.08.07, 21:46
  3. Wenn Maus über Text ist unterstrichen
    Von php-man im Forum Javascript & Ajax
    Antworten: 6
    Letzter Beitrag: 18.11.03, 08:29
  4. infos wenn man mit maus über link ist
    Von blubber im Forum HTML & XHTML
    Antworten: 3
    Letzter Beitrag: 20.05.02, 15:58
  5. Infos wenn maus über link
    Von force2k1 im Forum HTML & XHTML
    Antworten: 2
    Letzter Beitrag: 01.07.01, 11:14