PDA

Click to See Complete Forum and Search --> : Changing the contents of two frames at the same time


stevechase
Apr 29th, 2002, 08:16 AM
Hi, I have a html page with a top frame and a bottom frame, the top frame contains the menu options and the bottom frame contains the information.

At one point I click on the menu, in the top frame and change back the bottom frame contents to the home page, BUT, I also need to change the menu contents in the top frame at the same time.

PLEASE, can this be done, if so, how?

Thanks for your time
Steve
stevechase@kprmidlink.co.uk

punkpie_uk
Apr 29th, 2002, 09:10 AM
the the menu uses an anchor <a> why cant you put something in the onmouseclick event...

ie


<a href="banana.htm" onmouseclick="javascript:document.location.href='menu.htm'"></a>

stevechase
Apr 30th, 2002, 03:09 AM
thanks for the info, i will try it out

Steve