ht

Document Sample
ht Powered By Docstoc
					                                                       IT: 403 Internet Programming-1
                            PRACTICAL – 13


Aim: - program related to window, history and location object of
       JavaScript.

Functions:

        1.   window.open()        7. Window.status         13.   location.pathname
        2.   window.close()       8. history.back()        14.   location.protocol
        3.   moveBy()             9. history.forward()     15.   location.reload()
        4.   moveTo()             10. history.go()         16.   location.assign()
        5.   scrollBy()           11. location.href        17.   location.replace()
        6.   scrollTo()           12. location.host()


Exercises:


      1. Write a JavaScript to open a new web page with width is 200 px
         and height is 400 px also move window on location
         ( 400px,150px) .

      2. Write a JavaScript to display system date on status bar of
         browser.

      3. Write a JavaScript to display web page according to selection
         value of combo box.

      4. Write a JavaScript to display url of current webpage.




                                                                       CE/IT Department

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:1
posted:6/17/2012
language:
pages:1