-
AuthorPosts
-
Mark Kennedy Friend
Mark Kennedy
- Join date:
- September 2014
- Posts:
- 79
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 27
- Thanked:
- 11 times in 1 posts
September 18, 2013 at 5:18 am #190698I would like to put the custom html for each image in JA Slideshow lite underneath the image when it is at mobile size.
1st option – modify existing css
I made an attempt at this but I couldn’t get it to work. It might be an easy solution with someone with more css knowledge!2nd option – create another custom html module that is only visible when mobile and hook it up to the slider so that it changes when the image changes.
I just don’t know how to make it so that the html changes with the image from a seperate module.3rd option – open to suggestions!
Any help or links to posts/tuts is greatly appreciated. 🙂
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 19, 2013 at 5:33 am #506310Hi magneticeye,
Truly, you will need to work with both css and jQuery to get your requirement since the Custom HTML modules won’t automatically slide according to the slide images with only css. So that, in this case, i suggest you to hire an experienced developer to help you handling this customization task.
Mark Kennedy FriendMark Kennedy
- Join date:
- September 2014
- Posts:
- 79
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 27
- Thanked:
- 11 times in 1 posts
September 22, 2013 at 3:13 am #506593Hi Leo,
So I decided I would just hide the slideshow using this:
@media (max-width: 479px) {
.ja-ss-items {
display: none ;
}
}From some recent reading on responsive images it would seem that display:none would still load all of the images for the mobile.
Is there a way to hide JA Slideshow without it loading the images?phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 23, 2013 at 2:12 am #506654Hi magneticeye,
You can use your codes above with hiding the slideshow item class or try these:
@media (max-width: 479px) {
#ja_slideshow_lite {
display: none;
}
}They are both effective.
Mark Kennedy FriendMark Kennedy
- Join date:
- September 2014
- Posts:
- 79
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 27
- Thanked:
- 11 times in 1 posts
September 25, 2013 at 4:45 am #506957Hey Leo,
So I used the network tab in developer tools to see what is downloaded and both #ja_slideshow_lite and .ja-ss-items only hide JA Slideshow lite and the images for it are still downloaded.
From what I have read the css display: none; only hides the images and doesn’t stop the browser from downloading an image.
Is there another way other than using css to stop JA Slideshow from loading?
Maybe this is one for the dev team of JA Slideshow lite.I also have another suggestion for the JA Slideshow lite dev team, it would be great if you could have different size images for different devices so that mobiles don’t have to download large images that you get on your desktop.
🙂
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 25, 2013 at 7:22 am #506983Hi magneticeye,
<blockquote>Is there another way other than using css to stop JA Slideshow from loading?</blockquote>
I think we can. But actually, it is related to customizing our module so that it will be better that i should discuss with our dev team on this new updated setting before giving you the concrete confirmation. And thank you for your suggestion above, i will transfer to our dev team also.1 user says Thank You to phong nam for this useful post
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by phong nam 11 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum