When floatbox.js loading,it will add a script into the page header like "<script url="/rightpath/options.js"></script>.Sometimes its path is wrong in some pages. When the 'options.js' path is wrong,the fb doesn't work,clicked will open a new tab or load content in current page.
I dont understand what makes this problem and how to resolve.Could someone resolve this problem?
version 6.0.2: Wrong path of 'options.js' when loading the page
Page: 1
Author | Post |
---|---|
#1 Wed Aug 10, 2016 10:52 am
|
|
Member
Registered: Aug 2016
Posts: 5
|
|
#2 Wed Aug 10, 2016 11:34 am
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
This is not a problem I have ever heard of before, nor can I imagine what might lead to such behaviour.
There are two approaches to address this: 1) 6.0.2 is very old. It would be prudent to update to the latest version, where there is near certainty such a problem won't occur. 2) Welcome to link me in to a live page that is trying to load options.js from the wrong path, and I'll dissect that page to determine what's going on. |
#3 Mon Aug 15, 2016 2:18 am
|
|
Member
Registered: Aug 2016
Posts: 5
|
Thank you very much.
We debuged the script, floatbox of this version analysis the 'options.js's path through finding the last one script's src. Once we use google analysis,the google analysis will be the last one script. Or sometimes other script generated by some script.So the floatbox gets the wrong 'options.js' src. We modified the code to get right src. |
#4 Mon Aug 15, 2016 2:28 am
|
|
Member
Registered: Aug 2016
Posts: 5
|
It's interesting why this version floatbox find the last script's src to get options.js.
Is it wrong with config? You can visit uat.hradvance.com.au, use username:kael081501@111.com pwd:111111 |
#5 Mon Aug 15, 2016 4:40 am
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
Please download and install Floatbox from the zip file located on the download page. You have copied the Floatbox files out from this site, and copied them into your site. Using this non-standard source and install invites trouble such as what you are experiencing. Installation and use of the standard distribution package will work as advertised. See the Instructions document for installation details.
|
#6 Mon Aug 15, 2016 6:35 am
|
|
Member
Registered: Aug 2016
Posts: 5
|
I can only download the newest version,did I have to re-purchase?
|
#7 Mon Aug 15, 2016 6:45 am
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
The download page delivers the latest version of Floatbox. There is ample documentation that registrations apply to all present and future versions of Floatbox with no additional upgrade fee.
|
#8 Mon Aug 15, 2016 7:05 am
|
|
Member
Registered: Aug 2016
Posts: 5
|
OK,thank you
|
Page: 1