Solved

jQuery slideshow not working

Posted on 2012-04-05
4
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javascript delete path 7 41
Insert PHP into HTML page. 7 43
Page link not showing on Mobile Device 3 42
Why is my combox not displaying in jqwidgets grid 14 31
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

740 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