acolangelo / jPanelMenu

A jQuery plugin that creates a paneled-style menu (like the type seen in the mobile versions of Facebook and Google, as well as in many native iPhone applications).
http://jpanelmenu.com
922 stars 188 forks source link

Conflict with facebook API #14

Open maxnix opened 11 years ago

maxnix commented 11 years ago

hi,

I have an issue when the page contains some facebook widget like the facebook like box or the comments API. Did you or someone else have ever met this problem?

thank you

victorpavlov commented 11 years ago

Hi, may be problem is in method setupMarkup, that creates html wrappers when DOM loaded, i had some issues with scripts that use document.Write methods, so you can try to create wrapper by hands and just comment this line $('body > *').not(jP.menu + ', ' + jP.options.excludedPanelContent).wrapAll('

'); panel property defined in menu settings just as string, so you will no have any problems with menu functionality.