JackieChun
Well-known member
I have a small, old jquery script that I've finally gotten to run correctly on XenForo 2.1. It's a Facebook overlay popup based on an old version of fancybox.
The issue is that it runs on every page except the forum index. Is there something in XenForo's code that's preventing the script from running on the index page? The code is below. I can post the javascript and css too, if needed.
The issue is that it runs on every page except the forum index. Is there something in XenForo's code that's preventing the script from running on the index page? The code is below. I can post the javascript and css too, if needed.
Code:
<link rel='stylesheet' media='all' href='/ffpl-js/lightbox.css' />
<xf:js src="/ffpl-js/lightbox.js"></xf:js>
<xf:js>var lb_l_ret = {"fb_id":"xxxxx","appid":"xxxxx","website":"https:\/\/www.example.com",
"show_once":"30","delay":"29000","mab":"","facebookheader":"1","fblocale":"en_US","width":"400","height":"260",
"overlaycolor":"#001B3D","overlayop":"0.7","extracss":"background:#FFFFFF;","fbcolorscheme":"light",
"hideonlike":"1","connect":"1","cmessage":"Already a fan?","gaevent":"1","mobile":"","loggedin":"1",
"jqueryneed":"1","noconflict":""};
</xf:js>