Hi everyone, I'm new here. I'm doing a website project for my college and I'm just learning php, html, mysql, and flash.
Anyways, my problem is that I created a pop up menu using dreamweaver mx8. When I hit f12 to view it, it works fine, It asks me to allow blocked content, and I do and it works.
I then uploaded to my server, which is a linux server, and I tried to view the pop up menu, but I get an error message at the bottom.
:Errors on this Page:
Line 6:
Char 23:
Menu is undefined
I 've read through some of the posts similiar to my problem on this site, looked at the site in firefox using the java console to see the errors.
The errors seem to be that things are not defined. However, I have used the same method to create pop up menu's for another website and it worked just fine. I didn't have to write any Javascript b/c dreamweaver did it for me. But that was just dreamweaver mx.
My workplace updated their copies to dreamweaver mx 8, and i've gone through the same method of creating pop up menus.
Use an image: assign pop-up menu behaviors to it ,and bam, dreamweaver does the work for you.
It didn't this time, I was hoping someone could shed some light on why it didn't work.
I know you could say, learn javascript, but I currently don't have enough time to learn it as the deadline is coming up, and I will only need it for this small section.
Thanks for any help, sorry for asking any newbie questions as well.
SiteLink:
www.ravidte.com/EDITNavigation.html
Problematic code:
<script language="JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_0612094605_0) return;
window.mm_menu_0612094605_0_1 = new Menu("Welcome Page ",128,18,"Bitstream Vera Sans",12,"#FFFFFF","#FFFFFF","#007255","#FFAE4D"," left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0612094605_0_1.addMenuItem("Welcome P age 2","location='welcome2.php'");
mm_menu_0612094605_0_1.hideOnMouseOut=true;
mm_menu_0612094605_0_1.bgColor='#555555';
mm_menu_0612094605_0_1.menuBorder=1;
mm_menu_0612094605_0_1.menuLiteBgColor='#FFFFFF';
mm_menu_0612094605_0_1.menuBorderBgColor='#FFFFFF' ;
window.mm_menu_0612094605_0 = new Menu("root",120,18,"Bitstream Vera Sans",12,"#FFFFFF","#FFFFFF","#007255","#FFAE4D"," left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0612094605_0.addMenuItem(mm_menu_061209460 5_0_1,"location='welcome.php'");
mm_menu_0612094605_0.hideOnMouseOut=true;
mm_menu_0612094605_0.childMenuIcon="arrows.gif";
mm_menu_0612094605_0.bgColor='#555555';
mm_menu_0612094605_0.menuBorder=1;
mm_menu_0612094605_0.menuLiteBgColor='#FFFFFF';
mm_menu_0612094605_0.menuBorderBgColor='#FFFFFF';
mm_menu_0612094605_0.writeMenus();
} // mmLoadMenus()
//-->
</script>
<script language="JavaScript" src="mm_menu.js"></script>
<style type="text/css">
<!--
.style1 {
font-family: "Bitstream Vera Sans";
color: #FFFFFF;
font-size: 24px;
}
.style2 {
font-family: "Bitstream Vera Sans";
color: #FFFFFF;
font-size: 18px;
}
-->
</style>
</head>
<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
<style type="text/css">