Lecture Summary4b
Prepared by: Anthony Larrain
JavaScript
- JavaScript is a programming language.
- You are not expected to understand all of the JavaScript code.
- It will be obvious looking at the code what you need to change, if any changes are needed
- Just insert all the code including the
script
tags at the point in your document where you want the JavaScript effect to show.
Example
The following code will produce this neon light effect.
This free script provided by
JavaScript Kit
This free script provided by
JavaScript Kit
JavaScript Resources
- Javascript Kit
- Internet.com
- Dynamic Drive
- A ton more, just google JavaScript or JavaScript cut and paste.
FrontPage Layers
- Layers allow you to easily place related web content at exact X and Y coordinates.
- Start FrontPage: In design mode: From main menu, Insert --> Layers.
- Each Layer is given a name layer1, layer2 etc.. These names can be changed.
- Inside the layer you can add your web content: text, paragraphs, links, lists tables etc..
- Layers can be moved and resized, before or after content is added.
- Each layer is placed inside a
div
tag - CSS positioning is used to layout the layer. This code is generated automatically by FrontPage as an inline style.
- Each layer can have a different font, color etc.. This can be done using frontpage or adding styles to the HTML file
- If you use CSS to style the layer, use Id selectors.
- Example:
Suppose you create two layers. If you do not change the name of the layer, they will be given the default names layer1 and layer2.
To add some style to each of the layer, we define an id selector.
Character Entities
Meta Tags
HTML Forms
- Forms provide a way of getting user feedback
form
is an HTML tag- Inside the form tag you can place normal text, markup and special elements called controls.
- Controls are elements like, radio buttons, check boxes, buttons, text fields.
The Code is:
The value for the attribute action
would be filled in by you.
- This needs to be the URL of a script that will process your form data. If you have a web hosting account they may provide the URL and script.
- FreeForms.org. Provides a service that will route form data to your email address.
- Sending it directly to your email. Not a good idea.
More on forms W3.org