hi, ich habe in fireworks ein dropdown menu gemacht und das will ich jetzt in meine seite einfügen.... aber es geht nicht! das ganze fixiere ich mit ebenen, den z-index vom menu ist höher als der vom content. trotzdem will das nicht gehen!
weiss einer von euch warum?
wäre über jede hilfe dankbar.
vielen dank, hier ist der source vom stylesheet; [ausschnitt]
und hier der source von der index.php:
weiss einer von euch warum?
wäre über jede hilfe dankbar.
vielen dank, hier ist der source vom stylesheet; [ausschnitt]
Code:
function stylesheet() {
$stylesheet = "<style type='text/css'>\n".
"<!--\n".
"#logo { position: absolute; z-index: 1; top: 0px; left: 0px; width: 150px; height: 150px; visibility: visible }\n".
"#menu { position: absolute; z-index: 3; top: 100px; left: 100px; width: 500px; height: 600px; visibility: visible }\n".
"#content { position: absolute; z-index: 1; top: 117px; left: 100px; width: 500px; height: 500px; visibility: visible }\n".
"a:link { color:#000000;text-decoration:none; font-family:Verdana; font-size:10pt; }".
Code:
<?PHP
include_once($_SERVER['DOCUMENT_ROOT']."/cyber/artofloft/includes/inc.base.php");
?>
<HTML>
<HEAD>
<?PHP
include_once($_SERVER['DOCUMENT_ROOT']."/cyber/artofloft/includes/inc.stylesheet.php");
?>
<TITLE>ARTofLOFT</TITLE>
<?PHP echo stylesheet(); ?>
script language="JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_0830074229_0) return;
window.mm_menu_0830074229_0 = new Menu("root",35,18,"Verdana, Arial, Helvetica, sans-serif",12,"#000000","#ffffff","#999999","#666666","left","middle",3,0,400,-5,7,true,true,true,0,true,true);
mm_menu_0830074229_0.addMenuItem("test","window.open('test.php', '#mitte');");
mm_menu_0830074229_0.hideOnMouseOut=true;
mm_menu_0830074229_0.menuBorder=1;
mm_menu_0830074229_0.menuLiteBgColor='#999999';
mm_menu_0830074229_0.menuBorderBgColor='#666666';
mm_menu_0830074229_0.bgColor='#666666';
window.mm_menu_0830074613_1 = new Menu("root",88,18,"Verdana, Arial, Helvetica, sans-serif",12,"#000000","#ffffff","#999999","#666666","left","middle",3,0,400,-5,7,true,true,true,0,true,true);
mm_menu_0830074613_1.addMenuItem("artofloft.php","window.open('artofloft.php', '#mitte');");
mm_menu_0830074613_1.addMenuItem("adfasdf","window.open('asdfasdfad', 'adfasdfadsf');");
mm_menu_0830074613_1.addMenuItem("sdafasdf","window.open('asdfasdfasdf', 'asdsadf');");
mm_menu_0830074613_1.hideOnMouseOut=true;
mm_menu_0830074613_1.menuBorder=1;
mm_menu_0830074613_1.menuLiteBgColor='#999999';
mm_menu_0830074613_1.menuBorderBgColor='#666666';
mm_menu_0830074613_1.bgColor='#666666';
mm_menu_0830074613_1.writeMenus();
} // mmLoadMenus()
//-->
</script>
<script language="JavaScript1.2" src="mm_menu.js"></script>
</head>
<BODY bgColor='#000000'>
<script language="JavaScript1.2">mmLoadMenus();</script>
<!-- BEGINN LOGO EBENE -->
<div id="logo">
<table width="253" height="202" border="0">
<tr>
<td>
<img src="pics/logo.gif"></img>
</td>
</tr>
</table>
<!-- ENDE LOGO EBENE -->
<!-- BEGINN DHTML MENU -->
<div id="menu">
<table border="0" cellpadding="0" cellspacing="0" width="500">
<!-- fwtable fwsrc="Unbenannt" fwbase="projekt_menu.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="spacer.gif" width="111" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="62" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="2" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="99" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="226" height="1" border="0" alt=""></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><img name="projekt_menu_r1_c1" src="projekt_menu_r1_c1.gif" width="111" height="18" border="0" alt=""></td>
<td><a href="#" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0830074229_0,0,18,null,'projekt_menu_r1_c2');"><img name="projekt_menu_r1_c2" src="projekt_menu_r1_c2.gif" width="62" height="18" border="0" alt=""></a></td>
<td><img name="projekt_menu_r1_c3" src="projekt_menu_r1_c3.gif" width="2" height="18" border="0" alt=""></td>
<td><a href="#" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0830074613_1,0,18,null,'projekt_menu_r1_c4');"><img name="projekt_menu_r1_c4" src="projekt_menu_r1_c4.gif" width="99" height="18" border="0" alt=""></a></td>
<td><img name="projekt_menu_r1_c5" src="projekt_menu_r1_c5.gif" width="226" height="18" border="0" alt=""></td>
<td><img src="spacer.gif" width="1" height="18" border="0" alt=""></td>
</tr>
<tr>
</tr>
</table>
</div>
<!-- ENDE DHTML MENU -->
<!-- BEGINN INHALT -->
<div id="content">
<iframe name=#mitte width='500' height='485' NORESIZE scrolling='yes'
frameborder='0' marginheight='0' background="pics/content_bg.jpg" marginwidth='0' src='welcome.php'></iframe>
</div>
<!-- ENDE INHALT -->
</BODY></HTML>
Zuletzt bearbeitet: