Issue on Jquery Animate Slide From Left -


can please take alook @

this demo

and let me know why not able animate tocdiv?

<div class="row">     <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="wrapper">         <div id="map"></div>         <div id="toc">             <div class="row">                 <div class="pull-right"><a href="#" id="slidetoleft"><span class="glyphicon glyphicon-arrow-right"></span> </a>               </div>          </div>     </div> </div> 

and jquery is:

$("#slidetoleft").on("click", function () {     $("#toc").animate({         "left": "0px",         "slow");  }); 

i have updated fiddle. changed code like

 $(".glyphicon").click(function (e) {    e.preventdefault();     $("#toc").animate({ "left": "0px" }, "slow");   }); 

demo


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -