TAILIEUCHUNG - Lecture Introduction to web engineering - Lec 23: History, navigator, screen and form objects
Lecture Introduction to web engineering - Lec 23: History, navigator, screen and form objects. After studying this chapter you will be able to understand: History object, navigator object, screen object, form object, accessing form elements, setting form elements, validating form data. | Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 1 Controlling the background dynamically Bgcolor Text background Working with images Image rollover Image preview Image slide show Date object Digital clock Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 2 History object Navigator object Screen object Form object Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 3 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 4 The history object contains the URLs visited by the user (within a browser window) The history object is part of the window object and is accessed through the property Used to move forward and backward through the visitor’s browsing history Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan 5 History object properties: Length: Returns the number of URLs in the history list History object methods: back(): Loads the previous URL in
đang nạp các trang xem trước