Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Responsive design and speed

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #45307
    wadem
    Member

    Hi Guys,

    I have a question about responsive design.
    I want to put a jquery slider on my site but when it transitions to mobile I want to display:none the slider and show a set of images.
    My question is, does the phone/tablet load that hidden content if a media query is active?
    I don’t want to hamper my mobile performance.

    thanks
    Wade

    #137739

    Set the images as background images and load them in the appropriate media query. Else you may need to do some javascripting that ie. looks at the widow.width and add image-tags depending on the result.

    #137743
    Paulie_D
    Member

    It seems to me that the only thing you are disabling on mobile is the slider. You still want the images to show in mobile, just in a different format/layout.

    So there is nothing to be gained by not loading them….or am I wrong?

    #137771
    wadem
    Member

    @Paulie_D Instead of the slider I just want two different images. Not sure what to do.

    #137801
    wadem
    Member

    There maybe 10-15 images in the slider.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.