PDA

View Full Version : JavaScript for non-existing widget


Newbieweaver
11-06-2008, 01:16 PM
Hellooooooo,

I get this pop-up when I open my Sitemap page.

This document contains JavaScripts code for a widget that no longer exists. If you don't remove the code, the browser might display Javascript errors when loading the page. Would you like Dreamweaver to find all instances of this code for you?

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

I have no idea what this means or what I should do. But when I click yes, three codes come up under Search below the Properties, toolbar. Should I copy and paste them into something? Or click on them? Delete something? What do I dooooooooo?!! :)




<!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>Site Map</title>
<style type="text/css">
<!--
body {
background-color: #FEED78;
margin-left: 4px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Sitemap {
font-weight: bold;
color: #1C0037;
background: #FEED78;
cursor: crosshair;
background-color: #FEED78;
margin-left: 4px;
text-decoration: inherit;
list-style-position: outside;
padding-bottom: 0px;
}
.style5 {
color: #1C0037;
padding-bottom: 0px;
}
body,td,th {
color: #1C0037;
font-family: Verdana, Arial, Helvetica, sans-serif;
padding-bottom: 0px;
}
a:link {
color: #1C0037;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #6633CC;
}
a:hover {
text-decoration: none;
color: #FF9933;
}
a:active {
text-decoration: none;
color: #FFFFFF;
padding-bottom: 0px;
padding-top: 0px;
}
.style8 {font-weight: bold}
.style9 {background: #FEED78; cursor: crosshair; background-color: #FEED78; margin-left: 4px; text-decoration: inherit; list-style-position: outside; color: #1C0037;}
.style12 {font-weight: bold}
.style13 {font-weight: bold}
-->
</style>
</head>

<body>
<blockquote> <strong><a class="MenuBarItemSubmenu" href="#"><span class="Sitemap"> Admissions</span></a></strong></blockquote>
<ul>
<ul>
<ul>
<li> <span class="Sitemap"><strong><a href="#"></a></strong></span><strong><a href="#">Welcome</a></strong></li>
<li class="style8"><span class="style9"><a href="#" class="MenuBarItemSubmenu">About Us</a></span>
<ul>
<li><a href="#">Mission Statement</a></li>
<li><a href="#">Mascot</a></li>
<li><a href="#">Our Goals</a></li>
<li><a href="#">Where We Go</a></li>
</ul>
</li>
<li><strong><a href="#">Student Spirit</a></strong></li>
<li><strong><a href="#">Contact Us</a></strong></li>
<li class="style12">Tuition
<ul>
<li><a href="#">Scholarships</a></li>
<li><a href="#">Tuition Payment Plans</a></li>
<li><a href="#">Parent Testimonies</a></li>
</ul>
</li>
<li class="style13"><span class="style9"><a href="#" class="MenuBarItemSubmenu">Admission Requirements</a></span>
<ul>
<li><a href="#">Application</a></li>
</ul>
</li>
<li><strong><a href="#">Safety</a></strong> </li>
</ul>
</ul>
<blockquote class="Sitemap">
<span class="Sitemap"><a class="MenuBarItemSubmenu" href="#">Item 3.1</a> </span>
<ul type="square"><ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a>
<ul>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
<li><strong><a href="#">Item 4</a></strong></li>
</ul>
</li>
</ul>
</ul>
</blockquote>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>