Google Answers Logo
View Question
Q: Html/javascript ( Answered 4 out of 5 stars,   1 Comment )
Subject: Html/javascript
Category: Computers > Programming
Asked by: purplepit-ga
List Price: $50.00
Posted: 25 Apr 2003 16:12 PDT
Expires: 25 May 2003 16:12 PDT
Question ID: 195538
Can you follow the below mentioned specification into a program that
runs without errors!!! WITHOUT the use of an 'EDITOR' and leaving the
links OPEN for mysef to fill in???


A frame  at the top with just a header of your choice. 
A middle frame on the left handside taking 25% of the window with a
background of your choice, and links to all the Web pages you have
done so far, i.e. tutorial1.html, tutorial2.html, tutorial3_1.html,
tutorial3_2.html, tutorial4.html, tutorial5, tutorial6.html and two
links to the current tutorial7.html.
The links to tutorial1 to 6 should be displayed in the right handside
Your first link to tutorial7.html should redisplay the page in the
main existing window.
The second link will open a new window with the page. 
A bottom frame with a link to your email address and last modified
date, height of 10% of the whole window.

the left frame frames should also have a form where the user can enter
a color name or number, or select a color name. The user selection
will be taken as the background for the frames. You should then allow
to user to select the background to be displayed in the left frame,
the right frame or both.

Subject: Re: Html/javascript
Answered By: dogbite-ga on 25 Apr 2003 17:54 PDT
Rated:4 out of 5 stars
Hello purplepit-ga,

  Okay, I have created the requested html
  and JavaScript.  You can find it here:

  It has the following features:

    1) There is an array called 'links' within
       the JavaScript that you add new lessons to.
       The values are the first part of the html filename.
       So "lesson1" corresponds to "lesson1.html".
    2) Your lesson html files should be in a directory
       named "lesson".

  A ZIP file containing everything is here:

  I hope that gives you exactly what you asked for.


Request for Answer Clarification by purplepit-ga on 27 Apr 2003 15:56 PDT
Hi there,
and thanks very much so far....However, is there any way I can
incorperate all this into one piece of code, as I need to use it on a
UNIX based operating system...


Clarification of Answer by dogbite-ga on 27 Apr 2003 17:12 PDT
Hello purplepit-ga,

  I'm not sure I understand what you mean by
  "one piece of code."  Each frame corresponds
  to a different HTML file, so those cannot
  be combined into one file.

  All of the JavaScript is contained in the
  HTML file for the left frame though.

  As for running on UNIX -- the operating
  system of the hosting box should have little
  relevence to how the page works.  Also, I am 
  hosting the example that I posted on a Linux box.
  The operating system should not prevent it
  from working well.

  Please let me know if I'm misunderstanding
  your request, but I think the answer is no,
  it cannot be condensed into one file.

purplepit-ga rated this answer:4 out of 5 stars
Thanks very much!!!!!

Subject: Re: Html/javascript
From: studboy-ga on 26 Apr 2003 16:36 PDT
And be sure to "tip" dogbite-ga... generously :)
As he's from MIT and he deserves it =)

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy