?
Solved

Targeting two frames in Pagemill 3.0

Posted on 2003-12-10
3
Medium Priority
?
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
Perpetual earned 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

801 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