Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

targeting two frames with 2 different pages from one button 1

Status
Not open for further replies.

hitby

Programmer
Jun 25, 2002
16
IE
Hi,
I wsa just wondering if it was possibly to target two different frames with two pages from one button. I have a 4 frame frame set, top, buttons, main and bottom. When I click on one of my buttons in the button frame I want the top frame and button frame to stay the same but have the main frame and the bottom frame both change, reason being is I've got different buttons in the bottom frame that correspond to whatevers in the main frame. Does that make any sense at all? Please help if at all possible, I'm going round in circles

Cheers!
Danny
 
Hi Danny!

It's pretty easy.[ol]
[li]open whole frameset page;
[li]select some button and create first link like you usually do (let's say to main frame);
[li]select this link (simply click on the button and select <a> tag in the left bottom corner of the window);
[li]open Behaviour window (Window > Behaviours) and select Go To URL (click on + (plus) sign);
[li]select frame in the Open In field (select button frame) and select file in the URL field;
[li]enjoy! ;-)
[/ol]

Does it work as you need? Good Luck! :)
 
thanks for that, I'm using MX, is there any way to change the onMouseOver behaivour so that it changes onMouseDown?

thanks
Danny
 
OK,

if you'd done what I wrote than [ol] [li]open Behaviours window; [li]click once on the behaviour; [li]click on small arrow right to (onMouseOver); [li]goto Show Events For and select 4.0 and Later Browsers; [li]now click again on the small arrow and select (onClick). [/ol]
Now better?;-) Good Luck! :)
 
thanks very much, its simple when you know how innit :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top