Explain simple javascript event

Assignment Help Programming Languages
Reference no: EM13935784

Simple JavaScript Event

Step 1: Using a text or HTML editor create a web page with the following content and formatting:Put an image in the background of your page (make sure that it is a very faded image so that you can see text on top of it)

In header tags of decreasing size centered on the page:

o Name

o Course

o Lab

Step 2: In the head section of your document, put a JavaScript block that properly comments out the code from older browsers. Create a function in the script block called MyLoadFunction. Make the function call the alert() method and include the message "Welcome to my Lab 5!".

Step 3: Modify the body tag of your page to include the onLoad event handler. Within the event handler call the MyLoadFunction().

Step 4: Save the web page in two different formats: Once as a text document that you entitle lab5xx.txt and again as lab5xx.htm

Reference no: EM13935784

Questions Cloud

Program to tests whether a word or phrase is a palindrome : The choice of page elements (e.g., test boxes, buttons, text areas) and their layout is up to you, but the overall design should be intuitive and user friendly.
How st pauls projected earnings before taxes are affected : Create a forecasted income statement for St Paul under each of the three exchange rate scenarios. Explain how St Paul's projected earnings before taxes are affected by possible exchange rate movements.
Why would spices have anti-microbial properties : Which spice (Black Pepper Agar, Chili Powder Agar, Cloves Agar) would be least effective in controlling microbial growth of Saccharomyces cerevisiae? WHY?
Different theoretical perspectives on the leaders traits : Your task is to compare and contrast the different theoretical perspectives on the leaders' traits/characteristics and motives as evidenced in the literature you have identified,
Explain simple javascript event : Modify the body tag of your page to include the onLoad event handler. Within the event handler call the MyLoadFunction().
What are the stages in the business process lifecycle : What is a business process? Give three examples. What are the stages in the business process lifecycle
Greatest impact on blake mycoskie success at toms : Which of these traits of effective leaders would you say has had the greatest impact on Blake Mycoskie success at TOMS?
What kind of contracts and contract law would you implement : As a global manager, what kind of "contracts" and "contract law" would you implement with your foreign investments
Would alhambras cash flows be favourably affected : Would Alhambra's cash flows be favourably or unfavourably affected if the Argentine peso depreciates over time?

Reviews

Write a Review

Programming Languages Questions & Answers

  Create design of very simple racing game

Create a very simple racing game of your own design. Making a game from the ground up is a lot of effort, so let's keep things basic.

  Develop unix shell script to input number of hours

Develop a Unix shell script to input number of hours worked and pay rate and calculate the total pay, then the social security amount (assume 5%), then the net pay.

  Program to calculate area of two-dimensional shape

Implement the Shape hierarchy shown in following figure. Each TwoDimensionalShape should contain method getArea to calculate the area of the two-dimensional shape.

  Write program to open file for reading

Write the program to open file for reading which has twenty (20) rows and in each row there are three (3) columns. After reading each row call user-defined function to display each row.

  Complete the systems administration scripting log

Complete the Systems Administration Scripting Log, As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and any errors experienced.

  Develop logic to accept number of passengers-zones as input

Develop the logic for a program that accepts the number of passengers and zones crossed as input. the output is the ticket charge.

  Develop the interactive calculator in bash shell script

Develop the interactive calculator completely in bash shell script (Linux programming). This calculator program must have the following features: Entry of expression acceptable to expr

  Write program to merge two files that contain polynomials

Write a program that merges two files that contain polynomials. To merge two files, the input files must be in sorted order.

  Write down a program that will predict the size of a

write a program that will predict the size of a population of organisms. the program should ask for the starting number

  Write the program to display company-s payroll report

Write down the program to display company's payroll report in list box. The program must read each employee's name, hourly rate, and hours worked from file and produce report in a table format.

  Identify all the pure-strategy nash equilibria of game

Identify all of the pure-strategy Nash Equilibria of this game. Identify at least one mixed-strategy Nash Equilibrium, and show that it is a Nash Equilibrium.

  Communicate with a pc using the rs232c serial protocol

In this assignment we will use the UART0 peripheral to communicate with a PC using the RS232C serial protocol.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd