On Mon, Apr 20, 2009 at 4:59 PM, Roger <roger.gilre...@gmail.com> wrote:
> > On Apr 20, 3:54 pm, amanj <amanji...@gmail.com> wrote: > > Hi All, > > i have a problem with web page, i have 2 js files for tow topic > > jquery-1.2.6.min.js > > mootools.v1.1.js > > those file are not compatable togeher, please if have any thing or any > > problem could you advice me how can i use it? > > Those files are not compatible with much of anything. Sure, they've each been superceded by later releases (1.3 and 1.2 respectively), but they're not *that* old. Only 3-7 months. > Both use > browser sniffing extensively. Mashing the two together will just > double your misery. Unfortunately, 1.3x is not much better 1.3 has no browser sniffing at all. That said, I don't see how browser sniffing relates whatsoever to two libraries both functioning on the same page. > and just > different enough to make upgrading a nightmare (see other threads > here.) > A nightmare? I've seen a few people tripped up with an out-of-date plugin still using a selector ([...@attr=...] instead of [attr=...]) that was deprecated in 1.2 and removed in 1.3. This is well documented. Simple find. Simple fix. - Richard