Solved

Targeting two frames in Pagemill 3.0

Posted on 2003-12-10
3
175 Views
Last Modified: 2010-04-07
I've got a 3 frame layout in Pagemill 3.0 (Windows XP).  Top is header that doesn't change.  Left is menu with buttons that change.  Center is main body.

I don't know how to use java to do all the cool menu button stuff, so I'm trying to do it with a jpeg menu I've created and placed in the left frame.  When someone clicks one button, I'd like the center frame to change but also the left button frame to change to a version with the current choice highlighted.

I've created all the differrent versions of the buttons but I can't seem to tell Pagemill to target two changes at once.  I can either get the buttons to change to the next one or to change the center frame.  How can I tell it to do both?
0
Comment
Question by:marshak
3 Comments
 
LVL 1

Accepted Solution

by:
Perpetual earned 500 total points
ID: 9931436
Marshak,

I don't know how to do this in 'straight' html, but with a little help of javascript this task is rather simple.

On your page that contains the 'left menu with buttons' insert the following into the <HEAD> </HEAD> part of the document:

<script language="JavaScript" type="text/javascript">
function twoFramesOneClick(LinkToVisit){
top.FrameNameWithMenu.location.href = LinkToVisit;
}
</script>

And in the <BODY> for the links use something like:

<A href="http://www.google.com" onClick="twoFramesOneClick('MenuPage.html')" target="FrameNameWithContent">Google</A>


Hope this helps.

Cheers

eric.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Web Developer 7 268
LMS Tracking Survey Result 1 48
Creating a password protected individual webpage 1 566
Application.cfc - what is the order of events? 4 10
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now