IE7 fix for Whale Nivo Slider version 1.0.2

Permalink Browser Info Environment
Was working on a client site that needed IE7 support when I noticed that the Slider wasn't loading due to a JS error. It only happened in IE7 too. IE 8-10 along with various versions of Chrome, FireFox and Safari were all happy with the code as is.

The fix for IE7 is really easy for anyone having the same problem.

Edit /packages/whale_nivo_slider/blocks/whale_nivo_slider/view.php and remove the comma from line 41 so it looks like...

randomStart: <?php  echo $randomStart ?> <?php  //Start on a random slide ?>


...and then IE7 will work.

Cheers and thanks to shahroq for making this add-on.

Type: Discussion
Status: New
AccountDisabled
View Replies:
shahroq replied on at Permalink Reply
shahroq
I was planning to go through the IE7 problem for a while, but test and dev for ie is really frustrating, i will consider your fix at next version.
thanx for sharing your solution.
AccountDisabled replied on at Permalink Reply
AccountDisabled
Sure thing mon. Happy to help. ^_^
jstalnaker replied on at Permalink Reply
jstalnaker
May also want to include that of the users using Internet Explorer, the users that are using IE7 has dropped down below almost %1. Due to that statistic, most web development companies have ceased developing for internet explorer 7, and will use some sort of warning to tell users to upgrade their browser before continuing to/browsing the site.
http://www.w3schools.com/browsers/browsers_explorer.asp...

Also, on a funnier note. An Australian company is now charging its users an IE7 tax for all purchases, lol.
http://www.zdnet.com/blog/networking/australian-retailer-charges-cu...

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.