Fancybox is not a function

前端 未结 8 763
北海茫月
北海茫月 2020-12-16 10:40

Hello I am using the jQuery plugin fancybox to display bing maps when somebody enters an address into a textbox and hits the submit button beside it. And a fancybox is loade

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 10:58

    If you are using a plugin which includes JQuery into your header tag, this trouble can arise. I recently added 'TheThe Slider' to my blog, all my FancyBoxes stopped working. There are easy fixes for this situation though. basically, go to the plugin directory, search for the call to jquery and make it's usage conditional. If you would like to see my implementation of this I did blog about it with screen-capture.

提交回复
热议问题