Click to See Complete Forum and Search --> : Linking multiple frames


stutay
01-28-2005, 07:04 PM
Hi,

Does anyone know the best way to open two separate files in two separate frames by clicking on a button in a third frame.

I have a button which has the following code:

<a href="Menus/lightingmenu.htm" target="menuFrame3" onMouseOut="MM_nbGroup('out');" onMouseOver="MM_nbGroup('over','productmenu_r4_c2','imageshold/productmenu_r4_c2_f2.gif','imageshold/productmenu_r4_c2_f4.gif',1)" onClick=" MM_nbGroup('down','navbar1','productmenu_r4_c2','i
mageshold/productmenu_r4_c2_f3.gif',1)"><img src="imageshold/productmenu_r4_c2.gif" alt="" name="productmenu_r4_c2" width="234" height="16" border="0" onMouseDown="MM_goToURL('parent.frames['mainFrame']','Products/Covers/lightingcover.htm');return document.MM_returnValue"></a>

At present as you can see i have a URL link to open my second page in the second frame but this means users have to press their back button twice to return to where they were.

Is there anyway of adding in some code for the second link so it is not done via the URL and if so would it be possible to then link three or four frames to this button.

Hope i've explained this properly any help would be appreciated.

Thanks

Khalid Ali
01-28-2005, 07:27 PM
wrong forum, first of all post it in an appropriate forum then expect an answer(HTML or JavaScript should do)