简体   繁体   English

我如何在此下拉菜单中添加第二列?

[英]How would i add a second column to this drop down menu?

How would I add a second column to this drop down menu? 如何在此下拉菜单中添加第二列?

I'm using images instead of text. 我使用的是图片而不是文字。 I know I've got tables in tables and images that are the wrong size etc but its just a test at the moment. 我知道我的表格中的表格和图像的大小等错误,但目前仅是测试。 If you can think of anything else to improve this menu please let me know. 如果您有其他想法可以改善此菜单,请告诉我。 I hardly know anything about coding and didn't make this. 我几乎对编码一无所知,没有做到这一点。

If you see anything google may not be happy with with this than please let me know as well. 如果您发现Google可能对此不满意,请告诉我。 There's a hidden value in there and I'm not sure if that's ok with seo because I don't understand how that hidden value functions 那里有一个隐藏的价值,我不确定seo是否可以接受,因为我不了解该隐藏的价值是如何运作的

<style>
    table.menu
    {
        font-size:100%;
        position:absolute;
        visibility:hidden;
    }
</style>

<script type="text/javascript">
    function showmenu(elmnt)
    {
       document.getElementById(elmnt).style.visibility="visible";
    }
    function hidemenu(elmnt)
    {
       document.getElementById(elmnt).style.visibility="hidden";
    }
</script>

<table border="1" cellspacing="1" width="60" height="60">
  <tr>
    <td width="60" height="60">
        <table width="60" height="60">
          <tr bgcolor="#FFFFFF">
            <td onmouseover="showmenu('Graphic Design')" onmouseout="hidemenu('Graphic Design')">
               <img src="Thumbs/plus.png" width="60" height="60"><br />
               <table class="menu" id="Graphic Design" width="60">
                   <tr>
                      <td class="menu"><a href="www.techagesite.com/meboy.htm">
                        <img src="thumbs/angry-birds-iphone-4-wallpaper-mobile-05_small.jpg" width="100"   height="150">
                      </td>
                   </tr>
                   <tr>
                      <td class="menu"><a href="www.techagesite.com/meboy.htm">
                        <img src="thumbs/angry-birds-iphone-4-wallpaper-mobile-05_small.jpg" width="100" height="150">
                      </td>
                  </tr>
               </table>
            </td>
          </td>
       </tr>
      </table>
    </td>
  </tr>
</table> 

Hmm, wont let me comment for some reason. 嗯,由于某种原因,我不会发表评论。 Note: This is not intended to be an answer. 注意:这不是要回答。

Tables should only really be used to store tabular data, could you provide more information as to what your trying to do. 表格仅应真正用于存储表格数据,是否可以提供有关尝试操作的更多信息。 What is the drop down menu for, navigation or displaying items? 导航或显示项目的下拉菜单是什么? The difference will determine what the appropriate controls are for your scenario. 差异将确定适合您的方案的控件。

将您的图片放置在DIV中,因为每个图片都有一个无序列表,该列表默认情况下会禁用该类,然后在悬停时通过javascript进行激活。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM