yeah, it would be possible, but depending on what you are trying to accomplish, there are different ways to do this...
id say have a DB backend and reference each link to an ID a table along with a column that notes whether it has been clicked on or not.
ID PAGE CLICKED (0 = no, 1 = yes)
-- ----- --------
1 page1.html 0
2 page2.html 0
3 page3.html 0
4 page4.html 0
then if a user clicks on page1.html, that opens up and you change the Clicked to 1 for that page...then if another user clicks on the button that you talk about, you just open the next html page in your list that has a 0 in the Clicked column and not a 1.
I have no idea why you would do this, but ohwell, im sure you have a good reason.
hope that helps...but as i said, there are other ways depending on what you are trying to accomplish and for what reason.
"First time it's a mistake, do it again and it's stupidity."