SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member jbhoo's Avatar
    Join Date
    May 2009
    Location
    Alaska
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Responsive Design help needed!

    Hello,
    I'm not new to responsive design, css3 media query,s. fluid grids, BUT, the big but
    I have this rotating JavaScript image banner that I am going to use on a site,
    and want to know how, and the best way to not show or disable it (the javaScript) and the images at the lower resolutions IE: 480 and below.
    The images are in an HTML list?

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,374
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Why can't you just set the element to display:none using a media query for the smaller devices?

    Or if you are building for mobile up then set it to display none by default and then just enable it with display:block for larger screens.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,204
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    This is kind of off topic, but it seems a bit mean to me to get mobile users to download the images and not even get to see them.

    There are some galleries out there now that are responsive, meaning that they will display nicely on a mobile device. So that may be worth considering.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •