Blink SMS
A 'Blink SMS' is a SMS message in which a part blinks (the part between
[ and
] ). Below, you can read how you can add Blink SMS to your site:
Step 1: Add the standard include
Be sure that you've add the 'standard include' of Ringtonio to your source code: this is the topmost of the 2 Javascript codes which you get when you walked through the 'Build GSM site' wizard. If you haven't add the 'include' yet:
determine here what include script you should use. (This link will open in a new window).
Further, you have to add the code as a standard include, you are going to use this function for sending the ringtones.(also add between and):
Step 2: Links to the order form
After this, you can offer Blink SMS in several ways:
- Blink SMS as a link
Example
I [love] you
Source
<a href="#" onClick="sendblink('I [love] you');return false;">I [love] you</a>
- Blink SMS with the help of a form
Example
Source
<form name=blinksmsform>
<b><i>Send Blink SMS</b></i><br>
<small> Place the text, which has to blink, between <i>[</i> en <i>]</i></small><br>
<input type=text name=txt size=40 maxlength=62 value="I [love] you!">
<input type=button onClick="sendblink(document.blinksmsform.txt.value);
return false;" value="Send!">
</form>
Tips & pitfalls:
- Format Blink SMS text
The length of a Blink SMS has a maximum of 69 characters. Blinking text will be placed between [ and].
Every [ and ] count for 2 characters. Please mention this if you use a form to offer Blink SMS;
- Browser-problems
Don’t forget to give the return false; code behind OnClick. If not, some browsers won’t open your order popup. The same problem will appear if you use behind href="javascript:sendlogo(xxxx);" instead of the above way.
