eXtropia: the open web technology company
Technology | Support | Tutorials | Development | About Us | Users | Contact Us
Resources
 ::   Tutorials
 ::   Presentations
Perl & CGI tutorials
 ::   Intro to Perl/CGI and HTML Forms
 ::   Intro to Windows Perl
 ::   Intro to Perl 5
 ::   Intro to Perl
 ::   Intro to Perl Taint mode
 ::   Sherlock Holmes and the Case of the Broken CGI Script
 ::   Writing COM Components in Perl

Java tutorials
 ::   Intro to Java
 ::   Cross Browser Java

Misc technical tutorials
 ::   Intro to The Web Application Development Environment
 ::   Introduction to XML
 ::   Intro to Web Design
 ::   Intro to Web Security
 ::   Databases for Web Developers
 ::   UNIX for Web Developers
 ::   Intro to Adobe Photoshop
 ::   Web Programming 101
 ::   Introduction to Microsoft DNA

Misc non-technical tutorials
 ::   Misc Technopreneurship Docs
 ::   What is a Webmaster?
 ::   What is the open source business model?
 ::   Technical writing
 ::   Small and mid-sized businesses on the Web

Offsite tutorials
 ::   ISAPI Perl Primer
 ::   Serving up web server basics
 ::   Introduction to Java (Parts 1 and 2) in Slovak

 

Introducton to Web Design
Creating Popup Browser Windows  
  • The first thing we should get under our belts is the process of creating a separate window.

  • Really, this is incredibly easy and simply involves an extension to the <A> tag.

  • Specifically, in Navigator 2.0, Netscape rallied behind the TARGET attribute that would instruct the browser to create a new frame/window as a separate target for an HTML document.

  • Thus, to open up another browser window and display the Scripts Archive in the last section, we simply used the following code:

<A HREF = "http://www.extropia.com/Scripts"
      TARGET = "ResourceWindow">

  • So the HREF part should be familiar by now. But what is this "ResourceWindow" thingy?

  • Well, every window that pops up from your browser is named so that you can always reference it later. In this case, we have named our second window "ResourceWindow". The name does not matter, it could be "GoochySmoochy" if you wanted. All that maters is that you know the name and that when you wish to modify the contents of that window, you call it by name with the TARGET attribute.

Previous Page | Next Page