Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Remembering current message in a discussion board

Remembering current message in a discussion board

Scheduled Pinned Locked Moved Site Bugs / Suggestions
javascripthtmlcomhelpdiscussion
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Morearty
    wrote on last edited by
    #1

    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

    C 1 Reply Last reply
    0
    • M Mike Morearty

      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

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      This has gone on the TODO list. Nice one! cheers, Chris Maunder (CodeProject)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups