Antworten auf deine Fragen:
Neues Thema erstellen

ie / spry menu

mfwenzel

Nicht mehr ganz neu hier

huhu

habe ein Problem:

Ich benutze das Spry-Menu (horizontal) vom dreamweaver cs4.

Im Firefox sieht das alles auch nett aus, nur im ie leider nicht.

Siehe Screenshot. Kennt das Problem jemand?
 
Zuletzt bearbeitet:

AW: ie / spry menu

Für eine Antwort wäre auch hier wieder ein Link zur Seite oder der Code (html und css) wichtig.
 
AW: ie / spry menu

aber klar doch



soll ich den ganzen spry code posten?

Das hier ist der spry code:
Code:
@charset "UTF-8";

/* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

 LAYOUT INFORMATION: describes box model, positioning, z-order

 *******************************************************************************/

/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
{
    margin: 0;
    padding: 1em;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 179px;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
    z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 179 px;
    padding-top: 1em;
    padding-bottom: 1em;
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
{
    padding: 0em;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: 8em;
    left: -1000em;
    top: -1px;
    margin-right: 0;
    white-space: nowrap;
    margin-top: 0px;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
    left: 180px;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
{
    float: none;
    width: 8em;
    padding: 0em;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
{
    display: block;
    cursor: pointer;
    background-color: #F1F1F1;
    color: #333;
    text-decoration: none;
    padding-top: 0.5em;
    padding-right: 0.75em;
    padding-bottom: 0.5em;
    padding-left: 0.75em;
    border-top-width: 1px;
    border-right-width: 1px;
    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: #FFF;
    border-right-color: #444;
    border-bottom-color: #444;
    border-left-color: #FFF;
}
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
    background-color: #FB7600;
    color: #FFF;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
    background-color: #FB7600;
    color: #FFF;
    border-top-color: #000;
    border-left-color: #000;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-color: #FFF;
    border-bottom-color: #FFF;
}

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
{
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
{
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
{
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
{
    ul.MenuBarVertical li.MenuBarItemIE
    {
    display: inline;
    f\loat: left;
    background: #FFF;
    }
}

Und hier der Html-Ausschnitt:
Code:
<!--begin sidebar navigation-->
<ul id="MenuBar1" class="MenuBarVertical">
  <li><a href="../Kuenstlerviertel2/index_k2.html">Künstlerviertel 2</a></li>
  <li><a href="../mainz_finthen/index_mf.html">Sertoriusring, Mainz</a></li>
  <li><a href="../bns/index_bns.html">Palais Solaris</a>    </li>
  <li><a href="../vls/index_vls.html">Von-Leyden-Straße</a></li>
</ul>
<!--end sidebar navigation-->
 
Zuletzt bearbeitet:
AW: ie / spry menu

Hi,

also es liegt irgendwo in deinem JavaScript. Ich habe beim IE ebenfalls Probleme und ein Button ist sogar verschoben. Bei deaktiviertem JavaScript sieht es allerdings gut aus.
Vielleicht hilft dir das ja irgendwie weiter...
 
Zuletzt bearbeitet von einem Moderator:
AW: ie / spry menu

soll ich nun das script im ie ausschalten... und wenn ja, wie geht das?
Hi,

also wenn du es ordentlich machen willst, dann müsstest du ein extra JavaScript für den IE anlegen und dieses Script dann per Abfrage nur im IE laden. Die Abfrage kannst du über eine sogenannte machen.
Allerdings musst du vorher rausfinden, wo der "Fehler" im JavaScript liegt und diesen dann im besten Fall so umcoden das es nicht mehr auftritt oder die Funktion einfach rausnehmen.

Mit deaktiviertem JavaScript kann man auf der Seite ja navigieren, somit kann es ja keine "lebenswichtige" Funktion sein. Das Problem ist halt jetzt für dich, den Code durchzusuchen nach dem Teil, welcher diesen "Mist" produziert. ^^
 
AW: ie / spry menu

hm also ich denke das mit der abfrage könnte ich noch hinbekommen. ich werd's mal im adobe forum posten, falls es so was gibt ^^, denn das js ist ja von denen...
 
Bilder bitte hier hochladen und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Antworten auf deine Fragen:
Neues Thema erstellen

Willkommen auf PSD-Tutorials.de

In unseren Foren vernetzt du dich mit anderen Personen, um dich rund um die Themen Fotografie, Grafik, Gestaltung, Bildbearbeitung und 3D auszutauschen. Außerdem schalten wir für dich regelmäßig kostenlose Inhalte frei. Liebe Grüße senden dir die PSD-Gründer Stefan und Matthias Petri aus Waren an der Müritz. Hier erfährst du mehr über uns.

Stefan und Matthias Petri von PSD-Tutorials.de

Nächster neuer Gratisinhalt

03
Stunden
:
:
25
Minuten
:
:
19
Sekunden

Neueste Themen & Antworten

Flatrate für Tutorials, Assets, Vorlagen

Statistik des Forums

Themen
118.969
Beiträge
1.540.177
Mitglieder
68.167
Neuestes Mitglied
allVCList
Oben