Prezento : jQuery Plugin to Showcase Your Web Designs

Editor's note (2026): The original 2014 post copied the plugin's GitHub README, including broken table markup. We've replaced it with a concise overview and a clean example. Prezento is no longer actively maintained.

Prezento is a jQuery plugin for showcasing web designs in an interactive way. It displays your design inside a device frame (such as a desktop, tablet, or phone) and scrolls through it with a smooth animation, switching devices based on screen width. It's a great way to show clients and visitors that a design is responsive.

Setup

Include jQuery and the plugin, add a placeholder element, and define at least one device:

<div class="prezento-holder"></div>

<script src="jquery.min.js"></script>
<script src="jquery.prezento.js"></script>
<script>
  $('.prezento-holder').prezento({
    devices: [{
      name: 'desktop',
      deviceImageSRC: 'imac.png',
      xLeftTop: 186, yLeftTop: 111,
      xRightBottom: 2106, yRightBottom: 1261,
      breakpoint: 1024,
      bgImgSrc: 'your-web-design.jpg',
      bgTransitionDuration: '8s'
    }, {
      name: 'phone',
      deviceImageSRC: 'iphone.png',
      xLeftTop: 42, yLeftTop: 135,
      xRightBottom: 439, yRightBottom: 829,
      breakpoint: 0,
      bgImgSrc: 'your-web-design-for-mobile.jpg',
      bgTransitionDuration: '2s'
    }],
    responsive: 'window'
  });
</script>

Device settings

  • name: a unique name, used to switch devices from your own controls
  • deviceImageSRC: the device frame image
  • xLeftTop / yLeftTop / xRightBottom / yRightBottom: the screen area's corner coordinates within the frame image
  • breakpoint: mobile-first screen width at which this device is used
  • bgImgSrc: the screenshot of your design to display
  • bgTransitionDuration: how long the scroll animation takes

Other options

  • startAfterScroll: start the animation only when the showcase scrolls into view
  • distanceTop: how far from the top of the viewport it should be before starting
  • resetWhenBelow: reset the animation when it leaves the viewport
  • debug: log device details to the console

Commands

  • play(), pause(), resume(), and reset() control the animation
  • changeDevice('desktop') switches the device frame

Want a portfolio that shows off your work beautifully? I.T. For Less can help — contact us.

Design