Mobile Safari API calls that trigger associated iPhone apps. Just a few shortcuts to the link types.

 

call

Opens the Phone app which places a call to the specified number. Shortcut for <a href=”call:312.555.1234″>.


Syntax:

lg.call(position);

Arguments:

  1. phone – (string) Phone number to dial.


Example:

lg.call('312.555.1234');

Back to Top

 

 

email

Opens the default Mail app on the iPhone. Shortcut for <a href=”mailto:liquidgear@googlegroups.com”>.


Syntax:

lg.email(email);

Arguments:

  1. email – (string) Email address to place in the “To” field.


Example:

lg.email('liquidgear@googlegroups.com');

Back to Top

 

 

sms

Opens the Messaging app on the iPhone. Shortcut for <a href=”sms:312.555.1234″>.


Syntax:

lg.sms(phone);

Arguments:

  1. phone – (string) Phone number to send a text message.


Example:

lg.sms('312.555.1234');

Back to Top