incopatibilties with jquery libraries

mschneider - May 21, 2009 - 14:20
Project:Text Size
Version:6.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,
i have a customized image gallery on my drupal 6 site calling the following js files:

It seems that text size does not work with it - i get an javascript error. If a remove the javascripts from above all works fine.
Is there a solution for that?
Thanks in advance

#1

Christian Zwahlen - May 21, 2009 - 16:28
Status:active» postponed (maintainer needs more info)

Please post the error message or your JavaScript code.

#2

mschneider - May 22, 2009 - 12:50

sorry the javascript files were stripped out form my first message:

chili-1.7.pack.js, jquery-1.2.1.js, jquery.cycle.all.js

The error messages says:

Line:54
Character: 3
Error: This object does not accept this property or method
Code: 0

#3

mschneider - May 22, 2009 - 14:31

attached you find the confliting javascript files

additionally i have noticed that i can only see the text size block as authenticated user! i am running the drupal site in a subdirectory and i have enabled the rewrite mode as i have seen it in one of the posts here. thanks a lot in advance

AttachmentSize
alljavascriptfiles.zip 31.89 KB

#4

Christian Zwahlen - May 23, 2009 - 13:42

chili-1.7.pack.js, jquery-1.2.1.js and jquery.cycle.all.js included, the textsize modul works. In which file is the error?

Go to admin/user/permissions#module-textsize and enable for "anonymous user".

#5

mschneider - May 24, 2009 - 19:38

thanks for your fast response - and thanks for pointing out the thing with the permissions!

i commented out the js files to see which files gives the error - and it's jquery-1.2.1.js - is there a way to see why?
thanks in advance

#6

mschneider - May 24, 2009 - 20:40
Status:postponed (maintainer needs more info)» closed

the problem is solved - my template site called the same js file but different versions twice. i removed the call to jquery-1.2.1.js and now it seems to work - thanks a lot

 
 

Drupal is a registered trademark of Dries Buytaert.