WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > HTML & XHTML > Help on centering Flash Menu Bar

Reply
  Thread Tools Display Modes
Old 6th January 09, 11:44 AM   #1
nrb4480
WLC Member
 
Join Date: Jan 2009
Posts: 1
Default Help on centering Flash Menu Bar

I have the following code that I am currently using in Dreamweaver. I have just started working in dreamweaver and am learning the program parameters as I go. I cannot get the java menu bar to center below or be the exact length as my decorative picture divider. Any Ideas?? (See Code Below)
HTML Code:
<!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>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<link href="/Css/style.css" rel="stylesheet" type="text/css" />
<link href="/Css/edit.css" rel="stylesheet" type="text/css" />
<script src="/Scripts/scripts.js" type="text/javascript"></script>
<script src="/Scripts/wbedit.js" type="text/javascript"></script>
<script src="/Scripts/simpleswap.js" type="text/javascript"></script>
<title>NWP Enterprises, Inc.</title>
<!-- saved from url=(0014)about:internet -->
<!-- The script to prevent blocking in IE and for other menu maintenance -->
<script src='http://f-source.com/scripts/ActiveContentDropDownWide.js' type='text/javascript'></script>
<!-- Don't rely on our server, download the script, -->
<!-- save it and change the script source path -->
<!-- saved from url=(0014)about:internet -->
<!-- The script to prevent blocking in IE and for other menu maintenance -->
<script src='http://f-source.com/scripts/ActiveContentDropDownWide.js' type='text/javascript'></script>
<!-- Don't rely on our server, download the script, -->
<!-- save it and change the script source path -->
<!-- saved from url=(0014)about:internet -->
<!-- The script to prevent blocking in IE and for other menu maintenance -->
<script src='http://f-source.com/scripts/ActiveContentDropDownWide.js' type='text/javascript'></script>
<!-- Don't rely on our server, download the script, -->
<!-- save it and change the script source path -->
<!-- saved from url=(0014)about:internet -->
<!-- The script to prevent blocking in IE and for other menu maintenance -->
<script src='http://f-source.com/scripts/ActiveContentDropDownWide.js' type='text/javascript'></script>
<!-- Don't rely on our server, download the script, -->
<!-- save it and change the script source path -->
</head>
<body>
<div>
  <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJOTExNjk0NTI5ZGSFqpPcD3+9YV24XbkK62YCI6tOOA==" />
</div>
<style type="text/css">
<!--
.style1 {
	color: #0099CC;
	font-size: 12px;
}
.style4 {
	color: #0099CC
}
.style5 {
	color: #CC9900;
	font-weight: bold;
}
-->
</style>
<form name="aspnetForm" method="post" action="default.aspx" id="aspnetForm">
  <div>
    <p>
      <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJOTExNjk0NTI5ZGTT2f3Fk01Yj//o76m7fGrFJRFU0w==" />
    </p>
  </div>
  <table width="1124"align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="78" rowspan="5" valign="top" id="shadow-left"><img src="../images-shadow-left.jpg" width="65" height="642" alt="" align= "Right"/></td>
      <td width="78" rowspan="5" valign="top" id="shadow-left">&nbsp;</td>
      <td width="549" height="108" rowspan="2"><img src="../Weblogo_6.jpg" alt="nwpentlogo" width="403" height="135" longdesc="http://www.nwpent.com/logo" />
      <td width="418" height="77" align="center" valign="top" id="header"><ul>
          &nbsp; &nbsp; &nbsp; &nbsp; <span class="style1">Home </a> |&nbsp;
          About NWP Enterprises, Inc. </a> |&nbsp;
          Our Clients </a> |&nbsp;
          Contact</a></span>
        </ul></td>
      <td width="88" rowspan="5" valign="top" id="shadow-right">&nbsp;</td>
      <td width="92" rowspan="5" valign="top" id="shadow-right"><img src="../images-shadow-right.jpg" width="65" height="642" alt="" /></td>
    </tr>
    <tr>
      <td height="18" valign="top" id="header2">&nbsp;</td>
    </tr>
    <tr>
      <td height="8" colspan="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><img src="../images-border.jpg" width="954" height="9" /></td>
    </tr>
    <tr>
      <td height="52" colspan="2" align="left" valign="middle" bordercolor="#FFFFFF" bgcolor="#FFFFFF" ><!-- Change these links and press F12 to test -->
       <div id='menu' style='position:absolute; visibility:hidden; center; 201px; width: 126px;' > 
          <div><a href='http://f-source.com'>Homeowner</a></div>
          <div class='submenu'>
            <div><a href='http://f-source.com' target='_blank'>Services</a></div>
            <div><a href='http://f-source.com'>SubButton1-2</a></div>
            <div><a href='http://f-source.com'>SubButton1-3</a></div>
            <div><a href='http://f-source.com'>SubButton1-4</a></div>
          </div>
          <div><a href='http://f-source.com'>Products</a></div>
          <div class='submenu'>
            <div><a href='http://f-source.com/buy/macStyleMenu/'>Mac Style Menu</a></div>
            <div><a href='http://f-source.com/web-menu/multicolor/'>Multicolor Web Menu</a></div>
            <div><a href='http://f-source.com/flash-menu/vista-drop-down/'>Vista Drop down menu</a></div>
            <div><a href='http://f-source.com/flash-menu-vertical/vista/'>Vertical Menu</a></div>
          </div>
          <div><a href='http://f-source.com'>Button3</a></div>
          <div class='submenu'>
            <div><a href='http://f-source.com/faq/'>FAQ</a></div>
            <div><a href='http://f-source.com/faq/xml/'>XML driven menu</a></div>
            <div><a href='url to pass to JSF' target='callJSF'>Test JavaScript</a></div>
            <div><a href='http://f-source.com/buy/adobeMenu/'>Drop down menu</a></div>
            <div><a href='http://f-source.com/dreamweaver-extensions/'>Dreamweaver extensions</a></div>
          </div>
          <div><a href='http://f-source.com'>Button4</a></div>
          <div class='submenu'>
            <div><a href='http://f-source.com'>exp-1</a></div>
            <div class='submenu'>
              <div><a href='http://f-source.com'>new-1</a></div>
              <div><a href='http://f-source.com'>SubButton4-2</a></div>
              <div><a href='http://f-source.com'>SubButton4-3</a></div>
              <div><a href='http://f-source.com'>SubButton4-4</a></div>
              <div class='submenu'>
                <div><a href='http://f-source.com'>SubButton4-1</a></div>
                <div class='submenu'>
                  <div><a href='http://f-source.com'>SubButton4-1</a></div>
                  <div><a href='http://f-source.com'>SubButton4-2</a></div>
                  <div class='submenu'>
                    <div><a href='http://f-source.com'>SubButton4-1</a></div>
                    <div><a href='http://f-source.com'>SubButton4-2</a></div>
                    <div><a href='http://f-source.com'>last-3</a></div>
                    <div><a href='http://f-source.com'>SubButton4-4</a></div>
                  </div>
                  <div><a href='http://f-source.com'>SubButton4-3</a></div>
                  <div><a href='http://f-source.com'>SubButton4-4</a></div>
                </div>
              </div>
              <div><a href='http://f-source.com'>SubButton4-2</a></div>
              <div><a href='http://f-source.com'>SubButton4-3</a></div>
              <div><a href='http://f-source.com'>SubButton4-4</a></div>
            </div>
            <div><a href='http://f-source.com'>SubButton4-2</a></div>
            <div><a href='http://f-source.com'>SubButton4-3</a></div>
            <div><a href='http://f-source.com'>SubButton4-4</a></div>
          </div>
          <div><a href='http://f-source.com'>Button5</a></div>
          <div><a href='http://www.google.com/search?q=' target='_blank'>Search</a></div>
        </div>
        
         <div id="f-source-menu" style="position:relative;top Left:1px ;width:100%;" Align='right'>
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="97.75%" height="48" >
           <param name="flash_component" value="LiveMenuFull.swc" />
           <param name="movie" value="../Live Style Horizontal Menu.swf" />
           <param name="quality" value="high" />
           <param name="FlashVars" value="flashlet={_subButtonTextColor:#000000,_subMenuColor:#CBE4F3,_subAnimation:true,_mainButtonHeight:35,showSearchField:true,searchFieldWidth:120,_TransparencyShadow:100,searchTextColor:#000000,mainSoundURL:'None',_subFont:'Verdana',_subButtonHeight:21,_menuColor:#408CBF,_mainAnimation:true,clickSoundURL:'None',_TransparencyMain:100,_mainButtonTextColor:#FFFFFF,_mainFontSize:11,subSoundURL:'None',bg_Pic_URL:'None',_subMenuBorderColor:#A1A1A1,_mainFont:'Verdana',_mainButWidthExt:22,_TransparencySub:80,xml_Path:'None',_subFontSize:10,searchFieldColor:#FFFFFF,searchButtonColor:#41861F}" />
           <param name="wmode" value="transparent" />
         </object>
         <noscript>
          <object>
            <a href="http://f-source.com/horizontal-menu/live/">horizontal menu</a> provided by f-source.com. All Rights Reserved
          </object>
          </noscript>
         <script type="text/javascript">var connected; if (connected){ Run_f_source_menu() }else{ alert("The page is not connected with script file ActiveContentDropDownWide.js") };function JSF(url){alert("javascript: "+url);}</script>
        </div>
    <!-- End of f-source menu code -->    
</script>
</body>
</html>

Last edited by chrishirst; 7th January 09 at 10:39 PM. Reason: code tags added
nrb4480 is offline   Reply With Quote
Old 12th February 09, 12:58 PM   #2
kkelly
WLC Member
 
Join Date: Dec 2006
Location: Akron, OH
Posts: 24
Default Re: Help on centering Flash Menu Bar

You need to upload this somewhere, because you need to include all of the scripts and stylesheets used. All of these in your header, which we can't see:
<script src="AC_RunActiveContent.js" language="javascript"></script>
<link href="/Css/style.css" rel="stylesheet" type="text/css" />
<link href="/Css/edit.css" rel="stylesheet" type="text/css" />
<script src="/Scripts/scripts.js" type="text/javascript"></script>
<script src="/Scripts/wbedit.js" type="text/javascript"></script>
<script src="/Scripts/simpleswap.js" type="text/javascript"></script>

Any of these might affect your problem. Also in your header you link to this:

<script src='http://f-source.com/scripts/ActiveContentDropDownWide.js' type='text/javascript'></script>
<!-- Don't rely on our server, download the script, -->

Which the original author asks that you don't do. You should download that and put it in the same folder as the linked files that you have above.
kkelly is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:40 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.