Skip navigation
Currently Being Moderated

spy menu bar

Jul 5, 2012 12:18 PM

how come in dreamweaver in my template the menu bar shows perfect,

but on the rest of the pages the menu bar is showing inccorect, as though the pages are not

being updated by the template.

 

TEMPLATE 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>

<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/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

</head>

 

 

<!--

<oa:widgets>

  <oa:widget wid="2149023" binding="#social" />

</oa:widgets>

-->

 

 

<link href="wdm_template.dwt" rel="stylesheet" type="text/css" />

<link href="template.css" rel="stylesheet" type="text/css" />

<style type="text/css">

#wrapper {

          width: 1000px;

          margin-right: auto;

          margin-left: auto;

}

</style>

<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

<body>

<div id="wrapper">

  <h1> </h1>

  <div>

    <div id="banner"><img src="../FINISHED HEADERS/newbanner.jpg" width="999" height="200" alt="banner" /></div>

  </div>

  <ul id="MenuBar1" class="MenuBarHorizontal">

    <li><a href="../HTML PAGES/home.html">Home</a>    </li>

    <li><a href="#" class="MenuBarItemSubmenu">The Leaders</a>

      <ul>

        <li><a href="../HTML PAGES/bishop_whyte.html">Bishop R.A Whyte</a></li>

        <li><a href="../HTML PAGES/pastor_cooper.html">Pastor Betty Cooper</a></li>

        <li><a href="../HTML PAGES/pastor_jermaine.html">Pastor Jermaine McLaughlin</a></li>

      </ul>

    </li>

    <li><a class="MenuBarItemSubmenu" href="#">About Us</a>

      <ul>

        <li><a href="../HTML PAGES/declaration.html">Declaration of Faith</a></li>

        <li><a href="#">Item 3.2</a></li>

        <li><a href="#">Item 3.3</a></li>

      </ul>

    </li>

    <li><a href="../HTML PAGES/partners.html">Partnership</a></li>

    <li><a href="../HTML PAGES/PRAYER_REQUEST.html">Prayer Request</a></li>

    <li><a href="../HTML PAGES/sow_a_seed.html" class="MenuBarItemSubmenu">Donate</a>

      <ul>

        <li><a href="#">Sow a Seed</a></li>

        <li><a href="../HTML PAGES/Donate_Now.html">Donate Now</a></li>

      </ul>

    </li>

    <li><a href="../HTML PAGES/contact_us.html">Contact Us</a></li>

  </ul>

  <p> </p>

  <p><!-- TemplateBeginEditable name="main_image" --><img src="../FINISHED HEADERS/main-flash.gif" width="999" height="300" /><!-- TemplateEndEditable --></p>

  <!-- TemplateBeginEditable name="text" -->text<!-- TemplateEndEditable -->

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <div id="footer"><img src="../FINISHED HEADERS/footer.jpg" alt="footer" width="999" height="100" border="0" usemap="#Map" />

    <map name="Map" id="Map">

      <area shape="rect" coords="799,7,860,33" href="../HTML PAGES/store.html" alt="store" />

      <area shape="rect" coords="441,12,567,32" href="../HTML PAGES/bishop_whyte.html" alt="THE LEADERS" />

      <area shape="rect" coords="874,12,982,32" href="../HTML PAGES/contact_us.html" alt="CONTACT US" />

      <area shape="rect" coords="712,9,787,30" href="../HTML PAGES/sow_a_seed.html" alt="DONATE" />

      <area shape="rect" coords="580,11,694,30" href="../HTML PAGES/partners.html" alt="PARTNER WITH US" />

      <area shape="rect" coords="333,10,427,30" href="../HTML PAGES/declaration.html" alt="ABOUT US" />

      <area shape="rect" coords="260,9,323,30" href="../HTML PAGES/home.html" alt="HOME" />

    </map>

  </div>

  <p> </p>

</div>

<script type="text/javascript">

var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});

</script>

</body>

 

 

PAGE 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"><!-- InstanceBegin template="/Templates/wdm_template.dwt" codeOutsideHTMLIsLocked="false" -->

<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/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

</head>

 

 

<!--

<oa:widgets>

  <oa:widget wid="2149023" binding="#social" />

</oa:widgets>

-->

 

 

<link href="wdm_template.dwt" rel="stylesheet" type="text/css" />

<link href="template.css" rel="stylesheet" type="text/css" />

<style type="text/css">

#wrapper {

          width: 1000px;

          margin-right: auto;

          margin-left: auto;

}

</style>

<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

<body>

<div id="wrapper">

  <h1> </h1>

  <div>

    <div id="banner"><img src="../FINISHED HEADERS/newbanner.jpg" width="999" height="200" alt="banner" /></div>

  </div>

  <ul id="MenuBar1" class="MenuBarHorizontal">

    <li><a href="home.html">Home</a>    </li>

    <li><a href="#" class="MenuBarItemSubmenu">The Leaders</a>

      <ul>

        <li><a href="bishop_whyte.html">Bishop R.A Whyte</a></li>

        <li><a href="pastor_cooper.html">Pastor Betty Cooper</a></li>

        <li><a href="pastor_jermaine.html">Pastor Jermaine McLaughlin</a></li>

      </ul>

    </li>

    <li><a class="MenuBarItemSubmenu" href="#">About Us</a>

      <ul>

        <li><a href="declaration.html">Declaration of Faith</a></li>

        <li><a href="#">Item 3.2</a></li>

        <li><a href="#">Item 3.3</a></li>

      </ul>

    </li>

    <li><a href="partners.html">Partnership</a></li>

    <li><a href="PRAYER_REQUEST.html">Prayer Request</a></li>

    <li><a href="sow_a_seed.html" class="MenuBarItemSubmenu">Donate</a>

      <ul>

        <li><a href="#">Sow a Seed</a></li>

        <li><a href="Donate_Now.html">Donate Now</a></li>

      </ul>

    </li>

    <li><a href="contact_us.html">Contact Us</a></li>

  </ul>

  <p> </p>

  <p><!-- InstanceBeginEditable name="main_image" --><img src="../FINISHED HEADERS/main-flash.gif" alt="main_image" width="977" height="300" align="middle" /><!-- InstanceEndEditable --></p>

  <!-- InstanceBeginEditable name="text" -->

<p><img src="../FINISHED HEADERS/book cover.jpg" width="212" height="246" />

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">

  <p> </p>

</form>

 </p>

<title></title>

<!-- InstanceEndEditable -->

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <p> </p>

  <div id="footer"><img src="../FINISHED HEADERS/footer.jpg" alt="footer" width="999" height="100" border="0" usemap="#Map" />

    <map name="Map" id="Map">

      <area shape="rect" coords="799,7,860,33" href="store.html" alt="store" />

      <area shape="rect" coords="441,12,567,32" href="bishop_whyte.html" alt="THE LEADERS" />

      <area shape="rect" coords="874,12,982,32" href="contact_us.html" alt="CONTACT US" />

      <area shape="rect" coords="712,9,787,30" href="sow_a_seed.html" alt="DONATE" />

      <area shape="rect" coords="580,11,694,30" href="partners.html" alt="PARTNER WITH US" />

      <area shape="rect" coords="333,10,427,30" href="declaration.html" alt="ABOUT US" />

      <area shape="rect" coords="260,9,323,30" href="home.html" alt="HOME" />

    </map>

  </div>

  <p> </p>

</div>

<script type="text/javascript">

var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});

</script>

</body><!-- InstanceEnd -->

 

 

 

 


 
Replies
  • Currently Being Moderated
    Jul 5, 2012 10:24 PM   in reply to 1jermaine Mclaughlin

    Looking at your code and seeing

    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

    and a liitle further down

    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

    I wonder which it should be.

     

    I also see

    <link href="wdm_template.dwt" rel="stylesheet" type="text/css" />

    and wonder if this is a style sheet?

     

    Gramps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points