- From: Whittaker, Ray <ray.whittaker@eds.com>
- Date: Fri, 1 Oct 2004 04:56:25 -0400
- To: www-validator@w3.org
Hello Just a note to point out a small issue I had with your validator. I have a block of JavaScript in one of my pages that contains two blocks of code. The script is used to switch slides in a CSS based slide show. The two blocks of code are almost identical to each other since they perform similar functions. One loads the next image in the sequence, the other loads the previous image. To achieve this I have used an integer counter, which I have called currentSlide. The validator does not have a problem when I increment the counter as in 'currentSlide++;' but throws an error when the counter is decremented (currentSlide--;). The page validates when I put a longhand version into the code (currentSlide = currentSlide - 1) so it is not a major issue but the shorthand should surely be recognised as valid code. Regards, Ray Whittaker
Received on Friday, 1 October 2004 10:06:56 UTC