[Pro] WebYep Gallery, Lightbox, Windows 7, Firefox and Chrome

This is odd.

I’ve built a webyep gallery for a client of mine, then applied the Lightbox2 to it. It works perfectly on my Mac, on our XP with Chrome, and on VirtualBox with Windows 7 and IE 9.

However, when I click on one of the thumbnails from Chrome or Firefox on the same VirtualBox machine, instead of using the Lightbox effect, it just opens the image in a new tab. You can make the gallery do this on a Mac by control-clicking on the thumbnail, the choosing “Open link in new tab”.

Any ideas on how to get those browsers to show properly?

http://hcm.onrampwebdesign.com/cakegallery.php


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

This page is trying to load jQuery and Prototype at the same time. Pick one and stick with it! You really don’t need both.

Walter

On Nov 13, 2012, at 4:00 PM, Caleb G wrote:

This is odd.

I’ve built a webyep gallery for a client of mine, then applied the Lightbox2 to it. It works perfectly on my Mac, on our XP with Chrome, and on VirtualBox with Windows 7 and IE 9.

However, when I click on one of the thumbnails from Chrome or Firefox on the same VirtualBox machine, instead of using the Lightbox effect, it just opens the image in a new tab. You can make the gallery do this on a Mac by control-clicking on the thumbnail, the choosing “Open link in new tab”.

Any ideas on how to get those browsers to show properly?

http://hcm.onrampwebdesign.com/cakegallery.php


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


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

Now I’m really perplexed. How did I get both? That page is rather simple. The only actions I have on it are RPL and the WebYep stuff.


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

Lightbox - at least that version - uses jQuery.

Earlier versions (2.0.5) uses Scriptaculous and Protaculous.

Native FW actions use Scipt/Protaculous so you may well have an action on that page that is calling on them. Check carefully.

David


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

Dave and Walter,

Thanks for the help so far. This website has a deadline of tomorrow evening, so I’m running with little time. There is nothing quite like scope creep!

I removed all other actions from the page (CSS Menu’s and RPL), and it’s still acting the same.

Hmmph.


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

I just did a bit of source diving. Apparently, WebYep is asking for two scripts in the /lightbox/ folder that don’t exist:

and…

With the new version of Lightbox, those scripts don’t exist. Instead you have:
jquery-1.7.2.min.js
jquery-ui-1.8.18.custom.min.js
jquery.smooth-scroll.min.js

A email to Objective Development might be in order.


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

A email to Objective Development might be in order.

… and probably senseless.

Hi Caleb,

the prototype call is either done by the gallery-action or the webyep core automatic (not sure) cause all older lightbox-versions run on prototype so there is nothing you could do to stop.

I wonder a little bit, cause the jQuery call needs to be add manually (which you did or was this process automatic as well?).

One chance I see is running a noconflict scenario such as:

Put this into the before end head tag of your page.

Cheers

Thomas


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

Thanks Thomas!

However, I didn’t get around to trying your method. After doing a LOT of hunting, I found a download for Lightbox 2.05, which is what you have to use with WebYep as of today, and it works perfectly.

Also, for some reason I had jquery referenced in my page HTML markup. I have no idea why.

For future reference, you can download Lightbox 2.05 from here:
CloudApp — Not Found


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

Hi Caleb,

excellent found - I’ll keep this in mind (and probably share it as well somewhere).

Cheers

Thomas


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

After doing a LOT of hunting, I found a download for Lightbox 2.05,

Sorry - didn’t realise you would have trouble finding 2.0.5 or I would have offered it to you.

D


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