[Pro] jQuery and Scriptaculous conflict

Hi Good People…

Having struggled to get this landing page to work as I want… it has broken the Scripty lightbox3 action so that the enquiry form (in the search box at the top to the right of the Cotswold logo) now doesn’t appear in a lightbox overlay, but opens the related page in the same browser window. Not ideal!

Look here to see how it should work:

http://www.cotswoldengineeringsupplies.co.uk

The jQuery code is wrapped in a jQuery.noConflict wrapper

( function($) {

 //jquery.app-folder.js function

    } ) ( jQuery );

Is there any way to get this working again?

Thanks,

Steve.

http://www.cotswoldengineeringsupplies.co.uk/Pneumatic-Fittings


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

No, it’s not. The code you need works like this:

// include prototype
// include scriptaculous
// include jquery
<script> jQuery.noConflict(); </script>
// now you can do anything you want with either library

Walter

On Aug 3, 2014, at 1:55 PM, SteveB wrote:

The jQuery code is wrapped in a jQuery.noConflict wrapper


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

Thanks Walter, it works a treat!

I thought I missed something!

Cheers,

Steve.

On 3 Aug 2014, 6:18 pm, waltd wrote:

No, it’s not. The code you need works like this:

// include prototype
// include scriptaculous
// include jquery

// now you can do anything you want with either library

Walter

On Aug 3, 2014, at 1:55 PM, SteveB wrote:

The jQuery code is wrapped in a jQuery.noConflict wrapper


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