There's strong emphasis on CSS improvements in this version of Dreamweaver, such as fluid grid layouts, web font management, and CSS transitions. There are also important changes to jQuery Mobile, PhoneGap, and FTP, as you'll see in this video.
In this chapter you'll be introduced to the new features in Dreamweaver CS6, which are heavily weighted toward CSS improvements. You'll also learn about changes to jQuery Mobile, PhoneGap, and FTP, as well as the new Mac Application frame.
Introduction
There's strong emphasis on CSS improvements in this version of Dreamweaver, such as fluid grid layouts, web font management, and CSS transitions. There are also important changes to jQuery Mobile, PhoneGap, and FTP, as you'll see in this video.
The Mac version of Dreamweaver CS6 now hides the Desktop in the same way the Windows version does. This video explains to Mac users how to revert to the traditional Mac way of working by turning off the Application frame.
Support for web fonts is drastically improved in Dreamweaver CS6, and in this chapter we'll look at the key new features in this area, such as the Web Fonts Manager.
Managing Web Fonts
This video looks at the Web Fonts Manager, which installs web fonts in Dreamweaver and makes them available to all your Dreamweaver sites.
After installing web fonts, it's a good idea to create custom font stacks with fallback fonts in case the web font can't be displayed for any reason. This video will show you how.
When you use web fonts installed with the Web Fonts Manager, Dreamweaver automatically creates an @font-face rule and imports the font formats into a dedicated folder in the site root. You'll see how the process works in this video.
A new button in the Type category of the CSS Rule Definition dialog box is designed to promote web fonts to the top of the code hints for the font-family property, but it can have unexpected consequences. This video explains what to look out for.
CSS transitions smooth the transition from one state to another, such as when you hover over an element. This video will introduce you to this useful feature.
This video looks at the CSS Transitions panel, which lets you create the style rules for a transition and the state to which you want to transition in a single operation.
Removing a transition created with the CSS Transitions panel involves important decisions about which style rules Dreamweaver should delete. This video explains what you need to know.
The CSS Transitions panel can't handle transitions where the trigger is on a parent or ancestor element. Instead, you need to use the new Transitions category in the CSS Rule Definition dialog box, as this video demonstrates.
Dreamweaver CS6 offers two different approaches to responsive web design, one involving site-wide media query files, the other using fluid grid layouts. We'll explore both in this chapter.
Responsive Web Design
In this video we'll explore two useful new features. The Multiscreen Preview panel lets you preview your page at typical screen resolutions used in mobile phones, tablets, and desktops. Creating a site-wide media query file automatically imports separate style sheets for devices with different screen widths.
The new fluid grid layout feature takes a different approach to responsive design, putting all the media queries in the same style sheet and styling for mobile first. This video will give you the lowdown.
After you have created the basic mobile structure for a fluid grid layout, you can alter the layouts for tablets and desktops by dragging and dropping in Design view, as this video demonstrates.
Styling a fluid grid layout requires a good understanding of CSS, as this video explains. Most styles need to be defined in the mobile layout section so they are inherited by tablets and desktops.
Dreamweaver omits the width and height attributes of images inserted into a fluid grid layout, and uses the max-width property to prevent images from spilling out of their parent containers. This video shows how to create separate rules to center images on mobile devices while flowing text around them on larger screens.
Using a site-wide media query file or fluid grid layout both have their advantages and drawbacks. In this video we'll consider the relative merits of each.
This chapter looks at the jQuery Mobile framework integrated in Dreamweaver CS6, which creates a touch-optimized user interface for smartphones and tablets.
jQuery Mobile
This video will introduce you to the basics of the jQuery Mobile framework.
This video explains how to choose one of the jQuery Mobile starter layouts in Dreamweaver CS6 and describes how jQuery Mobile page blocks are structured.
Links in jQuery Mobile headers are automatically converted to buttons. You can add an icon to a button or use the icon on its own, as you'll see in this video.
Links in jQuery Mobile footers are not automatically converted into buttons. This video shows you how to use a layout grid widget to space footer elements evenly and explains why you need to examine the dynamically generated HTML in Live Code view.
In this chapter we'll look at PhoneGap, an open source framework that creates native apps for mobile devices using just HTML, CSS, and JavaScript. You'll also learn about the PhoneGap Build Service panel, which uploads your files to an online service that generates the native app files for different mobile operating systems.
PhoneGap and PhoneGap Build
PhoneGap is an open source framework that creates native apps for mobile devices using just HTML, CSS, and JavaScript. It was first integrated in Dreamweaver CS5.5, but the workflow has changed completely in CS6, as you'll see in this video.
This video looks at the PhoneGap Build Service panel in Dreamweaver CS6, which uploads your files to an online service that generates the native app files for different mobile operating systems.
To create an iOS version of an app, PhoneGap Build requires a signing key created in the Xcode iOS development tools on a Mac. This video explains the process of setting up PhoneGap in Xcode.
The iOS signing key is created by exporting the iOS Development Certificate and a provisioning profile from your Mac, and then uploading them to the PhoneGap Build website. This video explains the process.
Dreamweaver CS6 includes a new FTP client that supports multichannel transfers and displays more user-friendly error messages. This chapter looks at the new client.
FTP Improvements
This video looks at Dreamweaver's new FTP client, which not only supports multichannel transfers, but is much faster and even allows you to upload and download files at the same time.
The FTP client tries to display more user-friendly error messages when it can't connect to the remote server, but it can't always work out what's causing the problem, as you'll see in this video.
This chapter covers changes in Dreamweaver CS6 not discussed elsewhere in the course, including differences in the way Dreamweaver handles lists, Smart Objects, and the resizing of images.
Other Changes
In this video we'll look at a small but significant change in the way Dreamweaver handles ordered and unordered lists that makes it easy to work with paragraphs inside list items.
The Manage Sites dialog box has been redesigned to integrate Adobe's hosted Business Catalyst service more closely into Dreamweaver, but the main functions remain unchanged, as you'll see in this video.