Ask a Question related to Macromedia Fireworks, Design and Development.
-
Peter Knox webforumsuser@macromedia.com #1
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
-
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... -
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.... -
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... -
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... -
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 -
Murray *TMM* #2
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...different frame than the triggering element (as per the fireworks technote> Hi all,
>
> I've set up a pop-up navigation menu where the pop-ups are displayed in a
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.behaviour in the triggering element:>
> The pop-ups work well but there is a small problem with the OnMouseOutHowever if I "MouseOut" from that element onto a button that doesn't have>
> When I "MouseOver" a triggering element, the pop-up appears as expected.
pop-up behaviour the pop-up continues to be displayed. (until I mouseover
another button that has pop-up behaviour.)then move the pointer down onto the pop-up items and then across or down>
> The OnMouseOut works OK in the content frame; i.e. if I Mouseover a button
onto the actual content, the pop-up menu closes.page clear the pop-ups in the content page, however I'm having a lot of>
> I assume that what I have to do is make the OnMouseOut events on the menu
trouble getting my head around the JavaScipt functions that do this. Any
suggestions would be greatly appreciated.>
> thanks,
>
> Peter
> Wombat@work
>
>
>
Murray *TMM* Guest



Reply With Quote

