To Jasper:
Please start a new thread in the future when asking a question. Regarding your issue, basically what you need is a way to tell the script which virtual page to show by default based on some parameter on the page matching what you wish to accomplish. One way is to pass such a parameter through the URLs of the topics on the right, for example:
http://www.frisblik.nl/tips/2007/07/11/tip20.php?page=2
The "page=2" parameter would indicate to the script that it should load the 3rd virtual page. Then on top20.php, you'd grab that value (2), and pass it into the showpage() method of virtual pagination script when initializing it to show that page, something like:
Code:
var pagenumber=value_of_page_parameter_in_url
var pagecontent=new virtualpaginate("virtualpage", 1)
pagecontent.buildpagination("paginatediv")
pagecontent.showpage(pagenumber)
The line in italics is just a mockup- there are many techniques for getting the value of a URL parameter. Some are shown here: http://www.dynamicdrive.com/forums/s...ad.php?t=22753
Bookmarks