Ask a Question related to Macromedia Fireworks, Design and Development.

  1. #1

    Default pop-ups in frames

    Hi all,

    I've set up a pop-up navigation menu where the pop-ups are displayed in a different frame than the triggering element (as per the fireworks technote 16648). The basic set-up is that I have a 'menu' frame sitting above a content frame. The menu buttons are displayed horizontally. Some of the buttons have pop-up behaviour and some don't. When a button is "OnMouseOver"d the pop-up items are displayed in the content frame, below the relevant button.

    The pop-ups work well but there is a small problem with the OnMouseOut behaviour in the triggering element:

    When I "MouseOver" a triggering element, the pop-up appears as expected. However if I "MouseOut" from that element onto a button that doesn't have pop-up behaviour the pop-up continues to be displayed. (until I mouseover another button that has pop-up behaviour.)

    The OnMouseOut works OK in the content frame; i.e. if I Mouseover a button then move the pointer down onto the pop-up items and then across or down onto the actual content, the pop-up menu closes.

    I assume that what I have to do is make the OnMouseOut events on the menu page clear the pop-ups in the content page, however I'm having a lot of trouble getting my head around the JavaScipt functions that do this. Any suggestions would be greatly appreciated.

    thanks,

    Peter
    Wombat@work



    Peter Knox webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Frames Help
      I have a site with a side frame that is acting a little bit wierd, and i cant figure out why. The side frame basically calls other things, using...
    2. php like frames?
      Someone told me that you can use php to make a webpage that works like having frames. (Boy that's a cryptic statement) Let me try to explain....
    3. Why frames?
      One reason not to use Quark is that they use frames for anything.... Does anybody know why InDesign needs to use frames instead of just placing...
    4. frames and php
      I have a html page divided into three frames (and I'm a total newbie to php) if i need to say click on an image in the first frame which I...
    5. new frames
      every time i create a frame 2 or wut ever it is the same as frame 1. i dont know how to make that frame its own frame
  3. #2

    Default Re: pop-ups in frames

    Peter:

    It is true. Your choices are limited now -

    1. DUMP THE FRAMES - you would not be having this problem in a non-framed
    site.
    2. Redesign your menus so that they do not need to span a frame boundary.
    3. Redesign the frameset so that you leave enough room for the largest
    popup.
    4. Move the layer code for the popups from the page in the navigation frame
    to each page in the content frame.
    5. DUMP THE FRAMES - you would not be having this problem in a non-framed
    site.

    I recommend either #1 or #5, depending on what your needs are. You just
    have no idea the horrors that await you if you continue with the frames.....
    8)

    Furthermore, as long as you need to reconsider things, reconsider the
    pop-ups too.

    The DW/FW pop-ups will add at least 35K of code overhead to the first page
    using them, as well as a large dynamic write to *each* page containing the
    menus.

    You should also know that they link to your files using document relative
    links that are hardcoded in your javacript - not only are these links
    invisible to the DW link management routines (i.e., when you move a page in
    the site, you break the link), but worse, they are also invisible to the
    search engine spiders, and accessability (508) requirements. The only way to
    solve the second problem is to make sure that your pages have alternate,
    HTML-based navigation links on them.

    I am not fond of these menus (as you have no doubt guessed) and feel that it
    is important to know what you are getting into before you may devote much
    time to them.

    There are some excellent alternatives to these pop-ups that have none of
    these problems. Here are two methods that are very simple -

    [url]http://www.projectseven.com/tutorials/menuing/mcloser/index.htm[/url]

    or

    [url]http://www.projectseven.com/tutorials/auto_hide/index.htm[/url]

    Here is a method that is more 'hands on' but very slick and equally trouble
    free -

    [url]http://www.youngpup.net/?request=/components/ypSlideOutMenus.xml[/url]



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

    "Peter Knox" <webforumsuser@macromedia.com> wrote in message
    news:bms59d$cri$1@forums.macromedia.com...
    > Hi all,
    >
    > I've set up a pop-up navigation menu where the pop-ups are displayed in a
    different frame than the triggering element (as per the fireworks technote
    16648). The basic set-up is that I have a 'menu' frame sitting above a
    content frame. The menu buttons are displayed horizontally. Some of the
    buttons have pop-up behaviour and some don't. When a button is
    "OnMouseOver"d the pop-up items are displayed in the content frame, below
    the relevant button.
    >
    > The pop-ups work well but there is a small problem with the OnMouseOut
    behaviour in the triggering element:
    >
    > When I "MouseOver" a triggering element, the pop-up appears as expected.
    However if I "MouseOut" from that element onto a button that doesn't have
    pop-up behaviour the pop-up continues to be displayed. (until I mouseover
    another button that has pop-up behaviour.)
    >
    > The OnMouseOut works OK in the content frame; i.e. if I Mouseover a button
    then move the pointer down onto the pop-up items and then across or down
    onto the actual content, the pop-up menu closes.
    >
    > I assume that what I have to do is make the OnMouseOut events on the menu
    page clear the pop-ups in the content page, however I'm having a lot of
    trouble getting my head around the JavaScipt functions that do this. Any
    suggestions would be greatly appreciated.
    >
    > thanks,
    >
    > Peter
    > Wombat@work
    >
    >
    >

    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