WebDeveloper.com �: Where Web Developers and Designers Learn How to Build Web Sites, Program in Java and JavaScript, and More!   
Web Developer Resource Directory WebDev Jobs
Animated GIFs
CSS
CSS Properties
Database
Design
Flash
HTML
HTML 4.01 Tags
JavaScript
.NET
PHP
Reference
Security
Site Management
Video
XML/RSS
WD Forums
 Client-Side
  Development

    HTML
    XML
    CSS
    Graphics
    JavaScript
    ASP
    Multimedia
    Web Video
    Accessibility
    Dreamweaver
    General
    Accessibility
    Dreamweaver
    Expression Web

    General

 Server-Side
  Development

    PHP
    Perl
    .NET
    Forum, Blog, Wiki & CMS
    SQL
    Java
    Others

 Site Management
    Domain Names
    Search Engines
    Website Reviews

 Web Development
  Business Issues

    Business Matters

 Etc.
    The Coffee Lounge
    Computer Issues
    Feedback




Beginners Guide to JavaScript (Part 4)

Frames Manipulation

Frame manipulation is probably one of the most talked about topics of JavaScript. It works like everything else in JavaScript. Once you learn the object model, it should be the same throughout. Let's look at your typical FRAMESET. <FRAMESET COLS="50%,50%">
<FRAMESET ROWS="50%,50%">
<FRAME SRC="page1.html" NAME="page1">
<FRAME SRC="page2.html" NAME="page2">
</FRAMESET>
<FRAME SRC="page3.html" NAME="page3">
</FRAMESET>
In this example, there are going to be three separate frames. Now let's say we want to click on a link on one page and have both frames change to something else. But before we do that, let's understand the heirarchy of the object model involved. self.* means current window.
parent.* means the parent of current window.


HTML5 Development Center


Recent Articles