Link to home
Start Free TrialLog in
Avatar of BluesMama
BluesMamaFlag for United States of America

asked on

jQuery slideshow not working

I have a web site and using nivoSlider jquery slide show on the top left of the page and it was working until I put my new menu system in and now the slideshow won't work.

http://www.uschrome.com/
Avatar of LZ1
LZ1
Flag of United States of America image

Are you using a spry drop-down menu?
Avatar of BluesMama

ASKER

no it's a html5 menu version of a suckerfish menu

<script>
// Javascript originally by Patrick Griffiths and Dan Webb.
// http://htmldog.com/articles/suckerfish/dropdowns/
sfHover = function() {
   var sfEls = document.getElementById("navbar").getElementsByTagName("li");
   for (var i=0; i<sfEls.length; i++) {
      sfEls[i].onmouseover=function() {
         this.className+=" hover";
      }
      sfEls[i].onmouseout=function() {
         this.className=this.className.replace(new RegExp(" hover\\b"), "");
      }
   }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>

Open in new window



/*menu---------*/
#navbar {
	margin: 0;
	padding: 0;
	height: 1em;
	width:100%;
}
#navbar li {
	list-style: none;
	float: left;
	width:145px;
	font-size: 90%;
	font-weight: bold;
}
#navbar li a {
	display: block;
	padding: 8px 11px;
	background-color: #111;
	color: #fff;
	text-decoration: none;
	height:38px;
	border:1px solid #666;
	font-weight:bold;
	text-align: center;
}
#navbar li ul {
	display: none;
	width: auto; /* Width to help Opera out */
	background-color: #444;
	height: auto;
}
#navbar li:hover ul {
	display: block;
	position: absolute;
	margin: 0;
	padding: 0; 
	}
#navbar li:hover li {
	float: none; 
	}
#navbar li:hover li a {
	background-color: #444;
	border-bottom: 1px solid #666;
	color: #FFF;
	}
#navbar li li a:hover {
	background-color: #DC2B19;
	}
#navbar li:hover ul, #navbar li.hover ul {
	display: inline-block;
	position: absolute;
	margin: 0;
	padding: 0;
	}
#navbar li:hover li, #navbar li.hover li {
	float: none; 
	}
#navbar li:hover li a, #navbar li.hover li a {
	background-color: #DC2B19;
	border-bottom: 1px solid #666;
	color: #000;
	 }

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of LZ1
LZ1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It also says your missing the nivo.slider.js file

Not found: http://www.uschrome.com/Scripts/jquery.nivo.slider.pack.js