Openfire Inband registraion using strophe js in converse JS

July 19, 2016 superadmin 0

Here i have explaining, how we can implement the in band registration using Strophe js. First we need to download following library files and include in the html . 1.jquery-2.1.4.js 2.strophe.min.js 3.strophe.muc.js 4.strophe.register.js Here is the piece of code below and you can modify the necessary fields <script type=”text/javascript”> var BOSH_SERVICE = ‘http://example.com/http-bind/’; // your openfire http-bind url var server = ‘example.com’; function register() { var $reg_name = ‘Enter username’; var $reg_pass = ‘Enter password’; var $fullname = ‘Enter fullname’; var $email = ‘Enter email’; var url = BOSH_SERVICE; connection = new Strophe.Connection(url); var registerCallback = function (status) { if [...]

Solve The Double Tap Issue on iOS Devices using Jquery

March 5, 2015 superadmin 0

First, You have to confirm that your website has the meta viewport tag <meta name=”viewport” content=”width=device-width, initial-scale=1″/> After that you have to include the following jquery in your html page.By using this script you can resolve the Double Tap Issue on iOS Devices $(document).ready(function() { //condition check ios devices if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) { $(‘a’).on(‘click touchend’, function(e) { var el = $(this); var link = el.attr(‘href’); window.location = link; }); } }); The touchend event will redirect the browser to the target of the link. I hope this is useful for you. Email this page

The 8 best jQuery plugins with awesome features

September 24, 2014 superadmin 0

JQuery is a fantastic library for designing and developing website. We list out the some of the best jQuery plugins.All the jQuery plugins on this website are free to download. Gmap.js Plugin Gmap js allows you to use the potential of Google Maps in a simple way and clean documentation to implement the code. It has lot of features starting from basic map layout to Street View Panoramas. Visit / Download RowGrid.js Plugin It is A small, lightweight jQuery plugin for placing items in straight rows.The grid is similar to grids on Google Image Search, flickr, shutterstock and Google+ images. [...]

Free jQuery Lightbox Plugin – BaguetteBox.js

August 6, 2014 superadmin 0

BaguetteBox is an easy to use, simple and great looking free jquery lightbox script plugin and this script written in pure JavaScript gallery. Features: Written in pure JavaScript, no dependencies required Multiple galleries support with custom options each Touch-screen devices support with swipe gestures Modern and minimal look Image captions support Responsive images CSS3 transitions SVG buttons, no extra files to download Around 2KB gzipped Manual Installation: 1. Download baguetteBox.min.css and baguetteBox.min.js files from dist folder. 2. Include them somewhere in you document: <link rel=”stylesheet” href=”css/baguetteBox.min.css”> <script src=”js/baguetteBox.min.js” async></script> How to use: Initialize the script by running: baguetteBox.run(‘.gallery’, { // [...]