Can't add a pop-up menu into page

Discussion in 'HTML & Website Design' started by Notting, Sep 4, 2007.

  1. #1
    For some reason dreamweaver will not allow me to add a pop up menu into a hotspot using behaviours. I cannot work out why. Can you see any reason in the code why dreamweaver would not let me do this?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    
    <link href="../style.css" rel="stylesheet" type="text/css">
    
    </head>
    
    <body>
    <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="843"><table width="100%"  border="00" cellpadding="00" cellspacing="00">
          <tr>
            <td valign="top" bordercolor="0">
              <p><img src="../assets/images/header.jpg" width="800" height="158" border="0"></p>
              </td>
          </tr>
          <tr>
            <td valign="top" bordercolor="0"><p><img src="../assets/images/headerlower2.2.jpg" width="800" height="113" border="0" usemap="#Map"></p>          </td>
          </tr>
        </table>    
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr valign="top">
              <td width="23%" bordercolor="0" background="../assets/images/leftmenuspacer.jpg"><table width="30%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top"><img src="../assets/images/leftmenu1.2.jpg" width="195" height="235" border="0" usemap="#Map2"></td>
                </tr>
              </table>                        </td>
              <td width="77%" background-repeat: no-repeat;><table width="100%"  border="0" cellpadding="15" cellspacing="0" id="gradient">
                <tr>
                  <td height="251" valign="top" background="Drag to a file to choose it."><!-- TemplateBeginEditable name="Content1" -->
                    <h1>Content</h1>
                    <p>Content</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <!-- TemplateEndEditable --></td>
                </tr>
              </table>          </td>
            </tr>
          </table>
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="../assets/images/conentbottomdivider.jpg" width="800" height="82"></td>
            </tr>
          </table>      
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="97"><div align="center">
                <p>Emigrating Expert , John Harvey House, Foundry Square, Hayle, Cornwall, TR27 4HH<br>
                    <br>
                  <a href="../index.htm">Home</a> | <a href="../aboutus.htm">About Us</a> | <a href="../contactus.htm">Contact Us</a> | <a href="../links.htm">Useful Links</a> |  <a href="../site_map.htm"> Sitemap</a> | <a href="../privacy.htm">Privacy</a> | <a href="../disclaimer.htm">Disclaimer</a> </p>
              </div></td>
            </tr>
            <tr>
              <td bordercolor="#000000"><p><img src="../assets/images/pagebottom.jpg" width="800" height="57"></p>
              </td>
            </tr>
        </table>    </td>
      </tr>
    </table>
    <p>
      <map name="Map">
        <area shape="rect" coords="39,63,118,92" href="../index.htm">
        <area shape="rect" coords="39,99,151,118" href="../aboutus.htm">
      </map>
      <map name="Map2">
        <area shape="rect" coords="40,14,48,16" href="#">
        <area shape="rect" coords="39,-9,149,9" href="../aboutus.htm">
        <area shape="rect" coords="42,15,143,65" href="../new_zealand.htm">
        <area shape="rect" coords="40,73,146,102" href="../australia.htm">
        <area shape="rect" coords="40,107,146,139" href="../FAQs.htm">
        <area shape="rect" coords="39,142,145,169" href="../news.htm">
        <area shape="rect" coords="41,171,139,199" href="../links.htm">
        <area shape="rect" coords="40,205,177,232" href="../contactus.htm">
      </map>
    </p>
    </body>
    </html>
    
    HTML:
    i want to add the dro down into an area on map 2

    Any help is appreciated

    Thanks
    Notting
     
    Notting, Sep 4, 2007 IP
  2. VimF

    VimF Well-Known Member

    Messages:
    307
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Then you could use a text editor to add the behaviour

    <area shape="rect" coords="40,14,48,16" href="#" onMouseOver="function();">
     
    VimF, Sep 4, 2007 IP