[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
RE: Re: OT HTML Help
- To: <ukha_d@xxxxxxx>
- Subject: RE: Re: OT HTML Help
- From: "Alex Monaghan" <ha@xxxxxxx>
- Date: Wed, 11 Jun 2003 12:12:15 +0100
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
Thanks,
I was guessing I'd need a bit of script, but didn't want to miss something
obvious.
> -----Original Message-----
> From: Graham Howe [mailto:graham@xxxxxxx]
> Sent: 11 June 2003 12:07
> To: ukha_d@xxxxxxx
> Subject: [ukha_d] Re: OT HTML Help
>
>
> --- In ukha_d@xxxxxxx, "Alex Monaghan" <ha@m...>
wrote:
> > How can I update multiple frames by a single click ?
> >
> > I'm wanting to have a menu frame and a content frame, with title
> frame
> > etc... I'd like to be able to reload content, title and possibly
> menu frames
> > with a single mouse click.
> >
> > Is this easily do-able ?
> >
> > PS I know frames suck... but this is for a quick mock-up
>
> You can do this with client side scripting (usually JavaScript). Here
> is an example function to set the url for three frames:
>
> <!-- hide script from old browsers
> <SCRIPT LANGUAGE="JavaScript">
>
> function load3frames()
> {
> parent.frames[1].location.href = 'url1.htm';
> parent.frames[2].location.href = 'url2.htm';
> parent.frames[3].location.href = 'url3.htm';
> }
> </SCRIPT>
> -->
>
> You could then assign this function to the OnClick event of a link or
> button. With a bit of playing around you can pass the frame numbers
> and URLs through the OnClick event too so that different frame
> contents are loaded according to button/link clicked.
>
> HTH
>
> Graham
>
>
>
> ** UKHA2004 BE THERE! ** - start planning now.
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe: ukha_d-subscribe@xxxxxxx
> Unsubscribe: ukha_d-unsubscribe@xxxxxxx
> List owner: ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Home |
Main Index |
Thread Index
|