7.21 How is the WML Extension localsrc attribute used?

The Openwave extended DTD allows for <img> elements to be nested within <option> and <do> elements. This instructs the browser to display the image within the menu item or action (soft key) label, respectively.

Note that UP.Browser also supports the localsrc attribute, which allows developers to display any of a number of built-in browser icon images.


    <do type="accept">
      <go href="#c2"/>
      <img localsrc="righthand" alt="next" src=""/>
      Icon menu
          <img localsrc="house" alt="" src=""/> Home
          <img localsrc="videocam" alt="" src=""/> Video
[ Main ]   [ 07 - Making it look fancy ]