Section A.8. Chapter 9


A.8. Chapter 9

  1. The prompt dialogue.

  2. Hereâ??s the timer:

  3. setTimeout(callFunction,3000,paramA,paramB);

  4. The location object can be used to change whatâ??s loaded in the browser. The individual items or the HRef property can be set to provide an entire URL.

  5. The navigator object can be accessed to get information about the browser, whether cookies are enabled, and so on.

  6. Hereâ??s the code for the window:

  7. var newWindow = window.open("http://help.htm","","width=400,height=400,toolbar=no,status=no");




Learning JavaScript
Learning JavaScript, 2nd Edition
ISBN: 0596521871
EAN: 2147483647
Year: 2006
Pages: 151

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net