[TYPO3-german] felogin and mootools JS conflict (rgaccordion)
Steffen Gebert
steffen at steffen-gebert.de
Thu Feb 26 13:14:52 CET 2009
Hi list,
I just noticed that my menu (rgaccordion using mootools) doesn't work on
pages with felogin.
I get a javascript error
> Error: element.setStyles is not a function
> Source file: .../ext/rgaccordion/res/menu/mootools.js
> Line: 3
This error is raised once at loading of the page.
As I'm not familiar with those various JS frameworks, it would be nice if
sb. could give me a tip, where to search for the reason.
I don't see any other frameworks included and mootools seems to be loaded
before other JS. Here are my headers:
> <script src="typo3conf/ext/rgaccordion/res/menu/mootools.js"
type="text/javascript"></script>
Mootools
> <script src="fileadmin/templates/misc/res/menu.js"
type="text/javascript"></script>
this contains such things:
> window.addEvent('domready', function(){
> accordion = new Accordion('span.toggle', 'ul.content', {
> <script type="text/javascript"
src="http://.../www/delivery/spcjs.php?id=1"></script>
OpenX Adserver Script
> <script type="text/javascript"
src="typo3temp/javascript_a708894199.js"></script>
Just the normal things like linkTo_UnCryptMailto()
> <script type="text/javascript">
> var pw_change = 0;
> function enc_form(form) {
> ...
> }
> // -->
> /*]]>*/
> </script>
Encrypted password transfer?
> <script type="text/javascript"
src="typo3conf/ext/mnogosearch/resources/scripts.js"></script>
> <script type="text/javascript" src="typo3/md5.js"></script>
> <script type="text/javascript"
src="typo3conf/ext/sr_feuser_register/scripts/jsfunc.updateform.js"></script>
I also disabled the whole sr_feuser_register stuff to ensure it's really
felogin.
It's reproducible in Opera and FF.
It would be nice, if you could help me..
Thanks!
Steffen
More information about the TYPO3-german
mailing list