Click here to get back home

Frames question

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Frames question ashkaan57 11-21-2005
Posted by ashkaan57 on November 21, 2005, 1:48 pm
Please log in for more thread options


Hi, I have a design question:
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.

The framed page has some elements, such as stats and navigation menu
that I do not want to be displayed unless user is logged in and has
clicked on a link.

TIA.


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."

Similar ThreadsPosted
frames question February 16, 2005, 3:05 pm
Frames Question March 7, 2005, 1:43 am
Another question on changing 2 frames November 16, 2004, 7:42 am
Beginners question regarding FRAMES April 14, 2005, 4:51 am
question about horizontal scrollbar in frames August 11, 2006, 4:00 am
Question on frames within iframe and scrollbar issues April 3, 2008, 2:15 pm
So, HOW should one do "frames" without Frames? September 6, 2004, 7:30 pm
frames and N/FF/M April 6, 2005, 2:38 pm
Re: CSS frames April 17, 2006, 3:52 pm
frames/no frames July 22, 2006, 9:47 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap