Images
press 'accept' key goes to card2
wmlHeader();
_wml();
_card();
_do( "type='accept'" );
__go( "href='#card2'" );
do_();
_p aligns output string on center.
_p( "align='center'" );
quote( "Internal images:" );
p_();
set internal images into a list. 'alt' and 'src' attributes are required for __img methods. 'localsrc' attribute specifies the internal image name.
_p( "align='left'" );
# note
String[] images = {"lefthand", "righthand", "house",
"videocam", "magnifyglass", "dog", "heart"};
String e;
for (int i=0; i
card2 display an internal 'lefthand' image and an external .bmp image.
_card( "id='card2'" );
_do( "type='accept' label='Prev'" );
__prev();
do_();
_p();
__img( "localsrc='lefthand' alt='left hand' src=''" );
p_();
_p( "align='center'" );
__img( "src='image/neatware.bmp' alt='neatware.com'" );
p_();
card_();
wml_();
|