View Single Post
  #2 (permalink)  
Old 07-05-2007, 10:19 AM
curtiss's Avatar
curtiss curtiss is offline
Moderator
 
Join Date: May 2003
Posts: 1,468
You will need to use a regexp to extract just the number you want out of the page location. There's a decent VBScript RegExp tester at http://www.regular-expressions.info/...ptexample.html (you have to use IE in order to use it for some reason) and there is a javascript regexp tester at http://www.regular-expressions.info/...ptexample.html

Once you extract the number from the page location, then you can easily use mathematical expressions to add and subtract 1 from that number, and re-write the links.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote