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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using HTML frames

Status
Not open for further replies.
Oct 18, 2002
6
GB
I've got my web page set up to use frames. There's a navigation frame and a main frame. For the navigation I wanted to use flash for the buttons. So you'd click a button the right page would appear in the mainframe.
What command do I need to use for the buttons to send the URL to the main frame?

I've done...
on (release) {
getURL ("products.htm");
}
but this puts the required page in the navigation frame - replacing the flash menu. How do I get flash to put the right URL in the main frame?

Thanks

Adam
 
You must add the frame name to your getURL...

Thus, if your main frame is named mainframe in your frameset (it must be named something!), use the following:

on (release) {
getURL ("products.htm", "mainframe");
} Regards,

oldman3.gif
 
oldnewbie,

Thanks for this. I realised as soon as I'd posted the message what a fool I was being. Sometimes you just get blinded from looking.
Thanks for your help.

Adam
 
so old

have you seen this problem

getURL("bottomFrame.html#section09", "main_frame");

where the #section09 is a named achor Iwant to jump to acroos a frame?

won't work, Macromedia say use

getURL ("javascript:window.location.href=\"filename.html#anchorname\"");


but i can't get this to work either?

suggestions? jef
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top