Git Product home page Git Product logo

jquery.esendex.sms's Introduction

jQuery.Esendex.Sms

jQuery.Esendex.Sms is a Javascript solution which enables quick and easy integration with Esendex's Echo application for sending SMS text or voice messages. Here's how:

  • Add jQuery to you page (jquery-1.8 or later is supported)
  • Include the jquery.esendex.sms.js file
  • Apply the esendexSms function to an element or class

You will need to sign up for an account at www.esendex.com to send SMS or voice messages.

Use preset data when loading Echo

You can use the following attributes to preset data when the Echo application loads:

  • data-esendex-phone-number - This is the phone number you want to send a message to.
  • data-esendex-message - Allows you to specify a default message to be typed when Echo loads.
  • data-esendex-account - If you have multiple accounts you can control which account you want to send the message from. Your account reference is the number prefixed with EX (e.g EX0000001).

<span class="sms" data-esendex-phone-number="07800 000 000" data-esendex-message="Default message" data-esendex-account="EX000000">Send SMS Message with Echo</span>

Customize the appearance of links

The plugin converts the element it is applied on to a hyperlink. You can alter the CSS class used to display the link by setting the cssClass option when attaching the plugin e.g.

$(".sms").esendexSms({ cssClass: 'myHyperlinkStyle' });

A complete example can be seen in the sample file.

jquery.esendex.sms's People

Contributors

neilkilbride avatar

Watchers

John Armstrong-Prior avatar  avatar  avatar Andrew Seward avatar Adam Witko avatar James Cloos avatar Catherine Mayfield avatar Aaron Ford avatar  avatar Ronnie Lawson avatar Rob Davie avatar Moreton avatar Karl Bagci avatar  avatar Ben Purcell avatar  avatar  avatar Richard Bradshaw avatar Raffi Tamizian avatar James Parker avatar George Frost avatar  avatar Martin Cavanagh avatar Jack Thorley avatar Tommy Ly avatar Christian Hill avatar Steven Stinson avatar Michael Power avatar Prit Sehmbi avatar Daniel Edwards avatar Stephen Grainger avatar Andrew Glisson avatar  avatar David Laryea avatar Scott Bradley avatar C Johnson avatar Alexandru Aldea avatar Nitin Gupta avatar Fernando Frederick avatar David Bainbridge avatar Adrian Ioan avatar Sarah Waters avatar Kamil Spirydowicz avatar Keith Turner avatar Adam Hawkesford avatar Giulio avatar  avatar Dom Clayton avatar Gherghelau Andrei avatar Luke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.