I have this menu in javascript, the dropdown under the imagebuttons are clickable, so have links to pages or whatever.
But i also want the buttons himself to have a link.
But when I change the whole think, dropdown does not work, because of the # think in.
This is the code i am using:
Code: Select all
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%" rowspan="2">
<div><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="100%" height="5"></div>
<a href="index.php"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/koop_logo.jpg" border="0" align="absmiddle"></a><div><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="100%" height="5"></div>
</td>
<td width="96%" valign="top"><div id="shademenu" class="shadetabs">
<ul><a href="index.php"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_home.jpg" border="0" align="texttop"></a><a href="icall.php?icallok=2" rel="dropmenu_buy"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_buy.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu_sell"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_sell.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu3"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_my_koop.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu_community"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_community.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu5"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_stores.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu6"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_classifieds.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu6"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_want_it_now.jpg" border="0" align="texttop"></a><a href="#" rel="dropmenu_help"><img src="<?=$path;?>themes/<?=$setts['default_theme'];?>/img/top_menu_help.jpg" border="0" align="texttop"></a>
</ul></div>
<!-- drop down menu buy -->
<div id="dropmenu_buy" class="dropmenudiv" style="width: 160px;">
<a href="URL/">Browse Categories</a>
<a href="URL/">Browse Listings</a>
<a href="URL/">Help With Bidding & Buying</a>
<a href="URL/">Buyers Tools</a></div>
<!-- drop down menu sell -->
<div id="dropmenu_sell" class="dropmenudiv" style="width: 140px;">
<a href="URL/">Sell an Item</a>
<a href="URL/">Getting Started Selling</a>
<a href="URL/">Seller's Tools & Stores</a></div>
<!-- drop down menu 3 -->
<div id="dropmenu3" class="dropmenudiv" style="width: 100px;">
<a href="URL/">LINK</a></div>
<!-- drop down menu community-->
<div id="dropmenu_community" class="dropmenudiv" style="width: 110px;">
<a href="community.php">Community Home</a>
<a href="forumslist.php">Forums</a>
<a href="groupslist.php">Clubs & Groepen</a>
<a href="chatslist.php">Chatboxen</a>
<a href="games.php">Spelletjes</a>
<a href="blogslist.php">Leden Weblogs</a></div>
<!-- drop down menu 5-->
<div id="dropmenu5" class="dropmenudiv" style="width: 100px;">
<a href="URL/">LINK</a></div>
<!-- drop down menu 6-->
<div id="dropmenu6" class="dropmenudiv" style="width: 100px;">
<a href="URL/">LINK</a></div>
<!-- drop down menu HELP-->
<div id="dropmenu_help" class="dropmenudiv" style="width: 50px;">
<a href="faq.php">FAQ</a></div>
<script type="text/javascript">
//tabdropdown.initializetabmenu("tab_menu_id", optional_selected_tab_number)
//ie: tabdropdown.initializetabmenu("tab_menu_id", 2)
tabdropdown.initializetabmenu("shademenu")
</script></td>
now the index is a link , but i also want the other images to be a link on his own.
Any suggestions?