James Bachini

web

  • How to display different banners for mobile

    How to display different banners for mobile

    I had a situation where I wanted to use different ad banners depending on the screen size of the visitor. To display different banners for mobile and desktop traffic. What I wanted was a dynamic ad block that displayed different ads depending on the width of the browser window so it wouldn’t mess up the…