- Home
- Inquire
- Enhance
- Understand
- Download
- Discover
and the following php line in your fe_page.tpl:html4strict:
php:
<?php echo $this->mootools; ?>
Toflar:
But be careful! Of course the provided content elements 'accordion' e.g. doesn't work anymore because it uses mootools.
So if your editors know, that they cannot use the whole TL functions, it's fine
Quote:
The jQuery library, and virtually all of its plugins are constrained within the jQuery namespace. As a general rule, "global" objects are stored inside the jQuery namespace as well, so you shouldn't get a clash between jQuery and any other library (like Prototype, MooTools, or YUI).
That said, there is one caveat: By default, jQuery uses "$" as a shortcut for "jQuery"
Quote:
Including jQuery before Other Libraries
If you include jQuery before other libraries, you may use "jQuery" when you do some work with jQuery, and the "$" is also the shortcut for the other library. There is no need for overriding the $-function by calling "jQuery.noConflict()".
Code:
<html> <head> <script src="jquery.js"></script> <script src="prototype.js"></script> <script> // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), etc. $('someid').hide(); </script> </head> <body></body> </html>
