Solved

jQuery slideshow not working

Posted on 2012-04-05
4
334 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

815 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

7 Experts available now in Live!

Get 1:1 Help Now