|
Posted by Darin McGrew on November 21, 2005, 10:03 pm
Please log in for more thread options
> My home page checks if a user is logged in. If not already logged in,
> it displays a login form; if already logged in, it displays a table
> with some links. When the user clicks on any link in that table, I want
> to open a page that has a set of frames, one called "mainFrame", in
> which I want to display the page related to the clicked link.
>
> I am not sure how to set up this thing so when user clicks on the link,
> it opens up in the mentioned frame.
You'll need multiple frameset pages, each displaying appropriate content in
the name="mainFrame" frame. Your links will go to these frameset pages,
rather than to the framed content pages.
See http://www.htmlhelp.com/faq/html/frames.html#frame-address
But I recommend that you just get rid of the frames. See
http://www.htmlhelp.com/faq/html/frames.html#frame-problems --
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/ Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/
"Experience is what allows you to recognize a mistake when you make it again."
|