Fancybox quit working
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Fancybox quit working
My fancybox has stopped working for some reason. Is there a way to restore the fancybox folder inside the lightbox folder without doing a full program download? It is not in the lightbox downloads on the website.
Re: Fancybox quit working
Hi... do you get error message when publishing, or how does it occur? Do you have the latest update?
Re: Fancybox quit working
Did you change something before it stopped working?
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
It actually does nothing. If I switch the page properties to magnificpopup that works fine. Switch back to fancybox and nothing happens. I'm trying to use HTML5 Video player and have it open in lightbox - fancybox.
Even if I place an image and link it to open another image in lightbox, nothing happens with the page set to fancybox. Something is wrong with fancybox it seems.
Even if I place an image and link it to open another image in lightbox, nothing happens with the page set to fancybox. Something is wrong with fancybox it seems.
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
No Pablo, nothing I can think of. I rarely use lightbox so I cannot say when this happened. I thought it might be a preview issue so I published a test page and still not working.
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Here is the test link:
http://www.icandyexperts.com/test/fancyboxtest.html
Click on the Intro image and another image should pop up in fancybox. Nothing happens. If I switch the page properties to magnificpopup that works fine.
http://www.icandyexperts.com/test/fancyboxtest.html
Click on the Intro image and another image should pop up in fancybox. Nothing happens. If I switch the page properties to magnificpopup that works fine.
- BaconFries
-
- Posts: 5331
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Fancybox quit working
Looks like your are using Fancybox 3 rather than the version in WB? See the following on Fancybox 3
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
Re: Fancybox quit working
BaconFries is right, this is fancy-box 3. This is not the version that comes with WWB.
So, you must have replaced the scripts yourself.
So, you must have replaced the scripts yourself.
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Yes that makes sense. it was probably done a while ago and I forgot. Than you both. I am not sure why it stopped working but at least I now know the cause. Thank you again.
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
I have deleted the fancybox folder in the lightbox folder. I have reinstalled the program and the fancybox folder has been restored with the 1.3.4 version. Still when I preview the test page it is still using the 3.3.5 version. Where else can it be getting this from besides the fancybox folder in the lightbox folder?
Re: Fancybox quit working
Go to "Documents\WYSIWYG Web Builder\system\lightbox\fancybox" and remove the entire folder.
Related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
Related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Thank you. I am back to 1.3.4
It appears the custom install of newer versions of fancybox no longer works when installed as directed in the linked post. I know it worked in previous versions of WB. Maybe something changed in WB recently? I downloaded the latest version 3.5.7 and added the .ini file. I'm pretty sure this worked in WB14 but because I use lightbox so little I could be wrong.
Thank you again
It appears the custom install of newer versions of fancybox no longer works when installed as directed in the linked post. I know it worked in previous versions of WB. Maybe something changed in WB recently? I downloaded the latest version 3.5.7 and added the .ini file. I'm pretty sure this worked in WB14 but because I use lightbox so little I could be wrong.
Thank you again
Re: Fancybox quit working
It still works for me.
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Could it be the lightbox.ini file?
The file that downloads when the program is installed is:
The last line "settings=" is not in the string in the linked post instructing to make the file. Does this matter?
Everything seems to be adding to the head code correctly. The jquery and all of the links open to the files they reference. Nothing seems to be missing.
Here is the published page. When you click on the sunburst the lightbox should open a second image.
http://www.icandyexperts.com/test/fancyboxtest.html
I cannot see anything wrong
The file that downloads when the program is installed is:
Code: Select all
[attribute]
rel=$ID$
[copyrights]
company=Janis Skarnelis
url=http://fancybox.net/
[init]
script=$("a[rel^='$ID$']").fancybox({$SETTINGS$});
settings=
Everything seems to be adding to the head code correctly. The jquery and all of the links open to the files they reference. Nothing seems to be missing.
Code: Select all
<link href="fancyboxtest.css" rel="stylesheet">
<script src="jquery-2.2.4.min.js"></script>
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.css">
<link rel="stylesheet" href="fancybox/dist/jquery.fancybox.min.css">
<script src="fancybox/bower.json"></script>
<script src="fancybox/dist/jquery.fancybox.js"></script>
<script src="fancybox/dist/jquery.fancybox.min.js"></script>
<script src="fancybox/gulpfile.js"></script>
<script src="fancybox/package.json"></script>
<script>
function displaylightbox(url, options)
{
options.padding = 0;
options.autoScale = true;
options.href = url;
options.type = 'iframe';
$.fancybox(options);
}
</script>
Here is the published page. When you click on the sunburst the lightbox should open a second image.
http://www.icandyexperts.com/test/fancyboxtest.html
I cannot see anything wrong
- protectourlands
-
- Posts: 513
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Fancybox quit working
Palo
Could you, or Bluesman, or anyone else that has installed Fancybox 3.5.7 per the WB link in previous posts, please publish a page with a demo? Just an image opening another image in lightbox would help me immensely.
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
I have tried everything in my wheelhouse and the only way I can get this to work is to modify how WB writes the link with a html editor. If I could see the source of a working page done in WB I could figure this out.
It would be most appreciated
Could you, or Bluesman, or anyone else that has installed Fancybox 3.5.7 per the WB link in previous posts, please publish a page with a demo? Just an image opening another image in lightbox would help me immensely.
https://www.wysiwygwebbuilder.com/forum ... 10&t=80753
I have tried everything in my wheelhouse and the only way I can get this to work is to modify how WB writes the link with a html editor. If I could see the source of a working page done in WB I could figure this out.
It would be most appreciated