Uncaught TypeError: Object #<Object> has no method 'movingBoxes'

前端 未结 10 624
既然无缘
既然无缘 2020-12-08 19:06

Im trying to use the movingBoxes plugin with my asp.net mvc site and it is not working (obviously). I have the movingboxes.js imported in my head tag in the site.master lik

10条回答
  •  执笔经年
    2020-12-08 19:36

    I had a such problem too because i was using IMG tag and UL tag.

    Try to apply the 'corners' plugin to elements such as $('#mydiv').corner(), $('#myspan').corner(), $('#myp').corner() but NOT for $('#img').corner()! This rule is related with adding child DIVs into specified element for emulation round-corner effect. As we know IMG element couldn't have any child elements.

    I've solved this by wrapping a needed element within the div and changing IMG to DIV with background: CSS property.

    Good luck!

提交回复
热议问题