Click to See Complete Forum and Search --> : Dreaweaver mx java script moving buttons


kgeek
05-22-2007, 10:41 PM
Please Help
I created a dropdown menu in Fireworks MX. But the button I am using on my web page is in the middle of other separate buttons. I did not create a navigation bar. When I insert the html from fireworks, the java symbol shows up. It moves all the other buttons over. I know I made it correctly because it works on both the Fireworks and Dream weaver preview browser. It just won’t keep my original patter, and looks horrible. I am a serious newbie, novice. Please be specific in how to correct this. Thanks in advance.


Here's what i think it the relvant part of the script. (im New so please forgive me if i left something out or put too much in.

<h<html>
<head>
<!-- #BeginEditable "doctitle" -->
<title>home</title>
<script language="JavaScript" src="/mm_menu.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">function mmLoadMenus() {
if (window.mm_menu_0514192349_0) return;
window.mm_menu_0514192349_0 = new Menu("root",234,22,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ff66cc","#ff00ff","left","middle",4,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0514192349_0.addMenuItem("Workout&nbsp;Gear","location='Workout Gear.htm'");
mm_menu_0514192349_0.addMenuItem("Exercise&nbsp;Equipment","location='Exercise Equipment.htm'");
mm_menu_0514192349_0.addMenuItem("Apparel","location='Apparel.htm'");
mm_menu_0514192349_0.addMenuItem("Designer&nbsp;Inspired&nbsp;Handbags","location='Handbags.htm'");
mm_menu_0514192349_0.addMenuItem("Shoes","location='shoes.htm'");
mm_menu_0514192349_0.fontWeight="bold";
mm_menu_0514192349_0.hideOnMouseOut=true;
mm_menu_0514192349_0.menuBorder=1;
mm_menu_0514192349_0.menuLiteBgColor='#d4d0c8';
mm_menu_0514192349_0.menuBorderBgColor='#000000';
mm_menu_0514192349_0.bgColor='#000000';

mm_menu_0514192349_0.writeMenus();
} // mmLoadMenus()
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}