- Posts: 2
- Thank you received: 0
Slider doesn't work anymore
-
Tietsky
Inactive member - Topic Author
- New Member
Less
More
11 years 10 months ago #25138
by Tietsky
Slider doesn't work anymore was created by Tietsky
Hi,
we've bought the Hot cinbema template that comes with Hot carosell. Everything worked perfectly but suddenly on one day the slider doesn't work. It shows all images under each other. All other scripts also stoped working. When I disable this module the site is working normally. So I thing its a Jquery problem. It uses the one from the template. Maybe there was an update that is not compatible with the slider. Please help me.
www.dbprojecten.com
we've bought the Hot cinbema template that comes with Hot carosell. Everything worked perfectly but suddenly on one day the slider doesn't work. It shows all images under each other. All other scripts also stoped working. When I disable this module the site is working normally. So I thing its a Jquery problem. It uses the one from the template. Maybe there was an update that is not compatible with the slider. Please help me.
www.dbprojecten.com
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 10 months ago #25155
by ivan.milic
Replied by ivan.milic on topic Slider doesn't work anymore
In template's index.php find this line:
<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js ">
replace it with:
<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js ">
<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js ">
replace it with:
<script type="text/javascript" src=" ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js ">
The following user(s) said Thank You: Tietsky
Please Log in to join the conversation.
-
Tietsky
Inactive member - Topic Author
- New Member
Less
More
- Posts: 2
- Thank you received: 0
11 years 10 months ago #25212
by Tietsky
Replied by Tietsky on topic Slider doesn't work anymore
That works, thanks! But is there a way to load them local, so the loadingtime of the website is much faster?
Thanks,
Matheos
Thanks,
Matheos
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 10 months ago #25230
by ivan.milic
Replied by ivan.milic on topic Slider doesn't work anymore
Yes in fact i personaly more like that way because you don't depend on foreign servers. Download that files you following directly that links from your browser address bar. You will se lot of compressed javascript, just right click and save both files to disk, then copy them to /js directory inside your template folder.
Then in index.php of template replace that two lines with:
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery-ui.min.js"></script>
note names jquery.min.js and jquery-ui.min.js so make sure files are renamed exactly like that after you copy them
Then in index.php of template replace that two lines with:
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery-ui.min.js"></script>
note names jquery.min.js and jquery-ui.min.js so make sure files are renamed exactly like that after you copy them
Please Log in to join the conversation.
Time to create page: 0.302 seconds