Web Design - El Centro College
 
HTML More HTML JavaScript Design Dreamweaver Fireworks Flash Photoshop More Info Home
 

Alert Boxes, Prompt Messages, Status Bar Messages & Document Write

External Scripts

JavaScript allows us to create webpages "on the fly" by utilizing Document Write. Document Write is also used to insert messages.

Document Write Example        ~        Document Write Example #2

Alert Boxes are used to alert your user to important information, used as greetings, to provide timely reminders, or warn users.

Alert Box (Preloaded) Example        ~        Alert Box (Not Preloaded) Example
Alert Box (Two on a Page) Example

Prompt Boxes request information from users. This information will then be utilized on the web page.

Prompt Message Example        ~        Combination Prompt and Alert Box Example

Combination Prompt and Multiple Alert Boxes - "Flattery"

Status Bar Messages provide users with brief bits of information.

Status Bar Message Example

External Scripts are time-savers. You can write the script once... and use it over and over again.

External Script Example 

Back to the Top