Question

I have implemented Yii infinite scrolling using Yii framework. It is working fine without Jquery. If I add the Jquery infinite scrolling is not working. If I remove the Jquery menu toggle functions are not working. I am using menu function is Bootstrap collapse. I had been added the no conflict() function. It was not working. i added my codes for your reference. please suggest me suitable answer

<?php $this->widget('ext.yiinfinite-scroll.YiinfiniteScroller', array(
'contentSelector' => '#posts',
'itemSelector' => 'div.post',
'loadingText' => 'Loading...',
'donetext' => 'There is no more posts... my only friend, the end',
'pages' => $pages,

)); ?>

No correct solution

OTHER TIPS

Use jquery conflict like this

var $j = jQuery.noConflict();

and replace your menu toggle jquery with $j

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top