1 Replies - 1870 Views - Last Post: 29 August 2001 - 09:27 AM

#1 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1877
  • View blog
  • Posts: 20,284
  • Joined: 17-March 01

Assignment #3 - Alert Pop-Up

Posted 29 August 2001 - 08:48 AM

The scenario for this was to have an alert box pop-up when the page loads and present the user with a message, again this is just a predone page with the JS code slapped in.

Here's code used for the JS:

<SCRIPT LANGUAGE="Javascript">

function HRMsg() {  alert("Please remember to update your employee benefit froms by the end of this month. Thank you. Human Resources.") }

</SCRIPT>


Then after that in the body tag you put this to make the function run when the page loads:
<BODY onload="HRMsg()">


The full page is: http://w3.tvi.cc.nm....kyhawk/cp132/j3

Is This A Good Question/Topic? 0
  • +

Replies To: Assignment #3 - Alert Pop-Up

#2 codeman  Icon User is offline

  • w3c fanatic

Reputation: 3
  • View blog
  • Posts: 1,190
  • Joined: 13-August 01

Re: Assignment #3 - Alert Pop-Up

Posted 29 August 2001 - 09:27 AM

Yup, simple, looks like an easy class so far. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1