|
| Re: Pop up menu - Dreamweaver |
 |
Sun, 04 May 2008 05:17:38 -040 |
DreamChristine wrote:
> I found this awesome tutorial
> http://www.maagraphics.com/tutorials/drop-down-menus-in-fireworks.htm for
> creating drop down menus in Fireworks and I created it just fine, looks
> fabulous. I also added a swap image effect, love it. Problem is I am trying
to
> get it onto Dreamweaver and its not working.
>
> 11. Then go to File/ Export and select the location you want to save
them.
> Open the folder there you can find a file called mm_menu.js which has the
code
> for the drop-down menus created by Fireworks. The menu items will be coded
in
> the head content of the page.
That last step is the problem. First, the site must be properly defined
in Dreamweaver. Second, the menu must be exported to the site root.
Place your cursor on the page where you want to place the menu, and then
use the Dreamweaver Insert > Image Objects > Fireworks HTML feature.
Note that these menus are not the best navigation solution for a website.
--
Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
--------------------------------------------------------------
http://www.projectseven.com
Fireworks Newsgroup: news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
http://www.adobe.com/communities/experts/
|
| Post Reply
|
| Pop up menu - Dreamweaver |
 |
Sun, 4 May 2008 06:56:03 +0000 |
I found this awesome tutorial
http://www.maagraphics.com/tutorials/drop-down-menus-in-fireworks.htm for
creating drop down menus in Fireworks and I created it just fine, looks
fabulous. I also added a swap image effect, love it. Problem is I am trying to
get it onto Dreamweaver and its not working.
11. Then go to File/ Export and select the location you want to save them.
Open the folder there you can find a file called mm_menu.js which has the code
for the drop-down menus created by Fireworks. The menu items will be coded in
the head content of the page.
I found the folder alright and I understood when it says the menu items will
be coded in the head content of the page..I think. I might have placed it wrong
but I think no matter where I placed it the text wouldnt appear when I preview
the site, it would just not work, but the text appears above the header of the
my site,, pretty much above my entire site. The code located in mm_menu.js is
located below, I tried inserting the code right below the <head> cuz to my
knowledge that is the head content. When I saw that the code text only appeared
on the site I wondered if I should delete all the . I wasnt sure if that
was apart of the code cuz though I am familiar with basic html I know nothing
about those symbols there, so, I tried getting rid of them all and still same
problem. Not exactly what it is I am doing wrong, I followed the tutorial
exactly... If you want to see the entire code of the site I can attach it.
var mmOpenContainer = null;
var mmOpenMenus = null;
var mmHideMenuTimer = null;
function MM_menuStartTimeout(hideTimeout) {
mmHideMenuTimer = setTimeout("MM_menuHideMenus()", hideTimeout);
}
function MM_menuHideMenus() {
MM_menuResetTimeout();
if(mmOpenContainer) {
var c = document.getElementById(mmOpenContainer);
c.style.visibility = "inherit";
mmOpenContainer = null;
}
if( mmOpenMenus ) {
for(var i = 0; i < mmOpenMenus.length ; i++) {
var m = document.getElementById(mmOpenMenus[i]);
m.style.visibility = "hidden";
}
mmOpenMenus = null;
}
}
function MM_menuHideSubmenus(menuName) {
if( mmOpenMenus ) {
var h = false;
var c = 0;
for(var i = 0; i < mmOpenMenus.length ; i++) {
if( h ) {
var m = document.getElementById(mmOpenMenus[i]);
m.style.visibility = "hidden";
} else if( mmOpenMenus[i] == menuName ) {
h = true;
} else {
c++;
}
}
mmOpenMenus.length = c+1;
}
}
function MM_menuOverMenuItem(menuName, subMenuSuffix) {
MM_menuResetTimeout();
MM_menuHideSubmenus(menuName);
if( subMenuSuffix ) {
var subMenuName = "" + menuName + "_" + subMenuSuffix;
MM_menuShowSubMenu(subMenuName);
}
}
function MM_menuShowSubMenu(subMenuName) {
MM_menuResetTimeout();
var e = document.getElementById(subMenuName);
e.style.visibility = "inherit";
if( !mmOpenMenus ) {
mmOpenMenus = new Array;
}
mmOpenMenus[mmOpenMenus.length] = "" + subMenuName;
}
function MM_menuResetTimeout() {
if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
mmHideMenuTimer = null;
}
function MM_menuShowMenu(containName, menuName, xOffset, yOffset, triggerName)
{
MM_menuHideMenus();
MM_menuResetTimeout();
MM_menuShowMenuContainer(containName, xOffset, yOffset, triggerName);
MM_menuShowSubMenu(menuName);
}
function MM_menuShowMenuContainer(containName, x, y, triggerName) {
var c = document.getElementById(containName);
var s = c.style;
s.visibility = "inherit";
mmOpenContainer = "" + containName;
}
|
| Post Reply
|
| Re: Pop up menu - Dreamweaver |
 |
Sun, 4 May 2008 12:08:26 -0400 |
> Note that these menus are not the best navigation solution for a website.
This is really an understatement. Please read this carefully to see why -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
There are other methods that are much better. If you want to know about
them, let us know.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"Linda Rathgeber" <lightly@sc.rr.com> wrote in message
news:fvjuvg$7md$1@forums.macromedia.com...
> DreamChristine wrote:
>> I found this awesome tutorial
>> http://www.maagraphics.com/tutorials/drop-down-menus-in-fireworks.htm
for
>> creating drop down menus in Fireworks and I created it just fine, looks
>> fabulous. I also added a swap image effect, love it. Problem is I am
>> trying to get it onto Dreamweaver and its not working.
>>
>> 11. Then go to File/ Export and select the location you want to save
>> them. Open the folder there you can find a file called mm_menu.js which
>> has the code for the drop-down menus created by Fireworks. The menu
items
>> will be coded in the head content of the page.
>
> That last step is the problem. First, the site must be properly defined in
> Dreamweaver. Second, the menu must be exported to the site root. Place
> your cursor on the page where you want to place the menu, and then use the
> Dreamweaver Insert > Image Objects > Fireworks HTML feature. Note
that
> these menus are not the best navigation solution for a website.
>
> --
> Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
> --------------------------------------------------------------
> http://www.projectseven.com
> Fireworks Newsgroup: news://forums.projectseven.com/fireworks/
> CSS Newsgroup: news://forums.projectseven.com/css/
> http://www.adobe.com/communities/experts/
> --------------------------------------------------------------
|
| Post Reply
|
| Re: Pop up menu - Dreamweaver |
 |
Mon, 5 May 2008 01:53:30 +0000 |
I already stated in my post that I already read that website. It was
interesting yes but they wouldnt make something that wouldnt work. Maybe hard
to use or learn but not impossible. What do you mean properly defined in
Dreamweaver? The entire site is made in Dreamweaver.
And yes if there are other methods that would be easier please share. After
reading that website I searched the web for other options. I found two options:
1.) Use intensely complicated code 2.) Pay for a program thatll do it for you.
I found a way to put them in Dreamweaver, where it does it for you, but you
cant customize it all too well.. But I think this would be a nice effect for my
site.. just cant find a way to do it.
|
| Post Reply
|
| Re: Pop up menu - Dreamweaver |
 |
Mon, 5 May 2008 16:09:12 -0400 |
>I already stated in my post that I already read that website. It was
> interesting yes but they wouldnt make something that wouldnt work.
Of course they could, and indeed they did. The menus they are using DO NOT
WORK in the way that you need them to for any use on the web.
> And yes if there are other methods that would be easier please share.
> After
> reading that website I searched the web for other options. I found two
> options:
> 1.) Use intensely complicated code 2.) Pay for a program thatll do it for
> you.
Those are about your only options.
Check the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"DreamChristine" <webforumsuser@macromedia.com> wrote in message
news:fvlpaq$4ac$1@forums.macromedia.com...
>I already stated in my post that I already read that website. It was
> interesting yes but they wouldnt make something that wouldnt work. Maybe
> hard
> to use or learn but not impossible. What do you mean properly defined in
> Dreamweaver? The entire site is made in Dreamweaver.
>
> And yes if there are other methods that would be easier please share.
> After
> reading that website I searched the web for other options. I found two
> options:
> 1.) Use intensely complicated code 2.) Pay for a program thatll do it for
> you.
>
> I found a way to put them in Dreamweaver, where it does it for you, but
> you
> cant customize it all too well.. But I think this would be a nice effect
> for my
> site.. just cant find a way to do it.
>
|
| Post Reply
|
|
|