Nivo Slider not functioning in IE7

Posted on 2011-04-28
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. Thanks in advance for the support.

<script type="text/javascript">
		if ($(this).attr('value') == $(this).attr('title')) $(this).attr('value', '');
		if ($(this).attr('value') == '') $(this).attr('value', $(this).attr('title'));
	if ($('.lower_boxes_slider2').length>0) {
		effect:'fade', //Specify sets like: 'fold,fade,sliceDown'
		animSpeed:3000, //Slide transition speed
		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(){}, 		


Open in new window

Question by:sprayedsrt
    LVL 14

    Expert Comment

    Remove comma at the end of this line:

    slideshowEnd: function(){},

    LVL 14

    Accepted Solution

    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.


    Author Closing Comment

    Much appreciated R-Byter. This worked perfectly.
    LVL 14

    Expert Comment

    You're welcome and thanks for the points.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
    This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

    728 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

    15 Experts available now in Live!

    Get 1:1 Help Now