Ergebnis 1 bis 3 von 3

Thema: Hover Probleme mit JavaSkript in Joomla, sehr seltsam??

  1. #1
    TP-Senior
    Registriert seit
    Jul 2003
    Beiträge
    137

    Hover Probleme mit JavaSkript in Joomla, sehr seltsam??

    Hallo Leute,

    bastel gerade an einen Webshop und habe dafür ein einfaches Sprungmenue mit Ankern für eine lange Liste gemacht. Aber der Hover Effekt macht mich Irre.

    Hier mal der Link:
    http://www.pizza-blitz-amigo.de/7
    Ist ein Pizza Shop, aber die 7 ist ein Testsystem und die Bestellungen gehen ins Nirvana, also ruhig testen.

    Bitte auf Pizza Klicken und über die grüne Fläche mit den Preisen fahren.

    Hier mal das Menue und danach hänge ich noch die CSS an, der Teil der mit dem Hover Effekt ist ganz oben angesiedelt:
    Code:
    <table class="main">
     <tr>
      <td>      
      	<table class="inner">
           <tr>
            
            <td class="title"><a class="menue" href="#pos1">Pizza Magharita</a></td>
            <td class="p1">3,00&euro;</td>
            <td class="p2">4,00&euro;</td>
            
           </tr>
          </table>
          </td>
      <td>      
      	<table class="inner">
           <tr>
            <td class="title"><a class="menue" href="#pos10">Pizza Curry</a></td>
            <td class="p1">5,00&euro;</td>
            <td class="p2">6,00&euro;</td>
           </tr>
          </table>
          </td>
      <td>      
      	<table class="inner">
           <tr>
            <td class="title"><a class="menue" href="#pos19">Salami Spezial</a></td>
            <td class="p1">3,00&euro;</td>
            <td class="p2">4,00&euro;</td>
           </tr>
          </table>
          </td>
    
    usw....
    Hier dann die CSS, wild gekürzt, ich habe versucht alles drinnzulassen was irgendwie nach hovern aussieht. Die Tabellen CSS bezieht sich auf die Tabelle mit den Pizzen.

    Code:
    a.meue:link { color: #FFFFFF; text-decoration:none; }
    a.menue:visited { color:#FFFF00; text-decoration:none; }
    a.menue:focus { color:red; text-decoration:underline; }
    a.menue:hover { color:#669933; text-decoration:none; background-color: #FFFFFF; }
    a.menue:active { color:#FFFFFF; text-decoration:none; }
    
    
    	table.weg_pasta {
    	z-index: 501;
    	position: relative;
    	top: -1785px;
    	left: -20px;
      #background-color: #FFFFFF;
    	border: 0px;
    	width: 10px;
    
    }
    
    td.weg_zell_pasta {
    	#background-color: #51CA57;
    	text-align: right;
    	width: 1px;
    	height: 75px;
    	padding: 0;
    	border: 0px;
    }
    
    
    	table.weg {
    	z-index: 501;
    	position: relative;
    	top: -5405px;
    	left: -20px;
      #background-color: #FFFFFF;
    	border: 0px;
    	width: 10px;
    
    }
    
    td.weg_zell {
    	#background-color: #669933;
    	text-align: right;
    	width: 40px;
    	height: 125px;
    	padding: 0 10px 0 2px;
    	border: 0px;
    }
    	
    	 
    table.main {
    	  background-color: #669933;
    		border: 0px;
    		padding: 2px 0 2px 0;
    		z-index: 200;
    	  position: relative;
    	  top: -1px;
    	  left: 220px;
    	  font-family: Arial;
    	  border-spacing: 0px;
    
    	}
    	
    table.inner {
    			color: #FFFFFF;
    		  font-size: 12px;
    		  margin: 0px;
    		  padding: 0px;
    		  border-spacing: 0px;
     }
    	
    td.title {
    	width: 98px;
    	margin: 0px;
    	padding: 0px;
    	border: 0;
    }
    
    td.p1 {
    	text-align: right;
    	width: 39px;
    	margin: 0px;
    	padding: 0 0px 0 2px;
    	border : 0px;
    }
    
    td.p2 {
    	text-align: right;
    	width: 38px;
    	margin: 0px;
    	padding: 0 6px 0 2px;
    	border: 0px;
    }
    
    td.titlepasta {
    	width: 149px;
    	margin: 0px;
    	padding: 0px;
    	border: 0;
    }
    
    td.p1_pasta {
    	text-align: right;
    	width: 30px;
    	margin: 0px;
    	padding: 0 3px 0 2px;
    	border : 0px;
    }
    
    
    
    
    a:link, a:visited {
    
            text-decoration: underline;
    
            font-weight: normal;
    
            color: #669933;
    
    }
    
    
    
    a:hover {
    
            text-decoration: none;
    
            font-weight: normal;
    
            color: #669933;
    
    }
    
    
    
    input.button, .validate  {
    
            color: #669933;
    
            border: 1px solid #669933;
    
            font-size: 10px;
    
            background: #FFF;
    
    }
    
    
    
    input.button:hover, .validate:hover  {
    
    
    
    }
    
    
    
    p {
    
            margin-top: 0;
    
            margin-bottom: 5px;
    
            text-align: justify;
    
    }
    
    
    
    .inputbox {
    
            border: 1px solid #669933;
    
            color: #669933;
    
    }
    
    .inputbox:hover {
    
    
    
    }
    
    
    #logo a, #logo a:link, #logo a:hover {
    
    
            padding: 0;
    
            margin: 0;
    
            letter-spacing: 1px;
    
            color: #669933;
    
            background: transparent;
    
            text-decoration: none;
    
            outline: none;
    
    }
    
    
    #pillmenu li:hover {
    
    
    
    }
    
    
    
    #pillmenu li a#active_menu-nav {
    
            text-decoration: underline;
    
    }
    
    
    
    #pillmenu li a {
    
            font-family: Verdana, sans-serif;
    
            font-size: 12px;
    
            float: left;
    
            display: block;
    
            line-height: normal;
    
            padding: 8px 12px 8px 12px;
    
            color: #FFF;
    
            text-decoration: none;
    
    }
    
    
    
    #pillmenu li a:hover {
    
            background: #FFF;
    
            color: #669933;
    
    }
    
    
    /* menu links */
    
    a.mainlevel:link, a.mainlevel:visited {
    
            padding-left: 5px;
    
    }
    
    
    
    a.mainlevel:hover {
    
    
    
    }
    
    
    
    a.sgfooter:link, a.sgfooter:visited {
    
            color: #669933;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
            text-decoration: none;
    
    }
    
    a.sgfooter:hover {
    
            color: #669933;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
            text-decoration: none;
    
    }
    
    #sgf {
    
            font-size: 11px;
    
            text-align: center;
    
            width: 100%;
    
            margin: 0 auto;
    
            color: #669933;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
    }
    
    .sgf {
    
            text-align: right;
    
            font-size: 11px;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
            color: #669933;
    
            text-decoration: none;
    
    }
    
    .sgf1 {
    
            font-size: 11px;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
            color: #669933;
    
            text-align: left;
    
    }
    
    
    
    a.sglink:link, a.sglink:visited {
    
            color: #669933;
    
            font-size: 11px;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
            text-decoration: none;
    
    }
    
    a.sglink:hover {
    
            color: #669933;
    
            font-family: Verdana, Arial, Tahoma, sans-serif;
    
            text-decoration: none;
    
            }
    Die geklickten Pizzen bleiben stehen, aber irgendwie auch nicht immer. Und die Links des Warenkorbes wird irgendwie durch das Menue verdeckt, zumindest laut FireBug. Da habe ich mich aber noch mit beschäftigt.

    Wenn die Warenkorb Liste ganz lang gemacht wird, dann kann man auch die Links erreichen. Löscht man dann den Warenkorb, dann verändern sich auch wieder die Links der Pizzen.

    Wer sich wirklich gnädigerweise da reinknien möchte, ich hänge die CSS mal dran.

    Hoffe jemand weiß rat.

    Gruss,

    Gutschy
    Angehängte Dateien Angehängte Dateien
    Na dann.

  2. #2
    TP-Veteran Avatar von wildmieze
    Registriert seit
    Dec 2003
    Beiträge
    1.905
    ... spontan sehe ich bei deinem CSS-Ausschnitt einen Tippfehler, direkt in der ersten Zeile: "a.meue:link" - da fehlt ein "n". Vielleicht isses das schon ..


    EDIT und Off-Topic: bei den Extras für die Pizzen fehlt definitiv noch Crème fraîche

  3. #3
    TP-Senior
    Registriert seit
    Jul 2003
    Beiträge
    137
    Ach ja,

    wenn doch alles so einfach wäre.....

    @wildmieze, fühle dich von mir virtuell gedrückt.

    Und das mit dem Crème fraîche gebe ich mal weiter *g*
    Na dann.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Ähnliche Themen

  1. Probleme mit Joomla!
    Von Sabienes im Forum Traum-Dynamik
    Antworten: 7
    Letzter Beitrag: 07.10.2007, 10:54
  2. Sehr seltsam.
    Von designfanatiker im Forum Einfach so ...
    Antworten: 7
    Letzter Beitrag: 19.08.2007, 23:03
  3. Antworten: 0
    Letzter Beitrag: 06.11.2006, 17:01
  4. Meine Internetverbindung SEHR seltsam...
    Von Thyll im Forum Einfach so ...
    Antworten: 6
    Letzter Beitrag: 04.10.2005, 14:38

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

     

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

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