ok super mein Portal läuft nun unter IE7 und FF fats perfekt ... jetzt teste ich mal IE6 ... oh was das ....die portal tabs sind zwar da, aber der aktive tab ist verschwunden und hover geht auch nicht...
boar ich hasse ms ... naja ..
ich hab mal alles durchprobiert was mir so eingefallen ist aber letztlich hat nichts richtig furnkioniert.
meine portal_sections werden in einer tabelle erzeugt, hatte es mal mit <dt> und <ul> versucvht jedoch das gleiche Trauerspiel.
weis jemand was ich machen kann damit auch der IE6 den aktiven tab mit hinter grund anzeigt und vlt. das auch hover geht?
wäre sehr dankbar
heir mal mein code
portal_sections
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
i18n:domain="plone">
<body>
<div metal:define-macro="portal_tabs"
tal:omit-tag=""
tal:define="selected_tabs python:here.selectedTabs('index_html', here, portal_tabs);
selected_portal_tab selected_tabs/portal;"
tal:condition="portal_tabs">
<div id="portal-tabus">
<h5 class="hiddenStructure" i18n:translate="heading_sections">Sections</h5>
<table border="0" cellspacing="0" class="headnavtab"><tr id="portal-globalnav"><td id="frontspace">.</td>
<tal:tabs tal:repeat="tab portal_tabs"><td tal:attributes="id string:portaltab-${tab/id};
class python:test(selected_portal_tab==tab['id'], 'selected', 'plain');">
<a href=""
tal:content="tab/name"
tal:attributes="href tab/url;
title tab/description|nothing">
Tab Name
</a></td></tal:tabs><td id="frontspace">.</td>
</tr></table>
</div>
</div>
</body>
</html>
Alles anzeigen
und hier mal der relevante CSS code
CSS
/*------------------PORTAL_TABS_GRAPHICS_BEGIN-----------------*/
*html #portal-globalnav td a {
padding-left: -5px !important;
}
#portal-globalnav{
border: 0 !important;
height: 37px !important;
background: url(&dtml-portal_url;/tabback.PNG) bottom center !important;
}
#portal-globalnav td a{
padding-left: 13px !important;
padding-right: 15px !important;
fontFamily: Verdana, Tahoma, Arial !important;
fontBaseSize: 12px !important;
text-decoration: none !important;
}
/*------------------UNACTIVE-----------------*/
#portal-globalnav td.plain a{
color:#FFFFFF;
}
#portaltab-index_html.plain {
background: url(&dtml-portal_url;/glob-unact-start.PNG) left bottom no-repeat !important;
}
#portaltab-gktab1.plain {
background: url(&dtml-portal_url;/glob-unact-gkr.PNG) left bottom no-repeat !important;
}
#portaltab-gktab2.plain {
background: url(&dtml-portal_url;/glob-unact-cc.PNG) left bottom no-repeat!important;
}
#portaltab-gktab3.plain {
background: url(&dtml-portal_url;/glob-unact-uhd.PNG) left bottom no-repeat !important;
}
#portaltab-gktab4.plain {
background: url(&dtml-portal_url;/glob-unact-srv.PNG) left bottom no-repeat !important;
}
#portaltab-gktab5.plain {
background: url(&dtml-portal_url;/glob-unact-prj.PNG) left bottom no-repeat !important;
}
#portaltab-gktab6.plain {
background: url(&dtml-portal_url;/glob-unact-vrt.PNG) left bottom no-repeat !important;
}
#portaltab-gktab7.plain {
background: url(&dtml-portal_url;/glob-unact-vw.PNG) left bottom no-repeat !important;
}
#portaltab-gktab8.plain {
background: url(&dtml-portal_url;/glob-unact-uf.PNG) left bottom no-repeat !important;
}
/*------------------ACTIVE-----------------*/
#portal-globalnav td.selected a{
color:#00FF00!important;
border: none !important;
}
#portaltab-index_html.selected {
background: url(&dtml-portal_url;/glob-act-start.PNG) left bottom no-repeat !important;
}
#portaltab-gktab1.selected {
background: url(&dtml-portal_url;/glob-act-gkr.PNG) left bottom no-repeat !important;
}
#portaltab-gktab2.selected {
background: url(&dtml-portal_url;/glob-act-cc.PNG) left bottom no-repeat !important;
}
#portaltab-gktab3.selected {
background: url(&dtml-portal_url;/glob-act-uhd.PNG) left bottom no-repeat !important;
}
#portaltab-gktab4.selected {
background: url(&dtml-portal_url;/glob-act-srv.PNG) left bottom no-repeat !important;
}
#portaltab-gktab5.selected {
background: url(&dtml-portal_url;/glob-act-prj.PNG) left bottom no-repeat !important;
}
#portaltab-gktab6.selected {
background: url(&dtml-portal_url;/glob-act-vrt.PNG) left bottom no-repeat !important;
}
#portaltab-gktab7.selected {
background: url(&dtml-portal_url;/glob-act-vw.PNG) left bottom no-repeat !important;
}
#portaltab-gktab8.selected {
background: url(&dtml-portal_url;/glob-act-uf.PNG) left bottom no-repeat !important;
}
/*------------------HOVER-----------------*/
#portal-globalnav td.plain a:hover{
color:#FFFFFF !important;
}
#portaltab-index_html.plain:hover{
background: url(&dtml-portal_url;/glob-hov-start.PNG) left bottom no-repeat !important;
}
#portaltab-gktab1.plain:hover{
background: url(&dtml-portal_url;/glob-hov-gkr.PNG) left bottom no-repeat !important;
}
#portaltab-gktab2.plain:hover{
background: url(&dtml-portal_url;/glob-hov-cc.PNG) left bottom no-repeat!important;
}
#portaltab-gktab3.plain:hover{
background: url(&dtml-portal_url;/glob-hov-uhd.PNG) left bottom no-repeat !important;
}
#portaltab-gktab4.plain:hover{
background: url(&dtml-portal_url;/glob-hov-srv.PNG) left bottom no-repeat !important;
}
#portaltab-gktab5.plain:hover{
background: url(&dtml-portal_url;/glob-hov-prj.PNG) left bottom no-repeat !important;
}
#portaltab-gktab6.plain:hover{
background: url(&dtml-portal_url;/glob-hov-vrt.PNG) left bottom no-repeat !important;
}
#portaltab-gktab7.plain:hover{
background: url(&dtml-portal_url;/glob-hov-vw.PNG) left bottom no-repeat !important;
}
#portaltab-gktab8.plain:hover{
background: url(&dtml-portal_url;/glob-hov-uf.PNG) left bottom no-repeat !important;
}
/*------------------PORTAL_TABS_GRAPHICS_END-----------------*/
Alles anzeigen
Danke euch
Greetz
Seawolf