Clicking on an image and changing pages in three separate frames

J

Joseph Mouhanna

I have a web site with three frames, defined in INDEX.HTM

Frame 1 is called TopNav and is initially loaded with the MainMenu.htm page
(buttons in the form of GIFs)
Frame 2 is called SecNav and is initially loaded with the SecNavHome.htm
page (buttons in the form of GIFs)
Frame 3 is called MainFrame and is initially loaded with the primary.htm
page

I want to click on one of the buttons in Frame 1 and cause three different
pages to load in Frames 1, 2, and 3.

I did the following:

Double clicked on the picture, and the General Tab, and then in the Default
Hyperlink, I entered the following code fragment:

javascript:parent.frames.MainFrame.location='vision.htm';parent.frames.SecNav.location='SecNav_SecondMenu_Active.htm';parent.frames.TopNav='TopNavSecondMenu.htm'

When I try running it in preview mode (for INDEX.HTM, after saving
everything), all three frames clear (turn blank) and nothing loads.

When I try running it by double clicking on INDEX.HTM from Windows Explorer,
and clicking on the picture, I get a message telling me that IE blocked
content, so I unblock it but the pages are not changes (remains the same as
before).

Any ideas? or another way of doing it?

--thx, Joseph
 
T

Thomas A. Rowe

You need to test the page from a web server via http://

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top