Posted 30 January 2012 - 03:42 PM
Thanks for the responses, guys.
I wouldn't use that... it's somewhat outdated. use window.scroll(int x, int y); instead of that.
Thanks, but I tried this out and didn't work when previewed. Got a not found notice. Tried some variations and it would go forward, but not backwards. Can you explain how my original command is outdated? It's quick, easy, and does exactly what I need it to do.
You could also use jquery $.scrollTop
I'm using jQuery for my menu, but I've got to say that the jQuery site is a design and organizational nightmare! It has some great uses, but the tutorials and instructions can range from obtuse to outright poorly written.
Oddly enough, after firing off the file to a friend, the scroll commands magically started working. Why, I don't know. Maybe Chrome updated again during the weeks I'd last worked on the page. I've had to tear up tons of layouts due to Chrome. I've had issues with folks seeing hidden scroll bars when I don't and we all have the same version and OS.