Thank you for the reply, c1ach!
Your English wasn't a problem, but my limited scope of knowledge is... I feel like a damn fool. I tried adding your code to the javascript file... But there's no telling whether I'm doing it correctly as I'm not privy to the code itself. I did manage to learn that foo was just a placeholder though!
Do I need to add a class to one of the divs in my CSS (I did for the ID DesignBox, called it x)? Dunno if I'm on track... There's no telling what I'm doing! I'm a hopeless disgrace... Looked like:
- function NextSlide() {
- var newMargin = CurrentMargin() - SlideWidth;
- var element = #DesignBox
- if(element.hasClass("x")){ element.removeClass("x");
- $("#slider-wrapper").animate({ marginLeft: newMargin }, SlideSpeed, 'easeInOutElastic', function () { SetNavigationDisplay() });
- element.addClass("x");
- });
- } else {
- return false;
- }
- }
The script still runs, but didn't fix any of the problems. I know I didn't do it correctly. Maybe a little more clarification? I'll need to do this to the previousSlide function as well, no?