Murach's JavaScript and DOM Scripting
How to control the web browser

This chapter shows you how to use the browser objects to manipulate and print browser windows and to get information about the browser. It also shows you how to use JavaScript to put cookies on a user's web browser and how to read and use those cookies.

Chapter 19 How to control the web browser
How to script browser windows 664
How to open and close windows 664
How to move and resize windows 666
How to scroll a window 668
How to print a window 670
How to use window events 672
How to script browser objects 674
How to use the navigator object 674
How to use the location object 676
How to use the history object 678
How to use the screen object 680
How to use cookies 682
An introduction to cookies 682
How to create cookies 684
How to read cookies 686
How to delete cookies 688
The Task List application 690
The user interface 690
The XHTML file 690
The jslib_cookies.js file 692
The tasklist_library.js file 694
The tasklist.js file 694




Murach's JavaScript and DOM Scripting

Learn more about this book

View the table of contents


More about the eBook



Our 100% Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a prompt refund...no questions asked.