{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

#8 Javascripts - HTML FourthEdition Project 9 Integrating...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
HTML Concepts and Techniques Fourth Edition Project 9 Integrating JavaScript and HTML
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Project 9: Integrating JavaScript and HTML 2 Project Objectives Discuss how to integrate JavaScript and HTML Insert <script> tags on a Web page Define and describe JavaScript variables Extract the current system date Calculate the number of days from the current date to a future date
Image of page 2
Project 9: Integrating JavaScript and HTML 3 Project Objectives Describe the write() method of the document object Save the HTML file and test the Web page Write a dynamic message to a Web page Write a user-defined function that changes the color of the browser’s scroll bar
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Project 9: Integrating JavaScript and HTML 4 Project Objectives Construct a URL from a select list option choice Use the document’s location property to link to a new Web page Use the lastModified property to display the last modified document date Print an HTML file
Image of page 4
Project 9: Integrating JavaScript and HTML 5 Introduction JavaScript is an object-based programming language that provides functionality to Web pages An object is a person, place, or thing A built-in object is a JavaScript object that neither depends on nor belongs to another object Properties are attributes of objects and describe an object’s characteristics Methods are actions that an object can perform An event is the result of an action, such as a mouse click or a document loading
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Project 9: Integrating JavaScript and HTML 6 Opening an HTML File Start Notepad, and, if necessary, maximize the window. If Word Wrap is not enabled, click Format on the menu bar and then click Word Wrap to enable it With the USB drive plugged into your computer, click File on the menu bar and then click Open on the File menu If necessary, click the Look in box arrow and then click USB Drive (G:)
Image of page 6
Project 9: Integrating JavaScript and HTML 7 Opening an HTML File Double-click the Project09 folder and then double-click the ProjectFiles folder in the list of available folders If necessary, click the Files of type box arrow and then click All Files Double-click jeffersoncounty.htm in the list of files
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Project 9: Integrating JavaScript and HTML 8 Opening an HTML File
Image of page 8
Project 9: Integrating JavaScript and HTML 9 Entering the Starting <script> and Comment Tags
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern