Elastic CSS for joomla has problem but the fix is easy

5 views
Skip to first unread message

doxadigital

unread,
Sep 29, 2010, 7:45:36 AM9/29/10
to Elastic CSS Framework
Hello i finally able to use Elastic CSS in joomla. since Joomla's core
using mootools, elastic has a simple issue in its core code.

in joomla, you can't use $() selector as it registered with mootools
by default, instead you should use jQuery() for selector.

Solution:
1. so in elastics.js you should use find & replace in your text editor
and change '$(' to 'jQuery('
2. after load jquery.js.. don't forget to set jQuery.noConflict();

so in your header, you should write like this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$.noConflict()
</script>

hope this info can be usefull for Elastic CSS user that going to write
joomla template...

for fernando and other elastic CSS team:
i suggest you release elastic.js using jQuery() format instead of $()
as jQuery() is a compatible format and will make elastic css
compatible with other javascript framework...


fernando

unread,
Sep 29, 2010, 10:26:56 AM9/29/10
to elastic-cs...@googlegroups.com
hey thx for the feedback. we will make the necessary corrections

doxadigital

unread,
Sep 29, 2010, 1:09:43 PM9/29/10
to Elastic CSS Framework
... it seem the minified version already using jQuery() format.

fernando

unread,
Sep 29, 2010, 4:59:46 PM9/29/10
to elastic-cs...@googlegroups.com
yes only new version is not, because that is not like stable release
yet.
Reply all
Reply to author
Forward
0 new messages