Hallo. Ich habe folgendes Problem: Ich checke nciht so wirklich durch, bei den Mousover-Effekten. Ich woltle aber 8 Buttons in die Sidebar einfügen, und wenn man drüberfährt soll zb zu button1 erst bild 1 dann bild 2 angezeigt werden, bei button 2 bild 3 und bei mousover bild 4, und wenn man zb auf button 1 klickt, soll man zu home kommen, bei button 2 zu impressum...
nun hab ich aber dieses script:
PHP
<div id="sidebar">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<p><?php bloginfo('description'); ?></p>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
<?php if (function_exists('wp_theme_switcher')) { ?>
<h4>Themes</h4>
<?php wp_theme_switcher('dropdown'); ?>
<?php } ?>
<ol id="nav">
<?php wp_list_pages('title_li='); ?>
</ol>
<h4>Archiv</h4>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<h4>Kategorie</h4>
<ul>
<?php wp_list_cats('sort_column=name&hierarchical=0'); ?>
</ul>
<h4><?php _e('Blogroll'); ?></h4>
<ul>
<?php get_links(-1, '<li>', '</li>', '', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>
</ul>
<script language="JavaScript">
<!--
aus1 = new Image();
aus1.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/admin.PNG";
an1 = new Image();
an1.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/adminm.PNG";
aus2 = new Image();
aus2.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/archive.PNG";
an2 = new Image();
an2.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/archivem.PNG";
aus3 = new Image();
aus3.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/home.PNG";
an3 = new Image();
an3.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/homem.PNG";
aus4 = new Image();
aus4.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/impressum.PNG";
an4 = new Image();
an4.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/impressumm.PNG";
aus5 = new Image();
aus5.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/member.PNG";
an5 = new Image();
an5.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/memberm.PNG";
aus6 = new Image();
aus6.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/music.PNG";
an6 = new Image();
an6.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/musicm.PNG";
aus7 = new Image();
aus7.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/photo.PNG";
an7 = new Image();
an7.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/photom.PNG";
aus8 = new Image();
aus8.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/video.PNG";
an8 = new Image();
an8.src = "http://k10243-01.s02.xyon-hosting.de/taschmahal/videom.PNG";
//-->
</script>
<h4>Suche</h4>
<div>
<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" size="15" />
<input id="side_submit" type="submit" name="submit" value="Submit" size="15" />
</form>
</div>
<br />
<h4><?php _e('Meta:'); ?></h4>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<!-- useless stuff
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
-->
<?php wp_meta(); ?>
</ul>
<br />
<?php endif; ?>
</div>
Alles anzeigen
ich weiß, sachen wie kategorien sind nicht drin, aber die werden ersetzt, sobald das mousover geht.
mir ist aufgefallen, dass es garkeine URL gibt, wo die buttons hinführen könnten, aber mein größtes problem ist es, dass dieser ganze teil garnicht erst angezeigt wird. die sidebar sieht ganz normal aus...
kann mir jemand helfen?