Hi,
I am trying to do the below demo :
http://demos.telerik.com/aspnet-mvc/sortable/sortable-panels
I am not interested in the panel. All I want is a div which is expandable and collapsible. ​But i don't see anything working, when i copy all the code as it is. I have tried only the div i want and tried but still it is not working. I don't see k-i-arrowhead-n , I have the latest version. I have all css too.
<div class="panel-wrap"> <div id="main-content"> <div id="news" class="widget"> <h3>News <span class="collapse k-icon k-i-arrowhead-n"></span></h3> <div> <h4><span>Jan 22, 2014</span> Stanford Speaker Series Looks at the Rising Tide of Eastern European High Tech Firms with Telerik CEO Vassil Terziev</h4> <h4><span>Dec 10, 2013</span> Telerik Test Studio Now Offers Cross-Browser Test Recording and Subscription-Based Pricing for 1M-Strong Developer Community</h4> <h4><span>Nov 22, 2013</span> Telerik AD is Named "Best Employer in Bulgaria" for Sixth Consecutive Year</h4> <h4><span>Nov 20, 2013</span> Telerik Embraces the Responsive Web with Latest Kendo UI Improvements</h4> </div> </div> </div></div><script> $(document).ready(function () { //exapand $(".panel-wrap").on("click", "span.k-i-arrowhead-s", function (e) { var contentElement = $(e.target).closest(".widget").find(">div"); $(e.target) .removeClass("k-i-arrowhead-s") .addClass("k-i-arrowhead-n"); kendo.fx(contentElement).expand("vertical").stop().play(); }); //collapse $(".panel-wrap").on("click", "span.k-i-arrowhead-n", function (e) { var contentElement = $(e.target).closest(".widget").find(">div"); $(e.target) .removeClass("k-i-arrowhead-n") .addClass("k-i-arrowhead-s"); kendo.fx(contentElement).expand("vertical").stop().reverse(); }); });</script>
Thanks,
Veena