atlr — 2010-08-24T17:10:33-04:00 — #1
I've tried a few differently-termed searches on this forum, but drawn a bit of a blank in terms of finding enough info to sort my problem. Apologies, however, if the answer is out there (which I'm sure it is!) and I just haven't found it....
I've done a simple script to list some pets for sale (here: http://tinyurl.com/2cx9xye) but am having right problems getting the "tablesorter" AND "Lightbox" to run alongside each other. At the moment it's either/or.
Now, from my searching, I gather that its because of the inclusion of both "prototype" and "jquery" (which I've hosted together on my central script-serving space in this example, and linked-to from the <head>)
Is anyone able to suggest what I can do, to get both of these working?
Thanks a million!
atlr — 2010-08-25T04:24:38-04:00 — #2
Thanks for replying.
How do I implement this?
modtup — 2010-08-25T03:35:37-04:00 — #3
If you are using jQuery with either mootools or prototype, just use jQuery("#el").method() instead of the usual $("#el").method() ...
modtup — 2010-08-25T07:21:42-04:00 — #4
Can you try below...thanks.
atlr — 2010-08-25T07:33:04-04:00 — #5
Fab, thanks so much - sorted!
What was the conflict, could you explain so i know? I'm assuming it was because of "prototype" and "jquery"?
atlr — 2010-08-25T07:09:40-04:00 — #6
This was the first link: Link1
And this the second: Link2
modtup — 2010-08-25T11:18:58-04:00 — #7
What was the conflict, could you explain so i know?
"$" is commonly used by both prototype, mootools(I think) and jQuery...so using "jQuery" object ensures that no you're always on jQuery namespace not with other libraries.
modtup — 2010-08-25T04:42:30-04:00 — #8
Post the code here, I'll give you an example...can't see your post or screenshot as tinyurl is blocked in KSA.