-
AuthorPosts
-
TomC Moderator
TomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 27, 2015 at 10:09 pm #680348<em>@kmkmedia 489430 wrote:</em><blockquote>Thank you! The above fix worked for me. Do you guys know why it seems like the templates are getting away from set maximum heights or automatically adjusting the height based on the scaled image? I use joomlart templates daily at work and have noticed that I have to come to the forums just to set a max slide height or make the slide autoplay(I didn’t think about setting in with css. I thought there was a file that had the set height in it somewhere in the slideshow acm folder). Is there a reason why the slideshow features(buttons and boxes to input values in the backend) are starting to go away or make it so it has to be changed in code?
Thanks,</blockquote>
It’s an interesting question/issue – one which I will forward onto the JA Development Team for review/thought.
1 user says Thank You to TomC for this useful post
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 27, 2015 at 10:09 pm #746834<em>@kmkmedia 489430 wrote:</em><blockquote>Thank you! The above fix worked for me. Do you guys know why it seems like the templates are getting away from set maximum heights or automatically adjusting the height based on the scaled image? I use joomlart templates daily at work and have noticed that I have to come to the forums just to set a max slide height or make the slide autoplay(I didn’t think about setting in with css. I thought there was a file that had the set height in it somewhere in the slideshow acm folder). Is there a reason why the slideshow features(buttons and boxes to input values in the backend) are starting to go away or make it so it has to be changed in code?
Thanks,</blockquote>
It’s an interesting question/issue – one which I will forward onto the JA Development Team for review/thought.
1 user says Thank You to TomC for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 28, 2015 at 7:24 am #680434@kmkmedia: About the image you could not fix with dimension width and height, when that the image will be scale with exactly width and height very ugly, you only set the image scale with width or height and the image will be scale with width and height.
With dimension width and height in Slideshow style of JA ACM module is setting width and height 100% it’s auto scale the image of module to fix with dimension of your layout, you can see it from my screenshot
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 28, 2015 at 7:24 am #746888@kmkmedia:
About the image, you should not fix the dimension for both width and height, it doesn’ look nice when image is scaled. You can set for width (or height) only instead.With dimension width and height in Slideshow style of JA ACM module is setting width and height 100% it’s auto scale the image of module to fix with dimension of your layout, you can see it from my screenshot
tom_laan84 Friendtom_laan84
- Join date:
- June 2008
- Posts:
- 348
- Downloads:
- 142
- Uploads:
- 30
- Thanks:
- 88
- Thanked:
- 67 times in 11 posts
October 12, 2015 at 9:56 am #704601How do you auto play the slideshow? my script.js is empty in this template.
tom_laan84 Friendtom_laan84
- Join date:
- June 2008
- Posts:
- 348
- Downloads:
- 142
- Uploads:
- 30
- Thanks:
- 88
- Thanked:
- 67 times in 11 posts
October 12, 2015 at 9:56 am #751373How do you auto play the slideshow? my script.js is empty in this template.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 12, 2015 at 10:37 am #704611<em>@tom_laan84 496979 wrote:</em><blockquote>How do you auto play the slideshow? my script.js is empty in this template.</blockquote>
This way will help you to do that
Open templates/ja_rent/acm/slideshow/tmpl/style-owl.php file
find and change
<script>
(function($){
jQuery(document).ready(function($) {
$("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true,
pagination:true,
navigation : true,
autoPlay: false,
});
});
})(jQuery);</script>
to
<script>
(function($){
jQuery(document).ready(function($) {
$("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true,
pagination:true,
navigation : true,
autoPlay: true,
});
});
})(jQuery);</script>
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 12, 2015 at 10:37 am #751383<em>@tom_laan84 496979 wrote:</em><blockquote>How do you auto play the slideshow? my script.js is empty in this template.</blockquote>
This way will help you to do that
Open templates/ja_rent/acm/slideshow/tmpl/style-owl.php file
find and change
<script>
(function($){
jQuery(document).ready(function($) {
$("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true,
pagination:true,
navigation : true,
autoPlay: false,
});
});
})(jQuery);</script>
to
<script>
(function($){
jQuery(document).ready(function($) {
$("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true,
pagination:true,
navigation : true,
autoPlay: true,
});
});
})(jQuery);</script>
Radonja Djurisic FriendRadonja Djurisic
- Join date:
- September 2014
- Posts:
- 316
- Downloads:
- 180
- Uploads:
- 113
- Thanks:
- 66
- Thanked:
- 72 times in 15 posts
Radonja Djurisic FriendRadonja Djurisic
- Join date:
- September 2014
- Posts:
- 316
- Downloads:
- 180
- Uploads:
- 113
- Thanks:
- 66
- Thanked:
- 72 times in 15 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 2, 2015 at 8:45 am #720969<em>@tolja 500413 wrote:</em><blockquote>@Ninja Lead
this slideshow need some fix 🙂
ninja can u help with this?
images in slideshow are really badany way to fix this to be normal ? and responsive with no image expanded or shrink ?</blockquote>
@tolja: You should create new thread for your new question, it would be helpful for community if someone has the same question.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 2, 2015 at 8:45 am #753475<em>@tolja 500413 wrote:</em><blockquote>@Ninja Lead
this slideshow need some fix 🙂
ninja can u help with this?
images in slideshow are really badany way to fix this to be normal ? and responsive with no image expanded or shrink ?</blockquote>
@tolja: You should create new thread for your new question, it would be helpful for community if someone has the same question. -
AuthorPosts
This topic contains 27 replies, has 6 voices, and was last updated by Ninja Lead 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum