View Full Version : Links and spry are not working or are pointing to the wrong document.

12-12-2012, 12:30 AM
WhatI'm having difficulty with the links on my spry menu bar. One of them works well consistently but the others occasionally do nothing or point to the wrong HTML document. I have all but positive that I have chosen the correct HTML documents for my links.

I used design view to build the menu bar. When I take a look at the code view it seemed like everything was pointing to the correct documents. Although I cannot remember for sure, I was working on it last night and now I am away from my Dreamweaver files.

Any advice on how I could fix this problem would be greatly appreciated.

12-12-2012, 01:02 AM
show the code for the links or give a live URL

12-12-2012, 04:02 PM
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.Menuandlogo {
text-align: center;
ul.centreit {
text-align: left;
display: inline-block;
margin-right: auto;
margin-left: auto;
#contentdiv {
margin-right: auto;
margin-left: auto;
width: 650px;
body {
background-color: #F0F0F0;
background-image: url(propper%20background.jpg);
background-repeat: no-repeat;
background-position: center top;
background-attachment: fixed;
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv1 {
left: 380px;
top: 296px;
margin-right: auto;
margin-left: auto;
a {
font-size: 14px;
a:link {
color: #0080FF;
a:visited {
color: #0070C0;
a:hover {
color: #80FFFF;
a:active {
color: #F00;
<body class="MenuBarActive">
<div class="Menuandlogo">
<img src="../4kids/logo 600.jpg" alt="Therapy 4 Kids" width="600" height="171" align="top" />
<br />
<ul id="MenuBar1" class="MenuBarHorizontal centreit">
<li><a href="Therapy 4 Kids Home-Pediatric Therapy index.html">Home</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Our Services</a>
<li><a href="Therapy 4 Kids Home-Pediatric Therapy physical therapy.html">Physical Therapy</a></li>
<li><a href="#">Occupational Therapy</a></li>
<li><a href="speach.html">Speech Therapy </a></li>
<li><a href="#">School Services</a></li>
<li><a href="#">Home Health</a></li>
<li><a href="#">Can My Child Benefit</a> </li>
<li><a href="#">Resources</a></li>
<li><a href="#">Meet the Owners</a></li>
<li><a href="#">Contact Us</a></li>
<div class="content wrapper" id="contentdiv">
<p>At therapy for kids our goal is to provide pediatric therapeutic treatments designed to enrich the lives of children and their families. We believe that therapy is about more than simply reaching a goal. As therapist our job is to provide your child and family with the tools and knowledge necessary to ensure that your child’s journey through life is as successful as possible.</p>
<p> We understand that pediatric therapy can be very complex, no two children or families have the same needs and aspirations. Our complete package of pediatric services includes<a href="Therapy 4 Kids Home-Pediatric Therapy physical therapy.html" class="overlink"> physical therapy,</a> <a href="o">occupational therapy</a>, <a href="Therapy 4 Kids Home-Pediatric Therapy speech therapy.html">speech therapy</a> and school services. Because we offer a wide variety of services we will be able to meet all of your current needs and continue to help in the future as the needs of your family progress and evolve. What sets us apart from other healthcare providers is we provide therapeutic solutions that meet your family’s needs in the comfort of your own home.</p>
<p>If you’re visiting our website for the first time you may find yourself overwhelmed, unsure where to turn or what to do next. We are here to help. We have all the resources you need to get your child set up for their first visit.</p>
<p>&nbsp; </p>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});

I was not sure whether I should just post the code dealing with the menubar or if I should post everything So, I posted everything to be on the safe side.