See Website Mouseover link doesn't open some DIVlayers.

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

  1. #1

    Default See Website Mouseover link doesn't open some DIVlayers.

    Hi!

    Can somebody please tell me why certain div layers show up while others don't
    when mousing over the menu. I have attached the code and also posted the
    offending page at [url]http://yrchlaw.com/miscpages/gtrtext-nojava_layers.htm[/url] Mouse
    over the menu on the left and the corresponding text will load into the layer
    but as you will, many don't. (Health Insurance, Patient Safety, etc.)

    Thanks!

    Greg

    bicycleyguy Guest

  2. Similar Questions and Discussions

    1. Creating a website link in XML and having AS 2.0 seeingit.
      Hi and Thanks for reading this, How do you create a hyperlink to a website in XML that can be seen in flash actionscript 2.0? Do I need to...
    2. Can't open my website
      With Contribute 3, When I click on "Begin editing my website", everything closes and I'm back to my desktop!
    3. Streaming 1 video set off by a link from a website
      Hi Ive used serv-u alot but this is very different. I need some help seeing as i havnt got a clue how to do this. I want to put a link on my site...
    4. Link to development version of docs on website?
      I know they can be accessed at developer.postgresql.org, but I didn't see a link to the docs for postgresql 8 on the new website, did I miss it...
    5. Looking for website showing value of used PB or open toopinions
      Jimin article 3EF5F493.4DA7999C@prodigy.net, Jim at antispamaddress@prodigy.net wrote on 23/6/03 4:26 AM: <http://www.everymac.com/>
  3. #2

    Default Re: See Website Mouseover link doesn't open some DIV layers.

    It could be the multiple use of the same ID -

    <div id="Layer1" style="position:absolute; left:542px; top:33px;
    width:590px; height:497px; z-index:1; background-color: #00CCFF;
    layer-background-color: #00CCFF; border: 1px none #000000; visibility:
    hidden;"></div>
    <div id="Layer1" style="position:absolute; left:542px; top:33px;
    width:590px; height:497px; z-index:1; background-color: #00CCFF;
    layer-background-color: #00CCFF; border: 1px none #000000; visibility:
    hidden;"></div>
    <div id="Layer1" style="position:absolute; left:542px; top:33px;
    width:590px; height:497px; z-index:1; background-color: #00CCFF;
    layer-background-color: #00CCFF; border: 1px none #000000; visibility:
    hidden;"></div>
    <div id="Layer1" style="position:absolute; left:542px; top:33px;
    width:590px; height:497px; z-index:1; background-color: #00CCFF;
    layer-background-color: #00CCFF; border: 1px none #000000; visibility:
    hidden;"></div>

    at the top of the page?

    I have to say that I think this is a very bad way to layout the page. First
    of all - do you have to pass some kind of accessibility guidelines?
    Secondly, since you have used hidden layers for *all* the content on the
    page, you have a hefty page that is -

    Total HTTP Requests: 3
    Total Size: 98313 bytes

    Object Size Totals
    Object type Size (bytes)
    HTML: 97225
    HTML Images: 0
    CSS Images: 0
    Total Images: 0
    Javascript: 0
    CSS: 1088
    Multimedia: 0
    Other: 0


    Next, as the visitor increases their text size in the browser, you get an
    overlapping mess (I already get that in FF). I just don't like it....

    Finally, the problem you are seeing is caused by duplication of names. See
    for example, this markup (which works) -

    <div id="over" style="position:absolute; left:542px; top:33px; width:590px;
    height:497px; z-index:1; background-color: #00CCFF; layer-background-color:
    #00CCFF; border: 1px none #000000; visibility: hidden;">
    <p class="GTRHeaders"><a name="overview"></a>An Overview, and an
    Introduction</p>

    Note that the div is named with id="over" while the named anchor is named
    with name="overview" - no duplication there.

    On the other hand this markup -

    <div id="health" style="position:absolute; left:542px; top:33px;
    width:590px; height:497px; z-index:1; background-color: #00CCFF;
    layer-background-color: #00CCFF; border: 1px none #000000; visibility:
    hidden;">
    <p class="NuBodyBK">&nbsp; </p>
    <p class="NuBody"><br>
    <span class="GTRHeaders"><a name="health"></a>Health
    Insurance</span></p>

    shows that your div has id="health" *and* the named anchor has
    name="health", and that's the one that fails. The same would be true for
    this one that fails, too -

    <div id="patient" style="position:absolute; left:542px; top:33px;
    width:590px; height:497px; z-index:1; background-color: #00CCFF;
    layer-background-color: #00CCFF; border: 1px none #000000; visibility:
    hidden;">
    <p class="GTRHeaders"><a name="patient"></a>PATIENT SAFETY</p>


    --
    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
    ==================


    "bicycleyguy" <webforumsuser@macromedia.com> wrote in message
    news:dlnrb7$h61$1@forums.macromedia.com...
    > Hi!
    >
    > Can somebody please tell me why certain div layers show up while others
    > don't
    > when mousing over the menu. I have attached the code and also posted the
    > offending page at [url]http://yrchlaw.com/miscpages/gtrtext-nojava_layers.htm[/url]
    > Mouse
    > over the menu on the left and the corresponding text will load into the
    > layer
    > but as you will, many don't. (Health Insurance, Patient Safety, etc.)
    >
    > Thanks!
    >
    > Greg
    >

    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