本文介绍了Javascript运行时错误:对象不支持属性或方法'stickyfooterbar'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 嗨 我是新来的,在运行期间我得到的对象不支持属性或方法'粘性页脚栏'。 请建议我如何解决这个问题,这对我非常有帮助 在HTML页面的标题中添加了 < script type = text / javascript src = jquery-1.6.2.js > < / script > < script type = text / javascript src = jquery-1.11.1.min.js > < / script > < script 类型 = text / javascript src = jquery.stickyfooterbar .js > < / script > 在页脚部分添加以下代码 < 页脚 > < div id = stickyfooter > < div class = 意图 > < div id = stickyline > < h2 > 获取它! < span class = scroll > 滚动到底部< / span > < / h2 > < / div > < ul > < li > < a href = https://github.com/defname/sticky-footer-bar > 访问GitHub上的项目< / a > < / li > < li > ; 或< a href = https:// github.com/defname/sticky-footer-bar/archive/master.zip\"> dow nload 存储库为ZIP < / a > < / li > < / ul > < / div > < / div > < p id = P1 > ©2014 Bodo Akdeniz < / p > < / footer > < script type = text / javascript language = javascript > $(document).ready(function(){ $( '#stickyfooter')stickyfooterbar( '#stickyline')。 }); < / script > 解决方案 (document).ready(function(){ ('# stickyfooter')。stickyfooterbar('#stickyline'); }); < / script > HiI am new to this , during run time i am getting object doesn't support property or method 'sticky footerbar'.Please suggest me how to fix this issue, it is very helpful to mein header of the HTML page added the<script type="text/javascript" src="jquery-1.6.2.js"></script> <script type="text/javascript" src="jquery-1.11.1.min.js"></script> <script type="text/javascript" src="jquery.stickyfooterbar.js"></script>in footer section added the below code<footer><div id="stickyfooter"><div class="intended"><div id="stickyline"><h2>Get it! <span class="scroll">Scroll to the bottom</span></h2></div><ul><li><a href="https://github.com/defname/sticky-footer-bar">Visit the project on GitHub</a></li><li>or <a href="https://github.com/defname/sticky-footer-bar/archive/master.zip">downloadthe repository as ZIP</a></li></ul></div></div><p id="P1">© 2014 Bodo Akdeniz</p></footer><script type="text/javascript" language="javascript"> $(document).ready(function () { $('#stickyfooter').stickyfooterbar('#stickyline'); });</script> 解决方案 (document).ready(function () {('#stickyfooter').stickyfooterbar('#stickyline'); });</script> 这篇关于Javascript运行时错误:对象不支持属性或方法'stickyfooterbar'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-24 21:41