Ryan's District
November 21, 2008, 11:48:48 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Ryan's District Lottery: Claim your ticket or check
Jackpot details  
 
   Home   Help Search Chat Calendar Chess Shop Login Register  
Digg This!
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: WML Links and Images  (Read 3335 times)
0 Members and 1 Guest are viewing this topic.
ben2ong2
Quality Poster
Paid
Hero Member
*****

Reputation: 17
Offline Offline

Gender: Male
Posts: 2374
9976.80 RD$

View Inventory
Send Money to ben2ong2

View Profile Awards
« on: October 05, 2006, 05:56:22 PM »

Links
A WML card can be set up to display the anchor functions of WML.
<anchor>
The <anchor> tag always has a task ("go", "prev", or "refresh") specified. The task defines what to do when the user selects the link. In this example, when the user selects the "Next page" link, the task says "go to the file test.wml":
<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""You are not allowed to view links.
Register or Login"><wml><card title="Anchor Tag"><p><anchor>Next page<go href="test.wml"/> </anchor></p></card></wml>
<a>
The <a> tag always performs a "go" task, with no variables. The example below does the same as the <anchor> tag example:
<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""You are not allowed to view links.
Register or Login"><wml><card title="A Tag"><p><a href="test.wml">Next page[/url]</p></card></wml>
Logged

You are not allowed to view links.
Register or Login
Free Paid Survey & Home Business Resources.

You are not allowed to view links.
Register or Login
Free Article Directory | Quality Content
Ryan's District
« on: October 05, 2006, 05:56:22 PM »

 Logged
ben2ong2
Quality Poster
Paid
Hero Member
*****

Reputation: 17
Offline Offline

Gender: Male
Posts: 2374
9976.80 RD$

View Inventory
Send Money to ben2ong2

View Profile Awards
« Reply #1 on: October 05, 2006, 05:57:17 PM »

Image
A WML card can be set up to display an image:
<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""You are not allowed to view links.
Register or Login"><wml><card title="Image"> <p>This is an image<img src="/images/stickman.wbmp" alt="stickman" />in a paragraph</p></card></wml>
The result MIGHT look like this in your mobile phone display

Note that .wbmp is the only image type that can be displayed in a WAP browser.
Logged

You are not allowed to view links.
Register or Login
Free Paid Survey & Home Business Resources.

You are not allowed to view links.
Register or Login
Free Article Directory | Quality Content
Ryan's District
   

 Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Archive - WAP2 - WAP - imode
Sponsors: RAYAN.tv
-

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.386 seconds with 30 queries.

Google visited last this page Today at 11:21:27 AM