...

View Full Version : Help spry on dreamweaver cs5!!!



family25
05-15-2011, 02:53 AM
I am trying on dreamweaver to make a spry banner.

Below is my code. it is coming up as a list of links not a banner with tabs.



<!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>banner</title>
<style type="text/css">
#apDiv1 {
position:absolute;
left:115px;
top:35px;
width:981px;
height:166px;
z-index:1;
background-color: #33CCCC;
border: thick groove #CCC;
color: #000;
}
.bathroom { color: #000;
}
#apDiv2 {
position:absolute;
left:332px;
top:339px;
width:982px;
height:580px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:82px;
top:77px;
width:1143px;
height:34px;
z-index:2;
}
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link Href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>

<body title="horizontal" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
<div id="apDiv3">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="http://thewebmall.com/">Clothing &amp; Accessories</a>
<ul>
<li><a href="http://beautybuy.com/">Beauty Supplies</a></li>
<li><a href="http://constructionboots.com/">Construction Boots</a></li>
<li><a href="http://dresswatch.com/">Watches</a></li>
</ul>
</li>
<li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Electronics</a>
<ul>
<li><a href="http://justamps.com/">Car Amplifiers</a></li>
<li><a href="http://justwoofers.com/">Car Woofers</a></li>
<li><a href="http://1stopelectronics.com/">CB &amp; 2-Way Radios</a></li>
<li><a href="http://shopelectronicsonline.net/">Home Electronics</a></li>
<li><a href="http://homeprojector.com/">Home Theater Projectors</a></li>
<li><a href="http://ibatterystore.com/">Rechargeable Batteries</a></li>
<li><a href="http://turntable.com/">Turntables</a></li>
<li><a href="http://gamebliss.com/">Video Games</a></li>
</ul>
</li>
<li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Gifts</a>
<ul>
<li><a href="http://eccokie.com/">Gourmet Cookies</a></li>
<li><a href="http://artisticbaskets.com/">Gourmet Gift Baskets</a></li>
<li><a href="http://wedfavors.com/">Wedding Favors</a></li>
</ul>
</li>
<li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Home &amp; Garden</a>
<ul>
<li><a href="http://bathroomshowers.net/">Bathroom Showers</a></li>
<li><a href="http://caulkguns.com/">Caulk Guns</a></li>
<li><a href="http://crib.net/">Crib &amp; Bassinets</a></li>
<li><a href="http://justfans.com/">Fans</a></li>
<li><a href="http://waterhose.com/">Garden Hoses</a></li>
<li><a href="http://swingsnthings.com/">Hammocks &amp; Swings</a></li>
<li><a href="http://sinks.net/">Kitchen Faucets</a></li>
<li><a href="http://kitchenlights.com/">Kitchen Lights</a></li>
<li><a href="http://toolsrusinc.com/">Powers Tools</a></li>
<li><a href="http://shotglass.com/">Shot Glasses</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="http://thewebmall.com/">Pets/Hobbies/Toys</a>
<ul>
<li><a href="http://aquariumexperts.com/">Aquariums</a> </li>
<li><a href="http://catshack.com/">Cat Supplies</a></li>
<li type="text/css" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet"><a href="http://fireengines.com/">Fire Engines</a></li>
<li><a href="http://elitehobby.com/">Hobbies</a></li>
<li><a href="http://puppyland.com/">Puppy Supplies</a></li>
</ul>
</li>
<li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Sports &amp; Fitness</a>
<ul>
<li><a href="http://exercisebike.com/">Exercise Bikes</a></li>
<li><a href="http://exerciseclothing.com/">Exercise Clothing</a></li>
<li><a href="http://rodreel.com/">Fishing Rods &amp; Reels</a></li>
<li><a href="http://goldclub.net/">Golf Equipment</a></li>
<li><a href="http://NFLFanatics.com/">NFL Jerseys</a></li>
<li><a href="http://safesports.com/">Sports Safety Gear</a></li>
</ul>
</li>
</ul>
</div>
<p>&nbsp; </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp; </p>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>

AndrewGSW
05-15-2011, 12:07 PM
The body tag does not have these attributes:

<body title="horizontal" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">Similarly for

<li type="text/css" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet">
XHTML is case-sensitive:

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum