[Pro] WebYep with Lightbox/Fancybox and carousel2

Working on a Freeway6/WebYep site with on the homepage carousel2.
My client wants to have Lightbox or Fancybox to increase the image size.
When I install Lightbox or Fancybox the carousel stops working.

Is there a solution for this problem?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Use a lightbox that is based on Prototype rather than jQuery. They don’t get along well with one another.

Walter

On Apr 27, 2013, at 9:49 AM, b8 wrote:

Working on a Freeway6/WebYep site with on the homepage carousel2.
My client wants to have Lightbox or Fancybox to increase the image size.
When I install Lightbox or Fancybox the carousel stops working.

Is there a solution for this problem?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi
This will be down to a few reasons.
Both fancy box and Lightbox (Version 2.5) are jQuery based, Carousel is not, its’ a prototype scriptaculous based. If you are using version 2.0.5 of Lightbox which is scriptaculous,.

The next problem is that WebYep will automatically include the two library references in the head of your document. Which isn’t (with this scenario) wanted because the carousel has already done that. So you will need to use the WebYep config action and disable the automatic inclusion of the scriptaculous library references.

Theres also one more problem, from what I can recall there is a compatibility problem with carousel and lightbox 2.0.5. I have not tested this recently so I have no idea if it still exists so be aware that it still may not function.

If you want to download lightbox 2.0.5 (pre jQuery version) then you can download it from here:

https://dl.dropbox.com/u/4274685/FileChute/lightbox.zip

Just remember, if you do turn the automatic inclusion of the scripty libraries off, from within the webyep-config action, you will need to manually add it back into any page that you require the light box to function by either using a freeway effects action which will add those libraries or by using Walter prototype scriptaculous actions.

All the best
Max


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 27 Apr 2013, 2:27 pm, waltd wrote:

Use a lightbox that is based on Prototype rather than jQuery. They don’t get along well with one another.

Thanks Walter
Where can I find these? I only can find lightboxes using jQuery.

On 27 Apr 2013, 2:34 pm, max wrote:

Hi
So you will need to use the WebYep config action and disable the automatic inclusion of the scriptaculous library references.

Hi Max,
where can I find the the WebYep config action?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

First hit on DuckDuckGo for ‘prototype lightbox’ was a desktop application to configure the code for the second hit, which was this: http://lokeshdhakar.com/projects/lightbox2/

It’s available in a Prototype version here:

https://github.com/lokesh/lightbox2/tree/prototype

Walter

On Apr 27, 2013, at 12:28 PM, b8 wrote:

Thanks Walter
Where can I find these? I only can find lightboxes using jQuery.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter,
but that is the one I’am using now.
Meanwhile I found our what the problem is, have to send Max a mail about the WebYep action.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello,

i

Hello,

i´m facing a similar problem: I use WebYep and my Website has a few Jquery-Plugins.

So i decided to go with the latest version of the lightbox…2,5+, cause it´s also jquery-driven.

But once i upload the lightbox-folder into the “opt”-folder, all Jquery-Plugins stop working.

I read above that i have to change the webYeps auto-inclusion of prototype.js, but i have no glue how to do that.

Can please somebody guide my through?

PS: u gotta excuse my english, i´m austrian :slight_smile:

cheers, Jay


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello,

i´m facing a similar problem: I use WebYep and my Website has a few Jquery-Plugins.

So i decided to go with the latest version of the lightbox…2,5+, cause it´s also jquery-driven.

But once i upload the lightbox-folder into the “opt”-folder, all Jquery-Plugins stop working.

I read above that i have to change the webYeps auto-inclusion of prototype.js, but i have no glue how to do that.

Can please somebody guide my through?

PS: u gotta excuse my english, i´m austrian :slight_smile:

cheers, Jay


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 13 May 2013, 5:36 pm, jay wrote:

Hello,

i´m facing a similar problem: I use WebYep and my Website has a few Jquery-Plugins.

So i decided to go with the latest version of the lightbox…2,5+, cause it´s also jquery-driven.

But once i upload the lightbox-folder into the “opt”-folder, all Jquery-Plugins stop working.

I read above that i have to change the webYeps auto-inclusion of prototype.js, but i have no glue how to do that.

Can please somebody guide my through?

PS: u gotta excuse my english, i´m austrian :slight_smile:

cheers, Jay

The WebYep config action is a folder action.
You apply it to the top folder in your site panel (on the left hand side) within Freeway
Then if you are using the latest version of Lightbox (2.5 and above) turn off the automatic inclusion of Prototype and Scripty. This is because 2.5 is using jQuery. Then press the create config button at the bottom of the action and replace your old config-file within the WebYep system folder.
Please Note: you will need to include the jQuery library in the head part of your page for lightbox 2.5 to function.

max


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

ok,
i´ll give that a try as soon as i´m back home, thanks a lot!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

ok,
i´ll give that a try as soon as i´m back home, thanks a lot!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Worked! you guys are awesome…and i think this is the only place in the net, where people know details about WebYep…

thanks!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options