I would like to use jquery/orangebox to bring up other websites in a
new window and prototype/scriptaculous for playing some sounds etc.
At the moment using the following with IE9 I get errors
http://www.micro-active.com/styles/style8/sound-test.htm
I have seen
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
but have not as yet understood how to apply the ideas here.
Geoff,
most people frequenting this newsgroup are opposed to using any
of the JavaScript libraries, because they are buggy, likely to
break web sites when new browser versions appear, violate all
kinds of rules of good JavaScript programming, and are not
properly and completely documented.
Their only redeeming advantage is that JavaScript beginners can
get something going with a reduced learning effort, but the
quality of the end result will be accordingly low.
In my view Prototype is even worse than jQuery.
So the first recommendation here will always be not to use
either of the libraries and certainly don't use both at the same
time. Instead learn JavaScript and write the few lines you need
to achieve your goal.
That said, it should be possible to use two libraries together.
I have seen at least one project where this was done. (Needless
to say, the creators of the project were entirely clueless, as
far as JavaScript was concerned.)
Of course the libraries cannot use the same global name for
anything, such as the $ variable, but the documentation explains
that.
Prototype may cause additional problems, because it alters
system objects that should not be altered. This may or may not
have adverse effects on jQuery, but I guess nobody would know
how to find out for sure.
If you cannot get these libraries to work together at all, then
there is the suspicion that your JavaScript knowledge level is
still too low to reach your aim and that you should learn more
about JavaScript programming before even trying to use those
libraries.
Hans-Georg