Homework

Topics: Web browser, World Wide Web, Windows 7 Pages: 2 (450 words) Published: November 2, 2014
Appendix D JavaScript Objects Read the directions carefully and write JavaScript code that addresses the requirements. Copy your code directly into the appendix document and post your assignment. Write a line of code using the Location object to return the uniform resource locator (URL) of a web page to a variable called myWebPage. Write a line of code using the Navigator object to return the web browser name to a variable called myBrowserName. Write a line of code using the Screen object to return the height of the display screen, not including operating system features such as the Microsoft Windows Taskbar, to a variable called myScreenHeight. Write a line of JavaScript code using the Windows object and other properties to open a new web browser window with the Google home page displaying and no menu bar. html head script function myFunction() var myWebpage location.href var myBrowserName navigator.appName var myScreenHeight screen.height window.open(http//www.google.com, _blank, menubarno) document.getElementById(results).innerHTML myWebpage br myBrowserName br myScreenHeight px /script /head body button onclick myFunction()Gather Info/button br div id results/div /body /html Appendix D IT/238 Version 6 PAGE MERGEFORMAT 1 Copyright 2013, 2012, 2009 by University of Phoenix. All rights reserved. Y, dXiJ(x( I_TS 1EZBmU/xYy5g/GMGeD3Vqq8K)fw9 xrxwrTZaGy8IjbRcXI

u3KGnD1NIBs
RuKV.ELM2fi V vlu8zH
(W uV4(Tn
7_m-UBww_8(/0hFL)7iAs),Qg20ppf DU4p
MDBJlC5
2FhsFYn3E6945Z5k8Fmw-dznZ xJZp/P,)KQk5qpN8KGbe Sd17paSR 6Q xsdschema targetNamespacehttp//schemas.microsoft.com/office/2006/metadata/properties maroottrue mafieldsID4aeb20c0e3442673af7ee10786458764 xmlnsxsdhttp//www.w3.org/2001/XMLSchema xmlnsphttp//schemas.microsoft.com/office/2006/metadata/properties xsdelement nameproperties

xsdcomplexType
xsdsequence
xsdelement namedocumentManagement
xsdcomplexType
xsdall/
/xsdcomplexType
/xsdelement
/xsdsequence...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Essay about Homework-"Such a Frustration"
  • Homework Ban Essay
  • No More Homework Essay
  • arguments for homework Essay
  • Homework: harmful or helpful Research Paper
  • Athletes Too Tired For Homework Essay
  • Essay about Aplia Homework Assignment Guidelines
  • Anti-Homework Movement Essay

Become a StudyMode Member

Sign Up - It's Free