CSS Rollover/showhidelayers problem

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default CSS Rollover/showhidelayers problem

    I have this bit of code (below) that I built out in dreamweaver. I am using
    the exact same showhidelayers and div tags setup for the entire page, however
    this one bit does not work right in firefox. I have an image, that image has
    an image map that when you roll over pulls up and hidden layer on top of the
    image. However the showhide flashes and will not stay on when the mouse is
    inside the imagemap hotspot. The hidden layer keeps flashing on and off untill
    the mouse is off the hotspot and then it goes back to being hidden. There is
    another link on the page that pulls the same div tag and that works perfectly.
    Idea's?

    <-- HTML -->

    <table align="left" bgcolor="#ffffff" border="0" cellpadding="0"
    cellspacing="0" width="588">
    <tr>
    <td width="401" valign="top"><table width="100%"
    border="0" cellpadding="15">
    <tr>
    <td valign="top"><div align="center">
    <!-- Start animated Map -->
    <div ID="location1" class="maps">
    <table width="319" border="1" cellpadding="0" cellspacing="0"
    bordercolor="#103658">
    <tr>
    <td><img
    src="../images/sub/maps/woodCreek_ani.gif" alt="Map of Wood Creek and
    surrounding area" width="319" height="319"></td>
    </tr>
    <tr>
    <td><table width="100%" border="0"
    cellspacing="0" cellpadding="12">
    <tr>
    <td valign="top"
    class="bodyText"><table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr>
    <td width="22" valign="top"
    align="center"><img src="../images/sub/maps/round_1.gif" alt="Number 1"
    width="22" height="22"></td>
    <td valign="top">Wood Creek Golf
    Community<br>
    Delmar, MD I Toll Free: 1.866.755.2727<br>
    <span class="popupText">From the $160?s<br>
    1325 ? 2488 sq. ft.<br>
    2-3 bedrooms<br>
    2-3 bathrooms</span>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table></td>
    </tr>
    </table>
    </div>
    <!-- stop animated map -->
    <table width="319" border="1" cellpadding="0" cellspacing="0"
    bordercolor="#103658">
    <tr>
    <td><img
    src="../images/sub/maps/woodCreek.gif" alt="Map of Wood Creek and surrounding
    area" width="319" height="319" border="0" usemap="#Map" id="Image1">
    <map name="Map"><area shape="circle" coords="233,150,11"
    href="../communityDetail.html"
    onMouseOver="MM_showHideLayers('location1','','sho w');"
    onMouseOut="MM_showHideLayers('location1','','hide ');">
    </map></td>
    </tr>
    <tr>
    <td><table width="100%" border="0"
    cellspacing="0" cellpadding="12">
    <tr>
    <td valign="top"
    class="bodyText"><table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr>
    <td width="22"
    valign="top">&nbsp;</td>
    <td valign="top">&nbsp;<br>
    &nbsp;<br>
    <span class="popupText">&nbsp;<br>
    &nbsp;<br>
    &nbsp;</span></td>
    </tr>
    </table>
    </td>
    </tr>
    </table></td>
    </tr>
    </table>
    </div></td>
    </tr>
    <tr>
    <td><p class="bodyText">&nbsp;</p>
    <p class="bodyText">&nbsp;</p>
    <p class="bodyText"><a href="#top"><img
    src="/images/sub/main/back_to_top.gif" alt="Back to the Top" width="87"
    height="11" border="0"></a></p></td>
    </tr>
    </table>

    <-- end HTML -->
    <-- start Styles -->
    .maps {
    color:#FFFFFF;
    background-color:#ffffff;
    layer-background-color:#ffffff;
    position:absolute;
    top:244px;
    left:227px;
    width:319px;
    height:431px;
    z-index:99;
    visibility:hidden;
    }
    <-- end styles -->

    buggy_DW Guest

  2. Similar Questions and Discussions

    1. Problem with disjointed rollover
      I am trying a disjointed rollover tutorial I came across. It opens a css picture frame in the same window in a hidden div. I decided to try and...
    2. Image Map Rollover Problem
      Hi Guys, I am trying to get an image map to display rollovers on a separate image somewhere else on the page.. i have copied the code bit for bit...
    3. Rollover
      take a look at this for example of rollovers... http://portfolio.jumpout.co.uk/examples/director "Robert Lee" <rjlee@earthling.net> wrote in...
    4. rollover image problem
      Hey out there. I've created three interactive rollover menu images which when the mouse passes over them they play an animated gif. The inactive...
    5. Rollover and making another rollover with links
      Hi, This website is nicely designed and the rollover menu design is simple, but clear and effective. http://earthtrends.wri.org/ Does...
  3. #2

    Default Re: CSS Rollover/showhidelayers problem

    Most likely the layer is appearing over top of the hotspot which masks the
    hotspot and triggers the mouseout which hides the layer, etc., etc., etc.

    Can you move the layer away from the hotspot?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "buggy_DW" <webforumsuser@macromedia.com> wrote in message
    news:dnslc5$q16$1@forums.macromedia.com...
    >I have this bit of code (below) that I built out in dreamweaver. I am
    >using
    > the exact same showhidelayers and div tags setup for the entire page,
    > however
    > this one bit does not work right in firefox. I have an image, that image
    > has
    > an image map that when you roll over pulls up and hidden layer on top of
    > the
    > image. However the showhide flashes and will not stay on when the mouse
    > is
    > inside the imagemap hotspot. The hidden layer keeps flashing on and off
    > untill
    > the mouse is off the hotspot and then it goes back to being hidden. There
    > is
    > another link on the page that pulls the same div tag and that works
    > perfectly.
    > Idea's?
    >
    > <-- HTML -->
    >
    > <table align="left" bgcolor="#ffffff" border="0" cellpadding="0"
    > cellspacing="0" width="588">
    > <tr>
    > <td width="401" valign="top"><table width="100%"
    > border="0" cellpadding="15">
    > <tr>
    > <td valign="top"><div align="center">
    > <!-- Start animated Map -->
    > <div ID="location1" class="maps">
    > <table width="319" border="1" cellpadding="0" cellspacing="0"
    > bordercolor="#103658">
    > <tr>
    > <td><img
    > src="../images/sub/maps/woodCreek_ani.gif" alt="Map of Wood Creek and
    > surrounding area" width="319" height="319"></td>
    > </tr>
    > <tr>
    > <td><table width="100%" border="0"
    > cellspacing="0" cellpadding="12">
    > <tr>
    > <td valign="top"
    > class="bodyText"><table width="100%" border="0" cellspacing="0"
    > cellpadding="2">
    > <tr>
    > <td width="22" valign="top"
    > align="center"><img src="../images/sub/maps/round_1.gif" alt="Number 1"
    > width="22" height="22"></td>
    > <td valign="top">Wood Creek
    > Golf
    > Community<br>
    > Delmar, MD I Toll Free: 1.866.755.2727<br>
    > <span class="popupText">From the $160?s<br>
    > 1325 ? 2488 sq. ft.<br>
    > 2-3 bedrooms<br>
    > 2-3 bathrooms</span>
    > </td>
    > </tr>
    > </table>
    > </td>
    > </tr>
    > </table></td>
    > </tr>
    > </table>
    > </div>
    > <!-- stop animated map -->
    > <table width="319" border="1" cellpadding="0" cellspacing="0"
    > bordercolor="#103658">
    > <tr>
    > <td><img
    > src="../images/sub/maps/woodCreek.gif" alt="Map of Wood Creek and
    > surrounding
    > area" width="319" height="319" border="0" usemap="#Map" id="Image1">
    > <map name="Map"><area shape="circle" coords="233,150,11"
    > href="../communityDetail.html"
    > onMouseOver="MM_showHideLayers('location1','','sho w');"
    > onMouseOut="MM_showHideLayers('location1','','hide ');">
    > </map></td>
    > </tr>
    > <tr>
    > <td><table width="100%" border="0"
    > cellspacing="0" cellpadding="12">
    > <tr>
    > <td valign="top"
    > class="bodyText"><table width="100%" border="0" cellspacing="0"
    > cellpadding="2">
    > <tr>
    > <td width="22"
    > valign="top">&nbsp;</td>
    > <td valign="top">&nbsp;<br>
    > &nbsp;<br>
    > <span class="popupText">&nbsp;<br>
    > &nbsp;<br>
    > &nbsp;</span></td>
    > </tr>
    > </table>
    > </td>
    > </tr>
    > </table></td>
    > </tr>
    > </table>
    > </div></td>
    > </tr>
    > <tr>
    > <td><p class="bodyText">&nbsp;</p>
    > <p class="bodyText">&nbsp;</p>
    > <p class="bodyText"><a href="#top"><img
    > src="/images/sub/main/back_to_top.gif" alt="Back to the Top" width="87"
    > height="11" border="0"></a></p></td>
    > </tr>
    > </table>
    >
    > <-- end HTML -->
    > <-- start Styles -->
    > .maps {
    > color:#FFFFFF;
    > background-color:#ffffff;
    > layer-background-color:#ffffff;
    > position:absolute;
    > top:244px;
    > left:227px;
    > width:319px;
    > height:431px;
    > z-index:99;
    > visibility:hidden;
    > }
    > <-- end styles -->
    >

    Murray *TMM* Guest

  4. #3

    Default Re: CSS Rollover/showhidelayers problem

    Yes I figured that was the cause but the showhidelayers nav I have setup works
    just fine. I can't move the image because it opens up a window that adds more
    information to the bottom of the table it's in (see code above).

    buggy_DW Guest

  5. #4

    Default Re: CSS Rollover/showhidelayers problem

    Then I don't think you can use this method.

    Or perhaps do this. Show the layer with the hotspot. Hide the layer by an
    onMouseOut event on the contents of the revealed layer. Then it won't
    flicker.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "buggy_DW" <webforumsuser@macromedia.com> wrote in message
    news:dnsql9$4m2$1@forums.macromedia.com...
    > Yes I figured that was the cause but the showhidelayers nav I have setup
    > works
    > just fine. I can't move the image because it opens up a window that adds
    > more
    > information to the bottom of the table it's in (see code above).
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139