Apr 14

Now you can covert long URL to short link directly on your website. This will add more functionality to your website whereby your visitors will be able to create a short link from your website without open a new window or been re-directed to INTURL website.

The snippet required to display INTURL service on your website is

<script src="http://api.inturl.com/inturlOffsite.js" type="text/javascript"></script>

You can customize the look by passing some values as shown below:

<script type="text/javascript">
var inturlOffsite = { _tittle: 'Make your long URL short!',
			_width : '99%',
			_field_width : '85%',
                        _txt_color : '#000000',
			_bg_color : '#FFFFCC',
			_bd_color : '#000000'
			};
</script>
<script src="http://api.inturl.com/inturlOffsite.js" type="text/javascript">
</script>

where _tittle represents the title your want to display to make your visitor understand what the input display is meant for. _width is the width of the div, _field_width represents the width for the input field, _txt_color to represent the text color while _bg_color and _bd_color represent the background and the border color respectively.

The output of the code above will look like this:

This is a working example!

3 Responses to “Generate INTURL directly on your website, no re-direction.”

  1. jqrel Says:

    this is cool as it will add more function to my blog. love it men. thanks for sharing your service.

  2. jqrel Says:

    you can check it on my site now. http://i-slang.blogspot.com/

  3. webmaster Says:

    That’s a nice placement on your blog, jqrel.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word