Interactive Design Working with SVGs

Similar documents
Dreamweaver Domain 5: Organizing Content by Using Dreamweaver CS5

Table of contents. DMXzone Ajax Form Manual DMXzone

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

Adobe Fireworks CS Essential Techniques

Overview of the Adobe Dreamweaver CS5 workspace

Dreamweaver MX The Basics

How to lay out a web page with CSS

Google Sites Guide Nursing Student Portfolio

Table of contents. DMXzoneUniformManual DMXzone

Links Menu (Blogroll) Contents: Links Widget

How to set up a local root folder and site structure

Adobe Web Communication using Dreamweaver CS5 Curriculum/Certification mapping

ADOBE VISUAL COMMUNICATION USING DREAMWEAVER CS5 Curriculum/Certification Mapping in MyGraphicsLab

As part of our commitment to continuously updating and enhancing our fundraising system, we are thrilled to announce our latest enhancements.

Adobe Dreamweaver CS4

Creating an Animated Navigation Bar in InDesign*

COMSC-031 Web Site Development- Part 2

Getting Started with CSS Sculptor 3

Web Designer s Reference

Dreamweaver Basics Workshop

Objective % Select and utilize tools to design and develop websites.

CSS Module in 2 Parts

Bonus Lesson: Working with Code

:: MULTIMEDIA TOOLS :: (2131) :: CLASS NOTES

Interactive Design 1 ART263/Advanced Design for the Web ART220 Gregory Eckler. Interactive Design/Advanced Design for the Web CSS Terminology

Reporter Tutorial: Intermediate

Title and Modify Page Properties

HTML and CSS a further introduction

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)

Hands On: Dreamweaver CS3 NEW SPRY Widgets

Section 1. How to use Brackets to develop JavaScript applications

Figure 1 Properties panel, HTML mode

WebLink Manual EZ-CAMP2

Website Development (WEB) Lab Exercises

Getting Started with Eric Meyer's CSS Sculptor 1.0

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Creating a CSS driven menu system Part 1

EXPORTING ASSETS. Lesson overview

Understanding the Interface

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

Creating Buttons and Pop-up Menus

Foundation of Web Goal 4: Proficiency in Adobe Dreamweaver CC

How to use CSS text styles

Dreamweaver 101. Here s the desktop icon for Dreamweaver CS5: Click it open. From the top menu options, choose Site and New Site

Creating dependent menus with Moodle Database activity. William Lu

Using Dreamweaver CS6

Adobe Web Authoring using Adobe Dreamweaver Exam and objectives

How to export and save files

Numbers Basics Website:

CSS worksheet. JMC 105 Drake University

How to create and edit a CSS rule

Animation and style sheets

Adding Pages. Adding pages to your website is simple and powerful! In just a few minutes you can create a page that: Highlights a special event

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Kindle Formatting Guide

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Dear Candidate, Thank you, Adobe Education

Very Basics of HTML. G day mates during this tutorial I will teach you the basics of HTML.

Facebook Network Analysis Using Gephi

QuickStart Guide MindManager 7 MAC

Table Basics. The structure of an table

Moving from FrameMaker to Blaze or Flare: Best Practices

Getting started with Altmetric badges

Lesson 5 Introduction to Cascading Style Sheets

Table of contents. DMXzone CSS3 Drop Shadows Manual DMXzone

All Adobe Digital Design Vocabulary Absolute Div Tag Allows you to place any page element exactly where you want it Absolute Link Includes the

How to lay out a web page with CSS

ADOBE DREAMWEAVER CS4 BASICS

Introduction to Dreamweaver CS4:

Want to add cool effects like rollovers and pop-up windows?

To place an element at a specific position on a page use:

Full file at DW Chapter 2: Developing a Web Page

The playhead, shown as a vertical red beam, passes each frame when a movie plays back, much like movie fi lm passing in front of a projector bulb.

Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office

HEADINGS & TOCS IN WORD 2007

Learn Dreamweaver CS6

Exploring the Interface

Guidelines for doing the short exercises

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

How to lay out a web page with CSS

What s new in Dynamic Content Chris Stowe Product Manager 3D & Design Solutions

How to Use Internet Explorer 9

A publication of. Let it Bleed. When, where, why and how to use bleeds and create print ready PDF s so your print provider will love you.

DIRECTV Message Board

COMSC-031 Web Site Development- Part 2. Part-Time Instructor: Joenil Mistal

Introduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.

avenue.quark TUTORIAL

Interface. 2. Interface Adobe InDesign CS2 H O T

Mobile & More: Preparing for the Latest Design Trends

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Learn Dreamweaver CS5 in a Day

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web

WELCOME TO JQUERY PROGRAMMING LANGUAGE ONLINE TUTORIAL

Making the Most of Microsoft Word: Hands-on Activities for Creating Word Documents for Conversion to HTML or PDF.

CSS Crash Course for Fearless Bloggers by Gill Andrews

The diverse software in the Adobe Creative Suite enables you to create

Page Layout Using Tables

Architectural Engineering Senior Thesis CPEP Webpage Guidelines and Instructions

Transcription:

Interactive Design Working with SVGs What are SVGs SVG stands for Scalable Vector Graphic, it is a fi le format available from many vector programs such as Adobe Illustrator. The above artwork was created for a poster I did in Illustrator. In Illustrator you can go to File > Save As and then choose SVG from the drop down menu at the bottom of the dialog box.

After this you will get a SVG Options box (much like how you get PDF Options when saving a PDF in Illustrator). The setting above should be the default. Just make sure it doesn t OUTLINE the type. Off to your Text Editor So lets switch gears and head over to our text editor (Dreamweaver, Coda, Text Wrangler, Atom...) I have set up a very basic HTML fi le here with a title, link to a CSS fi le, and a container div in the body. The starting CSS fi le has a couple lines for the container to help size and center the SVG that we will import.

Here comes the scary part Now open the SVG fi le that you exported in your text editor. As you can see an SVG is code that builds the forms for us in the browser. Copy all the code from the beginning to end <svg> tag (include the tag of course)

Back to the HTML file Paste the copied <svg> into the container div in the starter HTML you have. If you preview this fi le in a browser you should see your SVG centered in the browser window.

So we need to clean up our code a bit by removing styles and adding them to our CSS fi le and giving the elements in our HTML class tags to make manipulation easier for us. It is a bit of work but it will make life easier in the long run. We will want to do this to ALL the elements that have any styles in them. If you are feeling confi dent you can hit Cmd+F to open up Find and Replace to do this much quicker.

So we can now add those rules to our CSS fi le Note if you copied the styles and pasted them into the CSS they won t work at fi rst since in the SVG they are written as: when a CSS fi le needs to be written: fill= #231F20 fill: #231F20; note the changes include changing the = to a : the removal of the and adding the ; to the end of the rule.

I m going to clean up the text just a bit to make it more readable for me, chunking them together into how I have them written on the original artwork. I ve also gotten rid of alot of unnecessary <tspan> tags and just kept ones at the beginning and end of a full line and made sure most the chunks are wrapped in a single <text> tag where I can. In fact I just realize that the text tag can have the class= bodytext and the <tspan>s (with the exception of the one with the class= highlighttext ) shouldn t need a class since they would inherit it from the <text> tag.

So for the other parts we have here I m going to add an SVG <g> this is a group tag and will help me with the rollovers I want to create. I ll need to do a little investigation to identify which path and polygon are which. I just misspell the tag name for a second and then save and refresh the preview in the browser to see what disappears. Now that I know which parts are which I can add a Class name that makes sense for the letter, the accent, and then group them together with another class name. I also cut and pasted the letter and accent to be above the text associated with it to make things a bit more organized. I use the class in the CSS to put the fi ll back on each, if you look back you ll see that after the <path> or <polygon> tags before their was a fi ll= #color. By having this controlled by the CSS I can create hover effects to create a more interactive experience.

#container helps me position the SGV where I want on the page. font sizes, family, and color for the text color change for the highlighttext class styles for the title at the top of my graphic fi ll for the bigger letters fi ll for the accents hides this particular accent on the page by default displays the accent hidden when we hover over the group we created repeated the above 2 styles for each of the accents and their hover effects from here to the bottom Now for the fi nal touch. I need to add a sequence that talks to the accent within each group class I created. For example I add in.letter_acute.acute and then give it a display: none. This hides the accent by default. After that I add the.letter_acute:hover.acute with a display: inherit; this will cause the accent to appear if I hover over the letter group parts that are visible.

What the final page looks like What happens when we hover over the breve a