I have tried to install Fancy box in my freeway site without succes. I bought the very easy to follow tutorial from DanJasker. Unfortunately it does not work for me. I have followed the instructions to the second and I have done it three times. Still not working.
on my site (only a test site to try to get the fancybox working) the thumbs work exactly like there were only normal “hyperlinks”. ie they open the larger pictures in the same window, but without any sort of animation, frames…
You’ve also spelt the class name for thumb2 incorrectly. It should be ‘group’ and not ‘gruop’.
Change these and your page should work as expected - like this; http://www.freewayactions.com/test/fancybox/
I have rebuilt the test site one more time to see if that would change anything. Unfortunately not.
I have now also corrected the script links to be without the first slash ( I had already tried that without any luck ). And the site does still not work?
I have also tried using the same method as described in the video tutorial of DanJansker to integrate Lightbox and Bumpbox. The Lightbox worked, but only for images. I do not get swf or html files to work. And with the Bumpbox I got the same result as with Fancybox (the link works as a normal hyperlink).
My conclusion is that the .js files are not read correctly. Why? Do I have to put them in the same folder as the index folder maybe??? Now they are all in the “fancybox” folder.
You can check to see if the files are being loaded by using Safari’s
Web Inspector (Safari preferences, advanced, check Show Develop menu),
or just the Window / Activity list. If your js files are not loading,
they will be listed in red in the Activity list.
If you’re trying to show such a wide range of different content types,
I would recommend the ScriptyLightbox Action (which uses Prototype,
Scriptaculous, and Lightwindow2) over any other windowing toolkit. It
can play pretty much anything a browser can display, both with and
without plug-ins. Plus, it won’t conflict with the built-in Actions in
Freeway, unlike anything based on jQuery.
Walter
On Jun 17, 2011, at 8:17 AM, erik wrote:
Hello
Thank you all for your replies!
I have rebuilt the test site one more time to see if that would
change anything. Unfortunately not.
I checked with Safari Web inspector, and there it sais that all the .js files are not found!!!? But they are all there! I put the whoe fancybox folder on the server (like the instructions said) ANd I have double checked that the script are pointing to the right place!!! Why are they not found???
I have tried the ScriptyLightbox action, but it seems like it does not work with html files? And I do not know how to adjust the settings for it. I like the main website to dim for example.
For me (who are not a programmer) it seems wierd that it works with certain “lightboxex” but not with others.
Thanks again for all the help. If somebody has some tips for the fancybox problem, I would be very greatful.
There are two different ScriptyLightbox Actions – ScriptyLightbox
(the original) definitely works with HTML files. You can even put a
form inside it and the form will work. It’s that good. But
ScriptyLightbox2 was written to solve a different problem – to be
really friendly to the iPad and other iOS devices. It does not (yet)
handle HTML content in the popup, and you’re right, it doesn’t dim the
page either. The original SL does both of those things. The two have
only the name in common. Oh, and I wrote both of them. But under the
hood they are entirely different.
Walter
On Jun 17, 2011, at 1:25 PM, erik wrote:
Hello
Thank you Walt!
I checked with Safari Web inspector, and there it sais that all
the .js files are not found!!!? But they are all there! I put the
whoe fancybox folder on the server (like the instructions said) ANd
I have double checked that the script are pointing to the right
place!!! Why are they not found???
I have tried the ScriptyLightbox action, but it seems like it does
not work with html files? And I do not know how to adjust the
settings for it. I like the main website to dim for example.
For me (who are not a programmer) it seems wierd that it works with
certain “lightboxex” but not with others.
Thanks again for all the help. If somebody has some tips for the
fancybox problem, I would be very greatful.
Looks like you got it working, Erik. Hopefully it was the folder paths I suggested in the email to you that were the fix. Looks like maybe you moved the folder to the correct location now and everything looks quite “fancy”.
Thank you VERY much for all your help. It is really nice of you to take the time to help.
Yes, I finally got it working. You were right, it did have something to do with the folder paths. When I copy the text for the scripts from the fancybox website, it includes a “/” in the beginning. Seems to work better without! Simple as that!
Walt! I have tried to use the ScriptyLightbox, (the original) but I can not get it to work with the html file I like to link to on my server. Dont know why.
Anyway, thanks a lot. Now I am trying to learn how to tweak the graphics in Fancybox : ) Can anyone explain how I could replace the title with an image for example. Ot how I can tweak the look of the title text in any other way.