Page 74 - DCAP512_WAP_AND_WML
P. 74

WAP & WML                                                        Sarabjit Kumar, Lovely Professional University




                    Notes                                Unit 6: Card Navigation

                                     CONTENTS

                                     Objectives
                                     Introduction
                                     6.1  Card Navigation
                                     6.2  Using URLs
                                     6.3  Tags Used in Navigation

                                          6.3.1  WML Links
                                          6.3.2  Creating Links
                                     6.4  Using Phone Buttons and Functions Keys

                                          6.4.1  Back Button
                                          6.4.2  Why HTML is not used in WAP?
                                     6.5  Types of WML Cards
                                     6.6  Core Elements of a WML Deck
                                          6.6.1  Card Attributes

                                          6.6.2  Text Formatting
                                     6.7  Summary
                                     6.8  Keywords

                                     6.9  Review Questions
                                     6.10 Further Readings

                                  Objectives

                                  After studying this unit, you will be able to:
                                      Scan URL's
                                      Describe Tags used in Navigation
                                      Demonstrate using phone buttons and function keys
                                      Recognize navigation history

                                  Introduction

                                  Uniform Resource Locators (URLs) are being used to name resources in WML. There are two different
                                  types of URLs: absolute and relative URLs. A WML fragment anchor is specified by suffixing the URL
                                  for a deck with a # symbol and the destination element’s id attribute is added as follows:

                                  deck-url#card-id


                                          Example: If we want to refer to the “menu” card in mydeck, we have to use an absolute
                                  URL such as http://www.peterindia.net/mydeck.wml#menu.
                                  In this unit we will discuss about the card navigation.



          68                                LOVELY PROFESSIONAL UNIVERSITY
   69   70   71   72   73   74   75   76   77   78   79