Looks like the Simple Controls Gallery is using jQuery. The conflict
is between jQuery (which wants to use the `$` symbol) and Prototype
(which also wants to use `$`). The good news is that jQuery has a
`noConflict` mode, details here: http://api.jquery.com/jQuery.noConflict/

A glance at the Simple Controls Gallery code suggests that it's
noConflict-compatible and it doesn't have any `for..in` loops, so if
you add `noConflict` after loading jQuery and before loading
Prototype, you should be okay. E.g.:

<script src="jquery.js"></script>
<script src="prototype.js"></script>

T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com

On Jan 26, 6:09 pm, Umar Kaleem <technischcomp...@gmail.com> wrote:
> Hello
> I have installed Simple Controls Gallery v1.3 from dynamic drive
> website and there is a conflict between Simple Controls Gallery v1.3
> and prototype.js.
> So basically, my Simple Control Gallery v1.3 is not working becuase of
> the prototype conflict.
> Any solution to fix this problem?
> Thanks

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to