[英]Conflict between wow slider and angular.js
I have this code: 我有以下代码:
<div class="clearfix" id="image-block" ng-init="GetAllSingleProduct">
<div id="wowslider-container1" >
<div class="ws_images" ng-repeat="image in allSingleProduct"><ul>
<li><img ng-src="imagesT/data/images/{{image.imagename}}" alt="WIN_20150316_191218" title="WIN_20150316_191218" class=""/></li>
</ul></div>
<div class="ws_bullets" ng-repeat="image in allSingleProduct"><div>
<a href="#" title="WIN_20150316_191218"><span><img ng-src="imagesT/data/tooltips/{{image.imagename}}" alt="WIN_20150316_191218"/>1</span></a>
</div></div><div class="ws_script" style="position:absolute;left:-99%"><a href="http://wowslider.com">slider</a> by hasan</div>
<div class="ws_shadow"></div>
</div>
</div>
When I run the site and open firebug this div ws_images
does not appear. 当我运行站点并打开firebug时,此div ws_images
不会出现。 Can any body help? 有身体可以帮助吗?
If your div.ws_images
tag is not showing up, this means that your allSingleProduct
array has no elements in it and ng-repeat
is not looping through it. 如果未显示div.ws_images
标签,则表明allSingleProduct
数组中没有元素,并且ng-repeat
不在其中循环。
Make sure allSingleProduct
is not empty. 确保allSingleProduct
不为空。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.