Brent wrote:
> Hello all... looking for pointers on something I'm trying to achieve with
> Javascript on a client's site.
>
> OK... the site is framed, with a narrow top nav frame and a main frame
> below where the site's various pages are displayed. My goal is to use a
> cookie-based script that will allow a user, when viewing any
> given page in
> the main frame, to click a submit button or whatever that will thereafter
> make that his "home page" when he returns to the site, a la Netscape or
> MSIE. When I first set out to do this I figured it would be real
> easy, but
> so far I'm stumped. Probably just missing something obvious. Any
> suggestions?
Whoops on my last reponse. Now that I've read the question again, I think
flopped around with an answer to the wrong question on my last post.
You're not trying to set the "home page" setting in the browser, but rather
you're trying to set a cookie that saves the url from the bottom frame, then
reloads it when a user clicks a "my home" button in either the top or bottom
frame (I'm assuming).
Could you do exactly that: set the cookie so it has homeurl=frame2_url.html,
where the frame2_url.html is the url in the bottom frame. Then, when the
user clicks the "my home" button, read the cookie and reload the frameset
with frame 2 containing the url from the cookie?
?
Jack
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------