Apart from the font being larger than the rest, I do not see a problem with that line.
What I do see as a problem is
Thanks for responding. I fixed that and it still says that there is a code hinting problem on the same line. The font isn't that big in my real code .
Sorry, I knew that the font wouldn't be so big in the real code, it's just my warped sense of humour. I'll try not to do that in the future.
To help me understand what is going wrong, please supply the name of the slider that you are using, perhaps paired to a URL
1 person found this helpful
I think we are reading the same book, as I'm having almost the exact same issue with a bit of code from a book by Jon Duckett. Here's the source code from the book, followed by my solution:
var $this = $(this),
var $group = $this.find('.slide-group'),
var $slides = $this.find('.slide'),
var buttonArray = ,
var currentIndex = 0,
var $this = $(this);
var $group = $this.find('.slide-group');
var $slides = $this.find('.slide');
var buttonArray = ;
var currentIndex = 0;