Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Multiscreen preview

From: Dreamweaver CS5.5 New Features

Video: Multiscreen preview

If you're designing for multiple screen sizes, having the ability to accurately preview for those resolutions is incredibly important. The Multiscreen Preview panel was first introduced as part of Dreamweaver's HTML5 pack. With the CS5.5 release, it joins Dreamweaver as a native feature. So I have the index.htm in the 03_04 folder opened up, and this is going to give us an opportunity to explore the Multiscreen Preview panel and see what it can do for us. So this page currently has two media queries applied to it: one for tablets and one for mobile devices.

Multiscreen preview

If you're designing for multiple screen sizes, having the ability to accurately preview for those resolutions is incredibly important. The Multiscreen Preview panel was first introduced as part of Dreamweaver's HTML5 pack. With the CS5.5 release, it joins Dreamweaver as a native feature. So I have the index.htm in the 03_04 folder opened up, and this is going to give us an opportunity to explore the Multiscreen Preview panel and see what it can do for us. So this page currently has two media queries applied to it: one for tablets and one for mobile devices.

So if I go to my Multiscreen Preview panel and I click that to open it up, you can see it takes up a good bit of screen real estate, and if you have a high screen resolution, you can probably flip this panel around a little bit, but more often than not, it's going to take up a good portion of your screen real estate. So I have a Preview section for Phone, one for Tablet, and one for Desktop, and if I look in the upper right-hand corner, I have a few buttons up here as well. The first one is Media Queries, and if I click on that, we're going to see the same Media Query dialog box that we were working with in the previous movie.

So you can still manage, create, and control your media queries directly from the Multiscreen Preview panel. I am just going to go ahead and cancel that. And the next button is for Viewport Sizes. Now, each of these viewports-- one for Phone, one for Tablet, and one for Desktop--have discrete resolutions, and if I click this, I can affect those. So I could go into the Phone one, for example, and I could crank that one up to say 480 pixels wide. If I click OK, you can see that it has now manipulated this viewport. And of course I lost some space over here in Tablet, so I have got some clipping that occurs.

It does give me a scrollbar, but it's still clipping it just a little bit. So you can go back any time you want to to Viewport Sizes and you can choose Reset to defaults, click OK, and you're right back to where you were before, which is pretty cool. Now, in looking at this, everything looks okay. I have got my layout here in Phone that's different than the layout in Tablet that's different than the layout in Desktop. But the big problem is that for Tablet, this tagline really isn't supposed to be there. So that's one of the nice things about the Multiscreen Preview; we're able to find an error in the Tablet styles right off the bat.

Now, I would love to tell you that the Code Navigator works directly here inside the Multiscreen Preview, but it doesn't, so I am going to have to close this panel in order to find the problem. Now, I need to access my Tablet styles, and when you're dealing with your normal window, one of the easiest ways to do this is I'm just going to go ahead and minimize this window and float it. Now, on the Mac it's already floating, but on the PC I have to explicitly float it, and then I'm just going to scale this down until I start seeing my Tablet styles. Now, you may want to turn Live view on, but it's not required for what we're doing.

Now, as soon as I do that, I'm going to go ahead and find this tagline by using the Code Navigator. The easiest way for me to do that is to hold down the Alt key and click one time. Now, on the Mac you'll be holding down the Command+Option key and then clicking. Then I'm going to browse down to find my tablet.css, so that's why it was necessary for us to resize the window so that we could access those tablet.css files. I can see that we have an actionCall h1 selector inside the tablet.css. So I don't want to access to one in main. I want to make sure I am going into the one in tablet. I will click on that, and right there on line 62 I can find the actionCall h1.

Ah, that's why it's showing up, because it doesn't have the display: none property that it needs. So we'll go ahead and save that, and I'll go back to Design view, maximize my page again, and now it's time to go back to our Multiscreen Preview panel. Now the tagline is gone, and the find your tour action call button is in the right place. Perfect! Now, other than just previewing a single page, the Multiscreen Preview panel allows us to do something that's really, really neat, which is to preview multiple pages.

So I can follow these links, and I can click on any menu to follow the links and to jump from page to page. You can even test features because what we're getting here is we're getting basically a WebKit preview. So if go over to Tours, for example, I can scroll down in the mobile version and I can test the CSS transitions that I have here for hover events. In a mobile world, if you click or touch one of those particular items, it would go ahead and expand and you can read it, and that saves us a little bit of space in our mobile device. And I can preview that directly here inside the Multiscreen Preview without having to test that on the phone.

So that is really cool! I also notice that in the upper left-hand corner here I have what looks to be a browser navigation bar, and it works exactly the same way. You have your Back buttons, you have your Forward buttons, you can refresh the page if you would like. And if you want to go back to the page that you started in, you just click Home; that doesn't always mean that you're going to go back to the index page, but it is going to go back to the page that you actively have open and that you're currently browsing. Now, the Multiscreen Preview panel isn't the only way that I can test for different screen sizes. We've talked about this a little bit earlier, but I just want to show you this again.

So I am going to close the Multiscreen Preview panel. Notice that right down here under our Window Size, I can click on that, and I can Preview say Tablet or Smart Phone or Full Size, and those improvements do make it a lot easier to preview for different resolutions, but the Multiscreen Preview panel gives us a way to preview for multiple resolutions at the same time. And they give us the ability to click through the site to see how our media queries are affecting multiple pages. So if you need to design for multiple devices, I think you're really going to enjoy using the Multiscreen Preview panel.

Show transcript

This video is part of

Image for Dreamweaver CS5.5 New Features
Dreamweaver CS5.5 New Features

18 video lessons · 12697 viewers

James Williamson
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Dreamweaver CS5.5 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.