Solved

jQuery slideshow not working

Posted on 2012-04-05
4
333 Views
Last Modified: 2012-06-21
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/
0
Comment
Question by:BluesMama
  • 3
4 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 37811940
Are you using a spry drop-down menu?
0
 

Author Comment

by:BluesMama
ID: 37812044
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

0
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 37812067
You have a Spry call in your footer.  I would highly suggest removing that first.

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

Open in new window

0
 
LVL 30

Expert Comment

by:LZ1
ID: 37812076
It also says your missing the nivo.slider.js file

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now