Javascript Pop Up Menu Positioning
I am creating an interactive PDF with popup menus using Javascript. The menus work great.
Is there a script that will let me control/lock the position of the popup menu so it will popup in a certain area or to line up with the right side of the button?
Does no one recognise this error?
Similar Messages
-
Vertical pop-up menu on the right
how to make a vertical pop-up menu on the left with submenu on the right?
Is it possible?
I am using dreamwever 5If you do decide on a SpryMenuBar then you need the style rules as hightlighted in the following to get the submenu items to fly out to the left.
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
<style>
ul.MenuBarVertical {
float: right;
ul.MenuBarVertical ul {
margin: 5% 0 0 -95%;
ul.MenuBarVertical a.MenuBarItemSubmenu,
ul.MenuBarVertical a.MenuBarItemSubmenuHover {
background-position: 5% 50%;
</style>
</head>
<body>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>
Gramps -
I have a pop-up menu in the first cell of every row with three choices (and I may add more at a later date). I want the fill color of the row to change depending on which thing is selected. Is this hard to do?
Hi,
In essence the same as Wayne's answer, but with a slight modification to fit to duplicate your 'color the whole row' specification. The final result, with Table 2 slid behind Table 1, is shown.
Table 2 is a single column table with the same number of rows as Table 1. The table is resized to match the full width of Table 1.
In A2, use the formula =Table 1::A2 to copy the value from that cell in Table 2. Fill the formula down through the rest of the column.
Select all the cells in Table 2 (except the header row), and apply conditional formatting rules such as those below.
Note that the Conditional Format rules are set to apply the same colour to text and fill in the cell, so that the text disappears.
When Table 2 is ready, select it, then go Arrange > Send to Back.
Before sliding Table 2 behind Table 1, Select Table 1 and use the Table Inspector to set the Cell Background to None (see red arrow in illustration). If This table has a Header column, you need to select the header cells independently and again set the Cell Background to None.
Now select Table 2 and drag it to a position partially under Table 1. When you see the blue alignment guides on both sides, or at the top and bottom, of Table 1, release the mouse button and use the arrow keys to nudge Table 2 into its final position.
Regards,
Barry -
Dreamweaver 8 Behaviors for pop-up menu
I am a novice user of Dreamweaver 8. I created a site using
pop-up Behaviors for a dropdown navigation bar. I've read about a
lot of problems others are having, but part of my problem I have
not been able to locate anywhere.
After I created my template and want to save changes to the
template and update the files based on this template, I go thru a
series of JavaScript errors. It never updates any files in the end
and sometimes shuts down the program. An example of ONE of the
error messages is:
At line 1654 of file "C:\Program Files\Macromedia/Dreamweaver
8\Configuration\Behaviors\Actions\Show Pop-up Menu.js": The
function saveDocument() is currently unavailable.
The more pages attached, the more error messages I get....
all are .js errors.
The other problem is the links from the pop-up. I've double
checked them in the behavior pop-up menu... they appear to be
correct and sometimes work, but not all the time.
Everything I read says that I should create the navigation
with pop-ups (drop down menus) in Fireworks. Is Dreamweaver that
unreliable that this can't be done within itself?
If anyone can tell me what I'm doing wrong to receive these
errors and how to correct my links so they are reliable, I would
very much appreciate it. I have recreated this site 6 times and the
errors are consistent.
Thanks, cjbyrnes>I am a novice user of Dreamweaver 8. I created a site
using pop-up
>Behaviors
> for a dropdown navigation bar. I've read about a lot of
problems others
> are
> having, but part of my problem I have not been able to
locate anywhere.
You read about all these problems, yet you pressed ahead and
used them? Why?
DW's Pop-up menus are incompatible with DW's templates.
Embarrassingly sad,
but true.
Did you read about and investigate any of the many
alternatives posted?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"cjbyrnes" <[email protected]> wrote in
message
news:[email protected]...
>I am a novice user of Dreamweaver 8. I created a site
using pop-up
>Behaviors
> for a dropdown navigation bar. I've read about a lot of
problems others
> are
> having, but part of my problem I have not been able to
locate anywhere.
>
> After I created my template and want to save changes to
the template and
> update the files based on this template, I go thru a
series of JavaScript
> errors. It never updates any files in the end and
sometimes shuts down the
> program. An example of ONE of the error messages is:
> At line 1654 of file "C:\Program
Files\Macromedia/Dreamweaver
> 8\Configuration\Behaviors\Actions\Show Pop-up Menu.js":
The function
> saveDocument() is currently unavailable.
> The more pages attached, the more error messages I
get.... all are .js
> errors.
>
> The other problem is the links from the pop-up. I've
double checked them
> in
> the behavior pop-up menu... they appear to be correct
and sometimes work,
> but
> not all the time.
>
> Everything I read says that I should create the
navigation with pop-ups
> (drop
> down menus) in Fireworks. Is Dreamweaver that unreliable
that this can't
> be
> done within itself?
>
> If anyone can tell me what I'm doing wrong to receive
these errors and how
> to
> correct my links so they are reliable, I would very much
appreciate it. I
> have
> recreated this site 6 times and the errors are
consistent.
>
> Thanks, cjbyrnes
> -
I'm having a problem with my site menu. The site works off a
template and all links are created in the template. I have a
central menu bar with rollover buttons, each with their own
drop-down menu (using the Show Pop-Up Menu behavior). When tested
in the browser, the menu drops down on mouse-over as it's supposed
to, but when the links in the drop-down menu are clicked on, an
error page comes up. The directory path specified in the Pop-Up
Menu behavior is correct, but changes inexplicably when tested in
the browser. All other links in the site (not in drop-down menu
format) function as they're supposed to. I have no clue how to fix
this problem. I think there may be a script error in the mm_menu.js
file which is automatically created by Dreamweaver, but am not sure
how to go about correcting this. Any ideas?> When creating pop-up menus everything works fine
You just think. Read this (written by the person who adapted
the original
Netscape code for Macromedia) -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
Those menus are a plague.
Anyhow, try this -
Troubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"montagrc" <[email protected]> wrote in
message
news:f2uhti$m9b$[email protected]..
> When creating pop-up menus everything works fine,
however, when I need to
> go in
> and edit a link, this error keeps occuring:
>
> "When executing inspectBehaviour in Show pop up
menu.htm, the following
> Javascript error(s) occured:
>
> At line 492 of file "C:\...Dreamweaver
> 8\Configuration\Behaviours\Actions|Show
> Pop -up Menu.js";
> TypeError: T.update is not a function."
>
> Anyone seen this before, noone in my workplace has, nor
has googling
> yielded
> any answers. Any thoughts/ideas/help greatly
appreciated.
>
> Using Dreamweaver 8, no extensions, update 8.02
> -
Troubleshooting pop-up menu in Dreamweaver 8
Hello,
I'm using Macromedia Dreamweaver 8.
1. Created a pop-menu woith 6 items all linking to 6 different anchors in a different page.
2. The first 5 items work fine - they link up to the 5 anchors in the destination page.
3. The 6th item when clicked simply closes the pop-menu and does not link to the anchor in the destination page.
(Completely checked the anchor name and also tested that anchor by linking from a different page).
Please reply asap.Please see HTML Code below:
thanks
allen
DSM Home.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Dying Seed Home</title>
<link href="DS_Home/DS_Home.css" rel="stylesheet" type="text/css" media="all"/>
<script language="JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_0802105338_0) return;
window.mm_menu_0802105338_0 = new Menu("root",120,23,"Arial Unicode MS",11,"#000000","#000000","#3399FF","#CCCCCC","le ft","middle",3,2,1000,-5,7,true,false,true,10,false,false);
mm_menu_0802105338_0.addMenuItem("History","window .open('About Us/Dark About Us.html#HISTORY', '_parent');");
mm_menu_0802105338_0.addMenuItem("Milestones","win dow.open('About Us/Dark About Us.html#MILESTONES', '_parent');");
mm_menu_0802105338_0.addMenuItem("Mission Sta tement","window.open('About Us/Dark About Us.html#MISSIONSTAT', '_parent');");
mm_menu_0802105338_0.addMenuItem("Faith State ment","window.open('About Us/Dark About Us.html#FAITHSTAT', '_parent');");
mm_menu_0802105338_0.addMenuItem("Finance","window .open('About Us/Dark About Us.html#FINANCE', '_parent');");
mm_menu_0802105338_0.addMenuItem("Contact Us" ,"window.open('About Us/Dark About Us.html#CONTACT', '_parent');");
mm_menu_0802105338_0.fontWeight="bold";
mm_menu_0802105338_0.hideOnMouseOut=true;
mm_menu_0802105338_0.bgColor='#555555';
mm_menu_0802105338_0.menuBorder=0;
mm_menu_0802105338_0.menuLiteBgColor='#FFFFFF';
mm_menu_0802105338_0.menuBorderBgColor='#777777';
window.mm_menu_0803160751_0 = new Menu("root",172,23,"Arial Unicode MS",11,"#000000","#000000","#3399FF","#CCCCCC","le ft","middle",3,2,1000,-5,7,true,false,true,10,false,false);
mm_menu_0803160751_0.addMenuItem("Administration", "window.open('DS National/DS-National.html#ADMINS', '_parent');");
mm_menu_0803160751_0.addMenuItem("Legacy","window. open('DS National/DS-National.html#LEGACY', '_parent');");
mm_menu_0803160751_0.addMenuItem("Departments","wi ndow.open('DS National/DS-National.html#DEPTS', '_parent');");
mm_menu_0803160751_0.addMenuItem("All India", "window.open('DS National/DS-National.html#ALLINDIA', '_parent');");
mm_menu_0803160751_0.addMenuItem("National Pr omotion","window.open('DS National/DS-National.html#NATPROMO', '_parent');");
mm_menu_0803160751_0.addMenuItem("Dying Seed& nbsp;Vision Institute","window.open('DS National/DS-National.html#DSVI', '_parent');");
mm_menu_0803160751_0.fontWeight="bold";
mm_menu_0803160751_0.hideOnMouseOut=true;
mm_menu_0803160751_0.bgColor='#555555';
mm_menu_0803160751_0.menuBorder=0;
mm_menu_0803160751_0.menuLiteBgColor='#FFFFFF';
mm_menu_0803160751_0.menuBorderBgColor='#777777';
window.mm_menu_0804102108_0 = new Menu("root",138,23,"Arial Unicode MS",11,"#000000","#000000","#3399FF","#CCCCCC","le ft","middle",3,2,1000,-5,7,true,false,true,10,true,false);
mm_menu_0804102108_0.addMenuItem("Call && nbsp;Vision","window.open('DS International/DS-International.html#CALLVISN', '_parent');");
mm_menu_0804102108_0.addMenuItem("Patrons &&a mp;nbsp;Partners","window.open('DS International/DS-International.html#PATPART', '_parent');");
mm_menu_0804102108_0.addMenuItem("Overseas Mi nistry","window.open('DS International/DS-International.html#OVERMISS', '_parent');");
mm_menu_0804102108_0.addMenuItem("Contact Us" );
mm_menu_0804102108_0.fontWeight="bold";
mm_menu_0804102108_0.hideOnMouseOut=true;
mm_menu_0804102108_0.bgColor='#555555';
mm_menu_0804102108_0.menuBorder=0;
mm_menu_0804102108_0.menuLiteBgColor='#FFFFFF';
mm_menu_0804102108_0.menuBorderBgColor='#777777';
mm_menu_0804102108_0.writeMenus();
} // mmLoadMenus()
function MM_initTimelines() { //v4.0
//MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
var ns = navigator.appName == "Netscape";
var ns4 = (ns && parseInt(navigator.appVersion) == 4);
var ns5 = (ns && parseInt(navigator.appVersion) > 4);
var macIE5 = (navigator.platform ? (navigator.platform == "MacPPC") : false) && (navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4);
document.MM_Time = new Array(1);
document.MM_Time[0] = new Array(1);
document.MM_Time["Timeline1"] = document.MM_Time[0];
document.MM_Time[0].MM_Name = "Timeline1";
document.MM_Time[0].fps = 15;
document.MM_Time[0][0] = new String("sprite");
document.MM_Time[0][0].slot = 1;
if (ns4)
document.MM_Time[0][0].obj = document["Layer2"];
else if (ns5)
document.MM_Time[0][0].obj = document.getElementById("Layer2");
else
document.MM_Time[0][0].obj = document.all ? document.all["Layer2"] : null;
document.MM_Time[0][0].keyFrames = new Array(1, 15);
document.MM_Time[0][0].values = new Array(5);
if (ns5 || macIE5)
document.MM_Time[0][0].values[0] = new Array("318px", "318px", "318px", "318px", "318px", "318px", "318px", "318px", "317px", "317px", "317px", "317px", "317px", "317px", "317px");
else
document.MM_Time[0][0].values[0] = new Array(318,318,318,318,318,318,318,318,317,317,317, 317,317,317,317);
document.MM_Time[0][0].values[0].prop = "left";
if (ns5 || macIE5)
document.MM_Time[0][0].values[1] = new Array("78px", "78px", "79px", "79px", "79px", "79px", "80px", "80px", "80px", "81px", "81px", "81px", "81px", "82px", "82px");
else
document.MM_Time[0][0].values[1] = new Array(78,78,79,79,79,79,80,80,80,81,81,81,81,82,82 );
document.MM_Time[0][0].values[1].prop = "top";
if (!ns4) {
document.MM_Time[0][0].values[0].prop2 = "style";
document.MM_Time[0][0].values[1].prop2 = "style";
if (ns5 || macIE5)
document.MM_Time[0][0].values[2] = new Array("0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px");
else
document.MM_Time[0][0].values[2] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
document.MM_Time[0][0].values[2].prop = "width";
if (!ns4)
document.MM_Time[0][0].values[2].prop2 = "style";
if (ns5 || macIE5)
document.MM_Time[0][0].values[3] = new Array("0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px");
else
document.MM_Time[0][0].values[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
document.MM_Time[0][0].values[3].prop = "height";
if (!ns4)
document.MM_Time[0][0].values[3].prop2 = "style";
document.MM_Time[0][0].values[4] = new Array("0","0");
document.MM_Time[0][0].values[4].prop = "zIndex";
if (!ns4)
document.MM_Time[0][0].values[4].prop2 = "style";
document.MM_Time[0].lastFrame = 15;
for (i=0; i<document.MM_Time.length; i++) {
document.MM_Time[i].ID = null;
document.MM_Time[i].curFrame = 0;
document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
//-->
</script>
<script language="JavaScript" src="DS_Home/mm_menu.js"></script>
</head>
<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
<h1 align="center"><img src="Images/Dark_Wheat banner.jpg" alt="" name="WheatBanner" width="1085" height="230" id="WheatBanner" /></h1>
<div id="Layer1">
<p align="center"><span class="verse1">Unless a grain of wheat falls into the
earth and dies, it remains alone, but if it dies it bears much fruit. John
12:24</span></p>
</div>
<div id="Layer2" width="50" align="center"><span class="welcome">Welcome to Dying
Seed!</span> </div>
<div id="Layer6" align="center">
<p align="right" class="slogan">Dying Seed is carved in
this stone: ‘You gain by losing; you reap by sowing; you live by dying’<br /><br />
</p>
</div>
<div id="Layer12"><span class="slogan">.….and when God’s hand carves,
never miss it!</span></div>
<h1 align="center" class="slogan"> </h1>
<div id="Layer7"><img src="Images/pinned-up2.jpg" width="200" height="262" alt="pics" /></div>
<div id="Layer5">
<table width="915" height="41" align="center">
<tr>
<th width="125" align="center" valign="bottom" scope="col"><span class="menutxt"> <a href="#" name="link4" id="link1" onmouseover="MM_showMenu(window.mm_menu_0802105338 _0,0,-148,null,'link4')" onmouseout="MM_startTimeout();">About
Us</a></span></th>
<th width="183" align="center" valign="bottom" scope="col"><span class="menutxt"><a href="#" name="link5" id="link2" onmouseover="MM_showMenu(window.mm_menu_0803160751 _0,0,-148,null,'link5')" onmouseout="MM_startTimeout();">DS
National</a></span></th>
<th width="209" align="center" valign="bottom" scope="col"><span class="menutxt"><a href="#" name="link7" id="link3" onmouseover="MM_showMenu(window.mm_menu_0804102108 _0,0,-98,null,'link7')" onmouseout="MM_startTimeout();">DS
International </a></span></th>
<th width="222" align="center" valign="bottom" scope="col"><span class="menutxt"><a href="#">Future
Objectives </a></span></th>
<th width="152" align="center" valign="bottom" scope="col"><span class="menutxt"><a href="#">Gallery</a></span></th>
</tr>
</table>
</div>
<div id="Layer9">
<div align="left"><span class="style1">Ever wondered about the grandeur of simplicity?</span> &nb sp; <span class="style1">See
our <a href="About Us/Dark About Us.html#HISTORY" target="_parent" class="blinks">History</a></span></div>
</div>
<div id="Layer10"><span class="style1">Or known what He can do with rugged perseverance?</span> <span class="style1">Stop
by our <a href="About Us/Dark About Us.html#MISSIONSTAT" class="blinks">Mission</a></span></div>
<div id="Layer11">
<div align="left"><span class="style1">But to know what God is yet to do?</span><span class="style1">   ; & nbsp; &nb sp;   ; Stay
with <a href="About Us/Dark About Us.html#CONTACT" class="blinks">us</a></span></div>
</div>
</body>
</html>Step away from the keyboard.
Don't use those pop-up menus. They are really awful.
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.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"aebell" <[email protected]> wrote in
message
news:ern5k6$b$[email protected]..
> Hello,
>
> Someone please help me..... I can't get the show-pop up
menu to work in
> IE browser. What do I do? -
I am learning to create a website using dreamweaver, fireworks and photoshop. I created a sample website using these tools. Initially I created a layout in photoshop followed by web slices in fireworks. Later I exported my work in dreamweaver to complete the website. I saved my layout as a template so that any changes get updated automatically in all pages. To add a rollover image menu, pop-up/drop-down menu in template, I switched back to fireworks within dreamweaver. I created rollover image menu successfully and even drop-down too. It worked fine in fireworks preview window. I finished my editing in fireworks and switched back to dreamweaver and updated the changes in template. when I previewed that template, the rollover and pop-up menu worked fine on all menu item(on mouse over). when i clicked a menu item/page /link, it follows to the page correctly and rollover worked still fine and smooth but pop-up menu failed as if i never created one. I tried reloading the page but it failed.
Again I loaded a preview from template and it worked. when I click any menu, it failed. But the rollover works well. I tried to repeat my steps from beginning and the result is the same.
I tried for preview from individual pages, no pop-up emerged. Later I observed that pop-up javascript is located in all pages but never works on execution. It works only in the template from which I created all other pages but it still fails on clicking other links in same template preview. Please help me. This stopped me from moving to next lessons.Please elaborate
which version of Dreamweaver
the location of the lessons that you are following
a copy of the code that you have created
This will place us on the same footing and enable us to help you. -
Pop-up menu feature and IE issues
I am using Firework MX 2004, Version 7.0 Build 288, to create drop down menus using the “Pop-up Menu” feature. The pop-up menus that I create work great in Netscape and Firefox, but fair in IE 6.0. The pop-up menus appear under certain elements such as select boxes in IE 6.0. I have read and tried some of the solutions on Blogs in regard to setting the z-index in div tags, but to no avail. Any help or work around would be greatly appreciated! Unfortunately, the huge company I work at switched from Netscape to IE 6.0 as the corporate platform, and I don’t have the patients to upgrade Fireworks if that is the solution. The last time I upgraded from Fireworks 4 toFirework MX 2004 the Macromedia Tech Support area had to e-mail me special registry entries for the product registration to work, and it took a very long time. I still have the emails to remind me of the pain. Thanks William!
I found this: http://kb2.adobe.com/cps/158/tn_15842.html
And this:
Fireworks generated html and javascript calls its layers with a z-index beggining with a value of 1. Try doing a search of text external JS file and you will see your menus.
I would rename the offending layer that runs over the top of the menu layers in the with z-index:0
Also this: http://www.adobe.com/devnet/fireworks/articles/fw8_popups.html
Hope something here works, that being said...the menus from that version arenb't very good. a better solution is CSS menus. A quick solution is from Project Seven here:http://projectseven.com/products/menusystems/pmm2/index.htm for $95. It's a DW extension and simple to use. Alkso compatiple with most browsers. -
I have had this problem on two separate websites. I am using
Fireworks-originated graphics and popup menu in a Dreamweaver
template. On only one page on the website, my pop-up menu is
appearing in the wrong place.
Example (hover over "Teams & Schedules" for popup menu):
Correct placement -
http://www.pupsbasketball.org/directory.php
Incorrect placement -
http://www.pupsbasketball.org/calendar.php
You'll note that on the second example, the popup menu
appears over the mast head instead of in the black bar area where
it should appear. In checking the source code, the javascript calls
for the same coordinates where the menu should appear.
Any suggestions or help would be greatly appreciated!
Thanks.You do know that FW pop-ups and DW templates don't get along
well, right?
There are many quite compelling reasons not to use FW menus
on the web.
And, there are much better ways to get this effect than that
provided by
them.
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.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Small Web Solutions" <[email protected]>
wrote in message
news:eivjmn$3ng$[email protected]..
>I have had this problem on two separate websites. I am
using
> Fireworks-originated graphics and popup menu in a
Dreamweaver template. On
> only
> one page on the website, my pop-up menu is appearing in
the wrong place.
>
> Example (hover over "Teams & Schedules" for popup
menu):
>
> Correct placement -
http://www.pupsbasketball.org/directory.php
>
> Incorrect placement -
http://www.pupsbasketball.org/calendar.php
>
> You'll note that on the second example, the popup menu
appears over the
> mast
> head instead of in the black bar area where it should
appear. In checking
> the
> source code, the javascript calls for the same
coordinates where the menu
> should appear.
>
> Any suggestions or help would be greatly appreciated!
Thanks.
> -
Pop-up Menu is aligned with the top of the window in IE7
Using Fireworks MX I created a pop-up menu on an image I
would like to put within a table not in the top of the window.
If I view the page with Firefox, the menu is aligned with the
image, but if I use IE7 the pop-up menu is aligned with the top of
the window, far from the image.
Can anyone help me to fix this problem, please?
Thank youPaperetto wrote:
> Using Fireworks MX I created a pop-up menu on an image I
would like to put
> within a table not in the top of the window.
> If I view the page with Firefox, the menu is aligned
with the image, but if I
> use IE7 the pop-up menu is aligned with the top of the
window, far from the
> image.
> Can anyone help me to fix this problem, please?
You'll need to place the menu in its final position in
Fireworks, and
then build your page around it in Dreamweaver. A better
option would be
to build the menu yourself from scratch. You can learn how to
do that here:
http://www.projectseven.com/tutorials/navigation/index.htm
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/ -
Right Click Pop up Menu in internet Explorer
i want to add my own options in the default context menu of the internet explorer which appear when we right clik the mouse. i want to show the customized right click pop up menu in my web application not just on my own machine by editing the registry entries.
if any one know some javascipt or some else technique, please help me
Thanks
Waseem AslamDont post twice...
also you should checkout a Javascript forum to get your answer -
Here's a Pop-up Menu Challenge/Issue
Peace.
I have read dozens of posts on using dreamweaver and fireworks to export various symbols, objects, and pop-ups. Getting the pop-up menu to work in DW is to have javascrit code in the header and body portion of the page. Also, the difference between browsers FF and IE, popup menus not working properly .
I have managed to work through most of these problems, including the popup alignment of X,Y parameters, to get them to show up properly (what a nightmare for an intermediate)! If I only knew how to use CSS?
Anyway, I finally got my pop-ups to work the way I want, but ONLY in IE, not in FF.
The "challenge" is that two of my pop-up menus work on FF and the others don't? See images at http://www.christianacademyonline.org/testnew/index.html
I have done my best to scrutinize the script (java/mm_loads,images, etc) and I can't find the problem. The two images that work have two diffent codes, probably (on_click), because I was doing what I could to make it work..
I need more eyes to help find my script problem...I'm almost complete, but missing something!
Thanks Guys!
Deke D.I don't get any pop-ups anywhere nor any menus (if there are supposed to be some). The code is rather messy, also, with all those on-the-fly definitions for styles and endlessly long JavaScript actions. Quite possible that the links override one another. Not to ruin your day, but I'd definitely start from scratch with an empty page and a clean style sheet for the various elements. IMO that's the only way to get this working properly.
Mylenium -
How do you retain the mouseover state in a pop-up menu using Fireworks CS3?
I am working on a site right now using some javascript
pop-ups from FW. I would really prefer to use CSS but had many
headaches trying to get them working in IE6. Now the problem I have
with the FW pop-ups is that the original menu item does not retain
its mouse over state when moving to submenus and this is really the
effect I want. You can see the site I am working on here:
http://www.mackenziecauley.com/linda/profile.php
I noticed some articles in the adobe db related to this issue
with Fireworks MX but unfortunately it doesn't work in CS3. I am
also a complete newbie in javascript so any help would be great.
thanks!Drat...I can only see three pages (and a bit) of posts
(why?!?!?!!!), so I can't go back and find an example. Murray
(*ACE*) has the answer, so I'm just trying to copy him from memory.
He once linked to this blog post, from the guy who worked on the
menus:
The
sordid tale of mm_menufw_menu.js
Also, check out his post in this thread:
Good
advice from Murray
Thanks, Google!
Fireworks is a graphics program. Don't let it write your code
for you. -
Pop-up menu cellspacing in IE but not Firefox
I created a website a while back using Dreamweaver and managed to install the header I created in Fireworks CS3 with no problem, however I am redesigning the site and when I place my header in, there appears to be cellspacing in my pop-up menu, but only with Internet Explorer and not with Firefox. When I went to export the header, since I wasn't using Dreamweaver to write it in, I chose the style as "generic html", and made sure there was no Cell spacing. I'd appreciate any feedback I can get.
Well, you have a number of errors that you'll need to address.
You have two body tags, and you can only have one. This may be the problem.
You have a <script language="JavaScript"> declaration and it should be <script type="text/javascript">
You have <center> tags inside <a href...></a> elements and that is not correct.
You have a <valign="top"> tag, and that is an attibute, not a tag.
Where you have <h1 style="font-family:Times New Roman; color:#6F0101; font-size:26;"> won't work, because font names that have spaces in them must be enclosed in quotation marks. You would be better off defining a class for your h1s.
There's a nifty add-on for Firefox that really helps to show you some things in your code. It's called Firebug. Search for it with Google and it's easy to install. I also have the HTML Tidy add-on. HTML Tidy shows me warnings and errors. Firebug shows the structure of the code and also the inheritance of the CSS. In this case, I think you may be inheriting some padding or margin from your default.css once you insert your header into the body.
Here's what I recommend you do:
1) Fix up your Fireworks file to name all your images. For example, the images in your menu that have "Home" written in them should be home.gif and home-ov.gif, (or similar, with "ov" indicating "over") not headermenu_r2_c1.gif and headermenu_r2_c1_f2.gif. Likewise, in the code it should have a name of "home." It will make your code so much easier to read and maintain.
2) Install the HTML Tidy and Firebug add-ons to Firefox. Or, you can use the W3C code validator. Fix the errors in your code.
3) Clean up your CSS and put all your CSS in one file. Rename those awful Fireworks names to something more memorable. Make sure you know exactly what is what and where everything is. That way, you'll see where attributes might be being inherited.
If you want a good book for HTML and CSS, I like Elizabeth Castro's HTML for the World Wide Web. It's in the 6th edition, now. I recently picked up HTML Utopia: Designing Without Tables Using CSS and I find that it is a nice lead-in to designing layouts with CSS.
All that said, Nadia is right and the Fireworks menus are not so great. They aren't really very robust and (as you've experienced) they're difficult to maintain and troubleshoot. Here are two sites that have professional menu plug-ins for Dreamweaver (not Fireworks):
Pluginlab Limited
Project Seven
The Project Seven menus are regularly recommended, but I have no personal experience with either of them. Either one will give you a better experience with less frustration. While they are not free, they'll save you quite a bit of time.
Good luck! -
PDF with pop-up menu to change page
Can I create a PDF in Pro that has a pop-up menu (or other simple selection method) that allows user to select an item in list which will change the displayed page?
You'll probably want to use something like this.pageNum = 5; etc., and have all that embedded in an if conditional (or a switch conditional, which is probably what I'd use).
A good place to get started with JavaScript is here, although you'll have to look here for the PDF specific stuff (navigate to the JavaScript API).
The basic idea is that you create a variable for your button (that's the var cRtn stuff), and the value of the variable is updated depending on the user's action. So, if user chooses a popup menu item named Section 1, the value of cRtn becomes Section 1, and you can then add something like
if (cRtn = "Section 1") this.pageNum = 5;
Which would send the user to page 5 if they select Section 1 from the popup menu.
Hope that doesn't sound too cryptic!
Maybe you are looking for
-
How do I get the same footnote to appear on each page of a report - it only shows on the first page?? I went in through View and Layout per instructions. Thanks.
-
I update my Apple ID email address but it does not update on my other Apple products. What do I need to do now?
-
Where is mail stored? etc...
I got a few quick questions... I want to make backups of all the email on our server (we use IMAP accounts)... Where are the files stored? Also, any suggestions on a good offsite backup program? I want to have a drive at home that automatically backs
-
Please help me to connect to app store for ipad4 but can connect to itunes. Thank you.
-
Hi everyone, I have some 300 images, all handheld shots done in an on-location studio set. They all need varying amounts of image rotation since they're handheld. There's a beaded curtain in the background, so manually I use the ruler tool, draw a li