Re: Refresh a frame based on a condition in another frame?
| From: | Ronald van Raaphorst | Date: | Mon, 01 Sep 2003 07:52:05 +0000 |
| Subject: | Re: Refresh a frame based on a condition in another frame? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161346@lists.php.net to get a copy of this message | ||
Hi,
Thanks for the response, I'll try to explain better:
I have 2 frames: a Menu and a Content frame.
I have 2 menu's: one for support and one for sales
If the content frame displays a support article, the support menu should be
displayed.
If the content frame displays a sales article, the sales menu should be
displayed.
If the sales menu is already displayed, I don't want it to be refreshed,
because it's not necessary. It's already there!
So, based on a condition in the Content frame (evaluated by content.php) I
want to refresh (or not) the of the menu frame (controlled by menu.php).
I hope this is more clear.
Ronald
"Raditha Dissanayake" <jabber@raditha.com> schreef in bericht
news:3F52FAC0.6090509@raditha.com...
> Hi,
>
> It's not very clear from your message what you are trying to do. If you
> are trying to just reload some of the frames instead of the whole
> frameset look at the 'target' attribute for 'A' element in html.
>
>
> Ronald van Raaphorst wrote:
>
> >Hi all,
> >
> >I have header, a menu and a content frame.
> >The header should not be refreshed.
> >The menu dislays a menu (menu.php?menuid=x) from a mysql menu database,
and
> >should be refreshed based on a condition.
> >The content frame (content.php?[article=x | table=y]) displays either an
> >article or some database content and should always be refreshed.
> >
> >Depending on a condition in the content (checked my content.php), I want
the
> >menu to be refreshed or not, i.e. I want the menu to select another
topic.
> >
> >How do I do this? I don't want the complete page or the menu to be
refreshed
> >if it's not necessary, and on the other hand, when content.php notices
> >another menu item should be selected, it has to be renewed...
> >
> >Any help is greatly appreciated
> >Ronald
> >
> >
> >
>
>
> --
> http://www.raditha.com/php/progress.php
> A progress bar for PHP file uploads.