Reloading original frameset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom

    Reloading original frameset

    I have a site with frames. Like most sites with frames, clicking
    links in one frame changes the page in the other frame.

    Obviously, if someone puts in the URL for my site, they will get the
    "homepage" when they first get there. What I would like to accomplish
    is that if they leave my site, and then use the BACK button to come
    back, that the site will open with the homepage, not whatever page
    they were at when they left. Is that possible using javascript? If
    so, how?

    My site isn't actually "on the web" yet, so I can't give you a URL.
    Thanks for any help!

    tom
  • kaeli

    #2
    Re: Reloading original frameset

    In article <f00f4c38.04071 30815.56e82548@ posting.google. com>,
    tom.cowdery@big foot.com enlightened us with...[color=blue]
    > I have a site with frames.[/color]

    Why?

    [color=blue]
    >
    > Obviously, if someone puts in the URL for my site, they will get the
    > "homepage" when they first get there. What I would like to accomplish
    > is that if they leave my site, and then use the BACK button to come
    > back, that the site will open with the homepage, not whatever page
    > they were at when they left. Is that possible using javascript? If
    > so, how?
    >[/color]

    Why in the world would you want to do something so horrible and anti-
    user-friendly? What did your users do to you to deserve such a thing?
    *g*

    Can it be done? No, not reliably. The page doesn't usually reload when
    the user hits the back button. You might be able to hack up a solution
    that would work in some browsers with a setTimeout and a check and
    probably a cookie, but you're going to irritate the holy hell out of
    anyone using your site.

    --
    --
    ~kaeli~
    Experience is something you don't get until just after you
    need it.



    Comment

    • Tom

      #3
      Re: Reloading original frameset

      kaeli <tiny_one@NOSPA M.comcast.net> wrote in message news:<MPG.1b5dd a00a2cb97fe989f 84@nntp.lucent. com>...[color=blue]
      > In article <f00f4c38.04071 30815.56e82548@ posting.google. com>,
      > tom.cowdery@big foot.com enlightened us with...[color=green]
      > > I have a site with frames.[/color]
      >
      > Why?
      > http://www.html-faq.com/htmlframes/?framesareevil[/color]

      While I agree with much of what is posted here, I am using frames
      precisely because of a couple of the so-called "drawbacks" of frames.
      [color=blue][color=green]
      > > Obviously, if someone puts in the URL for my site, they will get the
      > > "homepage" when they first get there. What I would like to accomplish
      > > is that if they leave my site, and then use the BACK button to come
      > > back, that the site will open with the homepage, not whatever page
      > > they were at when they left. Is that possible using javascript? If
      > > so, how?
      > >[/color]
      >
      > Why in the world would you want to do something so horrible and anti-
      > user-friendly? What did your users do to you to deserve such a thing?
      > *g*[/color]

      I don't want users to be able to bookmark individual pages of the
      site. In fact, it is absolutely critical that they cannot get to any
      page without first going through the homepage. There a privacy issues
      involved.
      [color=blue]
      >
      > Can it be done? No, not reliably. The page doesn't usually reload when
      > the user hits the back button. You might be able to hack up a solution
      > that would work in some browsers with a setTimeout and a check and
      > probably a cookie, but you're going to irritate the holy hell out of
      > anyone using your site.[/color]

      Thanks for the info. This isn't critical, but it would have been a
      nice addition.

      Comment

      Working...