Home
The Toolkit for Online Communities
15898 Community Members, 0 members online, 2225 visitors today
Log In Register

Forum OpenACS Q&A: Why is AJAXHelper set to off in yui-carousel by default?

OpenACS Home : Forums : OpenACS Q&A : Why is AJAXHelper set to off in yui-carousel by default?

Icon of Envelope Request notifications

::xowiki:Includelet require_YUI_JS -ajaxhelper 0 "file.css"

...seems to result in version 2.7.0 of the files being sourced direct from YAHOO instead of from the openacs file system, which in turn of course leads the beloved Internet Explorer to squeal like a stuck pig on every page load.

Why is this? Is it to guarantee compatibility by default by always loading v2.7.0?

Regards
Richard

+
Posted by Dave Bauer on
Fix the references like so:


script src="//yahoo.com/path/to/file.js"

instead of

script src="http://yahoo.com/path/to/file.js"

I recommend using the CDN if you leave off the protocol it'll work as long as they serve HTTPS from the CDN. I know the google CDN works that way.

Thanks Dave, that makes perfect sense. In fact I have something else set up that way, it just didn't occur to me!