jquery and custom templates.
12 years 6 months ago #4213
by mmoltzan
jquery and custom templates. was created by mmoltzan
To get SS to render on a page I had to remove this line from my index.php
<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js ">
and
load jquery from the SS module advanced options menu.
now my custom template that uses jquery does not work.
How can I get both to work at the same time?
Thanks
<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js ">
and
load jquery from the SS module advanced options menu.
now my custom template that uses jquery does not work.
How can I get both to work at the same time?
Thanks
Please Log in or Create an account to join the conversation.
12 years 6 months ago #4214
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: jquery and custom templates.
Hi
if you load jquery in your template and disable it in the module ?
Ced
if you load jquery in your template and disable it in the module ?
Ced
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
12 years 6 months ago - 12 years 6 months ago #4215
by mmoltzan
Replied by mmoltzan on topic Re: jquery and custom templates.
then the SS does not work.
see attached screen captures from Chromes' inspect element, resources
camera.min,js and index.php files.
click here to go to site:
see attached screen captures from Chromes' inspect element, resources
camera.min,js and index.php files.
click here to go to site:
Last edit: 12 years 6 months ago by mmoltzan.
Please Log in or Create an account to join the conversation.
12 years 6 months ago #4216
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: jquery and custom templates.
ok, check that your jquery in the template is called before the <jdoc: include type="head" />
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
12 years 6 months ago #4217
by mmoltzan
Replied by mmoltzan on topic Re: jquery and custom templates.
Works perfect! how did you discover that trick?
Please Log in or Create an account to join the conversation.
12 years 6 months ago #4219
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: jquery and custom templates.
just because the Jquery was not already loaded when the slideshow needs it
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.229 seconds