views:

62

answers:

2

I would like to use both of these library on the same page but they seem to conflict when they are loaded at the same time. Does anyone know of any examples where they are both used or what might help prevent conflicts?

+1  A: 

You are probably looking for the jQuery noconflict mode:

http://api.jquery.com/jQuery.noConflict/

Paddy
this doesn't seem to be doing the trick. I think there is something odd that happens when jQuery is loaded and how o3d initializes itself
nkassis
Then, I'm afraid I don't have an answer, sorry.
Paddy
A: 

I believe this was due to the o3d code I had setting window.onload = init() function of my o3d code.

commenting out that line and adding:

jQuery(function() {

init();

}

at the end solves the problem.

nkassis