New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Multiple frame controls in a link


Post Reply New Thread Subscribe

 
Thread Tools
gort

 
Member Since: Jul 25, 2004
Location: Gaithersburg, MD
Posts: 389
gort is on a distinguished road
Mac Specs: Mac Pro 2.6ghz Quad Xeon, 23" Cinema

gort is offline
It's been a while since I've been caught up with the latest html and javascript tricks. I'm designing a site, and I want to be able to modify the page being displayed in two different frames at the same time. i.e



user clicks on a link in frame 3, I want a page to open in frame 3, and frame 2's page to change. Once the person navigates away from the destination of frame 3, frame 2 goes back to its original source. Get it? If you can either give me a site with the info to do it or if yuo know how to do it yourself that would be great. Thanks in advance.
QUOTE Thanks
gort

 
Member Since: Jul 25, 2004
Location: Gaithersburg, MD
Posts: 389
gort is on a distinguished road
Mac Specs: Mac Pro 2.6ghz Quad Xeon, 23" Cinema

gort is offline
Nevermind, I got it.
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Are you going to share the answerm so if soneone else has the same question,

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
gort

 
Member Since: Jul 25, 2004
Location: Gaithersburg, MD
Posts: 389
gort is on a distinguished road
Mac Specs: Mac Pro 2.6ghz Quad Xeon, 23" Cinema

gort is offline
<a href="blah.htm" onClick="parent.frame2.src='blah2.htm'">link here</a>
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
Thank you for your resolution to the problem.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
pitythefool
Guest
 
Posts: n/a

Quote:
Originally Posted by gort
Once the person navigates away from the destination of frame 3, frame 2 goes back to its original source.
To be extra fancy, and to revert to the original page in frame two, irrespective of the destination of frame three, you could add an 'onUnload' declaration to the body I think....

Code:
<body onUnload="parent.frame2.src='page.html';" >
QUOTE Thanks

Post Reply New Thread Subscribe


« Anyone know where to get those "designed on a mac" logos? | WEb newb part V »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Sequence frame size in FCE sKaD Movies and Video 4 04-11-2004 01:47 AM
Apple posts iTunes Link Maker Murlyn Web Design and Hosting 2 02-28-2004 11:35 PM

All times are GMT -4. The time now is 12:02 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?