spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column17

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

Logo

  Dynamic Synchronized Frames
  SPECIAL EDITION; the director's cut

This technique requires a frameset document, top and left frame documents, and a main frame document. If you require only a synchronized left or top frame, you can modify the code accordingly.

The Frameset

Many of the frameset attributes depend on your application. These are highlighted in purple. Change these to suit your adaptation of the technique.

The Left Frame

The only addition to the page HTML is the insertion of the enclosing LAYER tag, and the alignment-ensuring browser-specific attributes in the BODY tag.

The Top Frame

Same rules as the left frame apply.

The Main Frame

This frame is the "controlling frame" and contains the script. Don't forget the margin attributes in the BODY tag, and to change the JavaScript reference to the left and top frames to use the NAME you gave them.


Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

All Rights Reserved. Legal Notices.
Created: Mar. 25, 1998
Revised: Mar. 25, 1998

URL: http://www.webreference.com/dhtml/column17/allCode.html