PDA

View Full Version : Spry menu not loading up properly..


worlddank
08-05-2011, 02:01 PM
Hello, can someone please help me out? I have a website that I created a horizontal spry menu for. The problem is, when I load it up the spry menu doesn't look at all like anything I made. It doesn't have a border, the text is a completely different color, and it becomes vertical instead of horizontal. I have no idea what I'm doing wrong. When I test it in a browser it works fine, but when I actually load up that page it doesn't work. Can someone PLEASE help me???. Here is the code:

</style>

<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>

<body text="#FFFFFF">
<div id="container1">
<div id="header"><a href="http://www.worlddank.com"><img src="wdnewfinalproduct.gif" width="1000" height="150" border="0" /></a></div>
<div id="navbar">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="http://www.worlddank.com/">Home</a> </li>
<li><a href="http://www.worlddank.com/Travel-tips-know-before-you-go.html">Travel Tips</a></li>
<li><a href="http://www.worlddank.com/USA-travel-guide.html">USA Travel</a> </li>
<li><a href="http://www.worlddank.com/Central-america-travel-guide.html">Central America Travel</a></li>
<li><a href="http://www.worlddank.com/graffitiwallofmusic.html">Graffiti Wall of Music</a></li>
<li><a href="#" class="MenuBarItemSubmenu">All That Good Stuff</a>
<ul>
<li><a href="mailto:worlddank@yahoo.com">Contact World Dank</a></li>
<li><a href="http://www.worlddank.com/aboutworlddank.html">Creator of World Dank</a></li>
<li><a href="http://www.worlddank.com/surf-travel-links.html">Surf and Travel Tips</a></li>
<li><a href="http://funny-worlddank-youtube-videos.html">YouTube Gallery</a></li>
<li><a href="http://www.worlddank.blogspot.com">Our Blogs</a></li>
</ul>
</li>
</ul>
</div>


<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>

DWcourse
08-06-2011, 09:05 PM
You need to post a link to your page but, as a guess, I'd say you aren't uploading the CSS and Javascipt files or are uploading your files to the wrong location on your server.

dbepp
08-24-2011, 03:31 PM
You need to post a link to your page but, as a guess, I'd say you aren't uploading the CSS and Javascipt files or are uploading your files to the wrong location on your server.

This seemed to be the case for me every time I had a problem when I started my pages..

Open the actual CSS and edit it directly.. save it, then upload that individual file to the correct position on the server.