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

print base_path() . path_to_theme() ;/assets/js/chili-1.7.pack.js?S"> print base_path() . path_to_theme() ;/assets/js/jquery-1.2.1.js?S"> print base_path() . path_to_theme() ;/assets/js/jquery.cycle.all.js?S">

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

CommentFileSizeAuthor
#3 alljavascriptfiles.zip31.89 KBmschneider

Comments

CZ’s picture

Status: Active » Postponed (maintainer needs more info)

Please post the error message or your JavaScript code.

mschneider’s picture

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

mschneider’s picture

StatusFileSize
new31.89 KB

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

CZ’s picture

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".

mschneider’s picture

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

mschneider’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

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