CPSC 110: Project #6

More JavaScript

Add a button to your home page that will pop open a new dialog window so that the surfer can enter a word to look up in a dictionary. Here's the JavaScript code you need to do the action:

{void(term=prompt('Enter word to look up at Dictionary.com:',''))}if(term)location.href='http://www.dictionary.com/cgi-bin/dict.pl?term='+escape(term)

Also add two buttons to the bottom of your home page that will take the surfer back in their browsing history and forward in their browsing history. This is described in detail on this page also at PageResource.com.

Be sure that these buttons are put nicely onto your home page.

Other Simple Forms

Some Web sites have their own scripts that you can use from their Web site. Google.com is one such site. As a nifty feature for your users, add a Google.com search form to your home page following these instructions. You might find it easiest to enter the raw HTML code in Dreamweaver's code view.

Publishing

Save and publish your home page twice, once a index.htm, the other as indexproj6.htm.

Turn In

There is nothing you have to physically turn in for this project. If you can get to your home page from The Project #6 Page of Links, then you're all set. If the grader cannot access your pages from the page of links, you will receive no credit for this assignment. You do not have to include your name, course number (i.e., "110"), section letter, or even "Project #6" on these pages since it's all very explicit from the page of links. This project is worth 10 points. See the schedule page for the due date.

Other Projects

Continue working on the email project. Continue working on the Web project.


Schedule page --- Lab #6 --- email project --- Web project


Last modified: Thu Feb 21 17:40:04 EST 2002
This document was prepared with Latte, the best text processing language for the Web.
Every attempt has been made to validate the HTML on this page. Valid HTML 4.0!
© Copyright 2001--2002, Jeremy D. Frens & Calvin College. Permission to copy by any means is granted as long as this copyright is preserved.