Book Image

jQuery for Designers Beginner's Guide Second Edition

By : Natalie Maclees
Book Image

jQuery for Designers Beginner's Guide Second Edition

By: Natalie Maclees

Overview of this book

Table of Contents (21 chapters)
jQuery for Designers Beginner's Guide Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Planning a slideshow or slider


There are a few things to consider when you're preparing to build a jQuery slideshow or slider.

  1. First, you have to decide what the experience will be for users who have JavaScript disabled. The priority of the various pieces of content in the slideshow should be your guide. If the slideshow is simply featuring bits of content available elsewhere on the site, then it should be sufficient to simply show one featured photo or slide. If the slideshow is the only way to access the content, then you'll have to be sure to make that content available for users without JavaScript enabled. We'll take a look at both strategies in the various examples in this chapter.

  2. Second, you have to determine the ideal size for your slideshow. The size and aspect ratio of the slideshow could be determined by the content, by the page layout, or even by the browser window's size. If your slideshow or slider contains only images, cropping all images to a certain size is simple enough,...