keithg

seo friend url

add in htaccess RewriteRule ^([^/]+)/?$ /index.php?rel=$1&%{QUERY_STRING} From: www.xyz.com/index.php?rel=login To : http://www.xyz.com/login  Read more …
dhavalp

Gloabal ajax request loader functionality

We can use defaul jQuery-ajax method for display ajax loader on multiple ajax request by using below formula. var activeAjaxCount = 0; $( document ).ajaxStart(function() { activeAjaxCount++; $(‘#msg_writter’).show(); }); $( document ).ajaxComplete(function() { activeAjaxCount–; if (activeAjaxCount == 0) { $(‘#msg_writter’).hide(); } });Read more …
keithg

Slider load in bootstrap tabbing

make sure file exist : <link rel=”stylesheet” href=”//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css”> <link rel=”stylesheet” href=”http://bxslider.com/lib/jquery.bxslider.css” type=”text/css” /> <script src=”//code.jquery.com/jquery-1.10.2.js”></script> <script src=”//code.jquery.com/ui/1.11.0/jquery-ui.js”></script> <script src=”http://bxslider.com/lib/jquery.bxslider.js”></script> script for load slider ADD IN ONLOAD $(function() { var slider2_initialized = false; var slider3_initialized = false; $( “#tabs” ).tabs({ activate: function( event, ui ) { //console.log(“ui = “);console.log(ui); var tab_id...Read more …