?
Solved

Nivo Slider not functioning in IE7

Posted on 2011-04-28
4
Medium Priority
?
1,343 Views
Last Modified: 2013-12-08
I've been going in circles trying to get the slider to function with Microcrap IE7. I've read that even having a comma in the incorrect position can cause havoc with older versions of IE. The code works from IE8 on and obviously works with browsers such as Firefox, Chrome, etc. Any info on this is greatly appreciated. I'm trying to avoid adding a script to validate the IE7 browser to force the user to upgrade. www.888subtogo.com. Thanks in advance for the support.

Regards
</script>
<script type="text/javascript">
$(document).ready(function(){
	$('INPUT').click(function(){
		if ($(this).attr('value') == $(this).attr('title')) $(this).attr('value', '');
	});
	$('INPUT').blur(function(){
		if ($(this).attr('value') == '') $(this).attr('value', $(this).attr('title'));
	});
	
	if ($('.lower_boxes_slider2').length>0) {
		$('.lower_boxes_slider2').nivoSlider({
		effect:'fade', //Specify sets like: 'fold,fade,sliceDown'
		slices:15,
		animSpeed:3000, //Slide transition speed
		pauseTime:5000,
		startSlide:0, //Set starting Slide (0 index)
		directionNav:false, //Next & Prev
		directionNavHide:false, //Only show on hover
		controlNav:false, //1,2,3...
		controlNavThumbs:false, //Use thumbnails for Control Nav
      	controlNavThumbsFromRel:false, //Use image rel for thumbs
		controlNavThumbsSearch: '.jpg', //Replace this with...
		controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
		keyboardNav:true, //Use left & right arrows
		pauseOnHover:true, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		captionOpacity:0.8, //Universal caption opacity
		beforeChange: function(){},
		afterChange: function(){},
		slideshowEnd: function(){}, 		
		});
	}
});

</script>
</head>

Open in new window

0
Comment
Question by:sprayedsrt
  • 3
4 Comments
 
LVL 14

Expert Comment

by:R-Byter
ID: 35490431
Remove comma at the end of this line:

slideshowEnd: function(){},

Regards
0
 
LVL 14

Accepted Solution

by:
R-Byter earned 2000 total points
ID: 35490496
On that URL you provided you have two lines that needs this corrections.
IE7 and below doesn't "like" last "part" of javascript to be ended with comma.

Regards
0
 

Author Closing Comment

by:sprayedsrt
ID: 35491714
Much appreciated R-Byter. This worked perfectly.
0
 
LVL 14

Expert Comment

by:R-Byter
ID: 35492008
You're welcome and thanks for the points.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

864 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