Solved

Targeting two frames in Pagemill 3.0

Posted on 2003-12-10
3
181 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

821 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