[Pro] scriptalicious & Mootools

When I add the Mootools Slimbox effect to my graphic, to add a lightbox style image load, I am getting an error message saying:

Prototype and / or Scriptalculous Libraires Detected - Cannot co-exist?

Which actions are using this already on my site? Is it the carousel perhaps? Is there a list of which FW actions stop the slimbox effect working?

If it is the carousel action, does this mean I cannot have lightbox loading graphics? :o(

Thanks in advance :o)


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

Carousel, any Action with Scripty in its name, any Action with FX in its name, Target Show/Hide *, Rollover, CalendarView, NewsCycle, any Action with Ajax in its name, pretty much most of the fancy-effect Actions I have ever written, in fact, will all conflict with MooTools. MooTools forked away from Prototoype.js a number of years ago, and kept a lot of the principles and function names the same as Prototype. Unlike jQuery, which can be made to cooperate with Prototype, there is no way at all to make Moo and Prototype exist in the same page.

If you want a lightbox style image display, you can use ScriptyLightbox or ScriptyLightbox2 for this with no worries about compatibility.

Walter

On May 16, 2012, at 9:40 AM, gfel wrote:

When I add the Mootools Slimbox effect to my graphic, to add a lightbox style image load, I am getting an error message saying:

Prototype and / or Scriptalculous Libraires Detected - Cannot co-exist?

Which actions are using this already on my site? Is it the carousel perhaps? Is there a list of which FW actions stop the slimbox effect working?

If it is the carousel action, does this mean I cannot have lightbox loading graphics? :o(

Thanks in advance :o)


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

Thanks Walter, Does this mean I can’t have the moving lightbox style when the image is loading without removing all the fancy effects on my site?
I have installed ScriptyLightBox2, is there a way to change the image border colour to white instead of black?
Thanks :o)


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

I’m not sure what you mean by moving lightbox style here, but basically, if you want to use Moo or jQuery or YUI or Ext or any of the countless other libraries out there, you need to make all of your effects with that library. It’s not just the compatibility issue, either. Each of these libraries is meant to be an all-singing-all-dancing effects machine, and they are fairly heavy in terms of file size and memory footprint in the browser. Combining more than one of them can get you a page that weighs so much that many mobile browsers and even some desktop browsers will have trouble loading it and having it run in a meaningful manner.

As far as making the border another color, add the following to your Page / HTML Markup / Before /head dialog:

<style type="text/css">
.overlay { background:#ccc !important; }
</style>

Change #ccc to any hex color you prefer. Be sure to get the !important part in there, so you will override the action-added style rule also in the page head.

Walter

On May 16, 2012, at 9:57 AM, gfel wrote:

Thanks Walter, Does this mean I can’t have the moving lightbox style when the image is loading without removing all the fancy effects on my site?
I have installed ScriptyLightBox2, is there a way to change the image border colour to white instead of black?
Thanks :o)


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

Thanks Walter the mark up colour change works :o)

What I mean was the way the lightbox effect darkens the screen and adjusts to the size of your image, rather than a pop up style window.

I am guessing I would need to settle for a more basic layout without the carousel to have this?


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

ScriptyLightbox does the former style, ScriptyLightbox2 is not a “second, better” version of ScriptyLightbox, it’s a different approach, and meant to be more iOS-friendly. ScriptyLightbox is based on a third-party script called Lightwindow, and its great distinction is that it can display nearly anything you can throw at it, media-wise. It also does the darkened screen and auto-sizing effects.

Walter

On May 16, 2012, at 10:33 AM, gfel wrote:

Thanks Walter the mark up colour change works :o)

What I mean was the way the lightbox effect darkens the screen and adjusts to the size of your image, rather than a pop up style window.

I am guessing I would need to settle for a more basic layout without the carousel to have this?


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

Ok got it now, thanks :o))))


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