Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 13th, 2004, 06:08 PM
Authorized User
Join Date: Sep 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pop up Menu's


I'm slowing building our Co. web site part time -http://www.prp.com/defaultsmeg2.asp
I'm now attempting to assign links to the appropriate pages via the pop up menu's in the navigation. So when I click the navigation img. and choose show pop-up menu that's already in the behaviors panel, it shows none of the original info that I put in. Looking at the above site though, all the pop-up info still shows up. Is this normal or have I done something wrong?

Old January 14th, 2004, 09:59 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts

Once you have made the pop up for the link you can edit it by hand. For instance:

<script language="JavaScript">
function mmLoadMenus() {
if (window.mm_menu_1008101352_0) return;
    window.mm_menu_1008101352_0_1 = new Menu("<img src=images/windows/networksmall.gif>&nbsp;Testing&nbsp;Pop&nbsp;UP",8 5,24,"",14,"#000000","#FFFFFF", "#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
    mm_menu_1008101352_0_1.addMenuItem("<img src=images/windows/ie_.gif>&nbsp;New&nbsp;Item","location='#'");
     mm_menu_1008101352_0_1.menuLiteBgColor='#FFFFFF' ;
     mm_menu_1008101352_0_1.menuBorderBgColor='#77777 7';
window.mm_menu_1008101352_0 = new Menu("root",125,24,"",14,"#000000","#FFFFFF","#CCC CCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1008101352_0.addMenuItem(mm_menu_10081 01352_0_1,"location='#'");
mm_menu_1008101352_0.addMenuItem("<img src=images/windows/mycompsmall.gif>&nbsp;2nd&nbsp;Test","location='#' ");
mm_menu_1008101352_0.addMenuItem("<img src=images/windows/folder.gif>&nbsp;My&nbsp;Link&nbsp;PopUP","locatio n='#'");
mm_menu_1008101352_0.childMenuIcon="arrows.g if";
mm_menu_1008101352_0.menuLiteBgColor='#FFFFF F';
mm_menu_1008101352_0.menuBorderBgColor='#777 777';

} // mmLoadMenus()

<a href="#" name="link1" id="link1" onMouseOver="MM_showMenu(window.mm_menu_1008101352 _0,47,16,null,'link1')" onMouseOut="MM_startTimeout();">asdfasdf</a>

You don't want to mess with the link part. But as you can see I've added small pictures to the pop up menu.
***Warning*** If you edit it with dreamweaver the picture code will be removed. So, once you add them by hand you cannot use dreamweaver to modify the popup menu.

Note: I don't have them linking to anything.

The red is the modified image and the green will be where you add the links.
Old January 14th, 2004, 07:30 PM
Authorized User
Join Date: Sep 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

thanks for the response stu, that will help.

Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI & MDI Child Forms Menu's in VB2005 yulyos Visual Studio 2005 0 September 7th, 2007 09:49 AM
Menu's DynamicEnableDefaultPopOutImage?? rit01 ASP.NET 2.0 Basics 5 April 19th, 2006 04:01 PM
open a new pop-up from a pop-up crmpicco Javascript How-To 1 January 18th, 2005 10:48 AM
Pop up Menu's derek Dreamweaver (all versions) 7 November 4th, 2004 07:13 PM
Pop up menu's in templates derek Dreamweaver (all versions) 2 May 8th, 2004 01:33 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.