Remembering current message in a discussion board
-
I love love LOVE the Javascript-based discussion-board software you're using throughout CodeProject. Makes it super-quick and easy to read through discussion threads. However, one of the problems with such solutions, of course, is that if I navigate away from the discussion page to any other page, and then navigate back to the discussion page (with the Back or Forward buttons), the page doesn't remember which message was open when I left. Plain HTML-based discussion boards don't have this problem (but then again, plain HTML-based discussion boards suck.) For IE 5 and above, there's a solution: the saveHistory behavior. This allows you CodeProject guys, with almost no effort on your part, to have the browser re-open whatever message was open when they left the page. For a sample of what I'm talking about, see http://www.morearty.com/history.htm -- this is a little sample I whipped up. You can move the blue box around the page; then navigate away from the page; then, when you navigate back to the page, the blue box will be where you last left it, instead of having been repositioned back to its starting position. You could probably pretty easily apply the same behavior to the HTML you use for your message threads. Mike Morearty mike@morearty.com http://www.morearty.com
-
I love love LOVE the Javascript-based discussion-board software you're using throughout CodeProject. Makes it super-quick and easy to read through discussion threads. However, one of the problems with such solutions, of course, is that if I navigate away from the discussion page to any other page, and then navigate back to the discussion page (with the Back or Forward buttons), the page doesn't remember which message was open when I left. Plain HTML-based discussion boards don't have this problem (but then again, plain HTML-based discussion boards suck.) For IE 5 and above, there's a solution: the saveHistory behavior. This allows you CodeProject guys, with almost no effort on your part, to have the browser re-open whatever message was open when they left the page. For a sample of what I'm talking about, see http://www.morearty.com/history.htm -- this is a little sample I whipped up. You can move the blue box around the page; then navigate away from the page; then, when you navigate back to the page, the blue box will be where you last left it, instead of having been repositioned back to its starting position. You could probably pretty easily apply the same behavior to the HTML you use for your message threads. Mike Morearty mike@morearty.com http://www.morearty.com
This has gone on the TODO list. Nice one! cheers, Chris Maunder (CodeProject)