× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

jQuery and CSS

More
6 years 9 months ago #3312 by begovic.malik
begovic.malik created the topic: jQuery and CSS
I am interested, how can I include jQuery library and custom css files in my template? I made an interactive map that have some css and js code... PLS, can you provide any advanced help about this problem.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #3328 by marcin
marcin replied the topic: Re: jQuery and CSS
Hello,

First of all, please note that Joomla is based on mootools library, so you may encounter some issues if you include jquery.

A link to library you can add in the jm_head.php file (templates/jm-hct-pharmacy/lib/php) as follows:
 <s-cript src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

A custom CSS styles you can place, e.g., in the modules.css file (templates/jm-hct-pharmacy/css/).
If you encounter a conflict between jquery and mootools scripts, this article may be helpful for you:
docs.jquery.com/Using_jQuery_with_Other_Libraries

Regards,
Marcin
Last Edit: 6 years 9 months ago by marcin.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #3343 by begovic.malik
begovic.malik replied the topic: Re: jQuery and CSS
Thank you for your answer! I already solved my problem.. :) I have some trouble with TinyMCE html code permissions, but nothing significant. After that, I could post tutorial her.. if you don't mind?

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #3349 by marcin
marcin replied the topic: Re: jQuery and CSS
Sure, you can post it here.
Maybe it will be useful to someone.

Glad I could help :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.245 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.