Protaculous 2 with jQuery

Can anyone tell me how I can add the jQuery library to the Protaculous 2 action?

I have tried putting ’ http://jquery.com/" in the CDN URI box , placing jquery in the name box & adding the code “” into the markup 'Before section but all I get is an error when publishing/preview of ‘Please link ‘jquery’ to Javascript file’

what am I doing wrong?

below is some details I found on a thread saying…
"Custom Scripts: need to add libraries other than Prototype and Scriptaculous? You can add up to 10 additional scripts to the page, as long as there is a public CDN version of them available somewhere.
jQuery noConflict added automatically: Yes, this means you can link to jQuery at Google or another CDN, and Prototype won’t freak out. "

Basically I want to use the actions in Freeway like Transition FX, show/hide layer with the Background Supersizer or WOW Slider. both use jquery from what I can see, and hence why they mess up the built in actions…

Mark


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

Put the word jquery in the name field and the full CDN uri to the library in the uri field in the Action. Don’t hand-code the link in the page head, because the action can’t find it when you do that. jquery noConflict() will be added automagically.

Walter


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

Thank you Walter for your time & help.
I have tried putting jquery in the name field & copied: to the uri field.
unfortunately I still get the warning ‘Javascript Abort’ Please link ‘jquery’ to Javascript file.

Does http://jquery.com/” have to go in somewhere to or am I still doing something wrong?

Many thanks again.
Mark


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

Just put the URL, not the entire script tag in there. The Action will write the script tag for you. Also, since you are using the minified format, put jquery.min in the name field.

Walter

On Apr 3, 2013, at 4:45 PM, “Mark Lewis” email@hidden wrote:

Thank you Walter for your time & help.
I have tried putting jquery in the name field & copied: to the uri field.
unfortunately I still get the warning ‘Javascript Abort’ Please link ‘jquery’ to Javascript file.

Does http://jquery.com/” have to go in somewhere to or am I still doing something wrong?

Many thanks again.
Mark


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

Thank you Walter. no Javascript Abort error now!, but the Transition FX effects still do not work. can anything be done to make any of those FX effects work with jquery?
Just tried using a simple rollover & show/hide layer action & everything works!

would just like to say that I really appreciate your help, I was about to give up!

Mark


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

Can you post a link to the page where you’re having this problem?

Walter


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

here you go Walter:
http://marklewisimages.co.uk/ml_wow_site/untitled4.html

Since I added the FX effects the rollover & show/hide layer action have stopped working now, even when I removed the FX action!

this test page site is 2.3mb, yet took 15mins to upload via cyberduck. it was changing permissions on everything as it uploaded… even worse took 5 mins to display page, although it loads ok now. problems after problems!


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

Not helped by loading 2 versions of jQuery

Your issue may also be caused by the load order of jQuery

What happens if you remove the link to the jQuery script referenced in the engine1 folder of the Wow stuff

David


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

So much going wrong here. You need to strip it down to just one mention of jQuery, and if you want it to take advantage of the noConflict() shim in Protaculous2, then P2 should be the only place you add it. That Action can find other instances of jQuery on the page and rewrite them – but only if they were added by other instances of this Action or by an Action that used the fwAdd() method to add them to the page as tags. If you used HTML markup or an Action that used fwAddRaw (essentially just typing code into the rendered page, not adding script tags in the Freeway DOM before the page is rendered into code) then the Action can’t find them and remove them.

Walter

On Apr 3, 2013, at 7:33 PM, Mark Lewis wrote:

here you go Walter:
http://marklewisimages.co.uk/ml_wow_site/untitled4.html

Since I added the FX effects the rollover & show/hide layer action have stopped working now, even when I removed the FX action!

this test page site is 2.3mb, yet took 15mins to upload via cyberduck. it was changing permissions on everything as it uploaded… even worse took 5 mins to display page, although it loads ok now. problems after problems!


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 to Walter & David for your help. I have now got the WOW slider, Transition FX and the rollover & show/hide layer action all working. I removed the script part from the /head and just used this:

& then everything works fine.

The only thing I cannot get to work now is on a another page when I use the Background Supersizer with rollover & show/hide layer… I this problem easy to solve?


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

Share a link to that page too.

The issue maybe that you have to extract the code the action adds and put it in manually so that noconflict gets a chance to work

D


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

here you go: http://marklewisimages.co.uk/BS/Winchester.html


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