Create Interfaces College exercise. Continue HTML5: HTML5 logo, drawing images. Coin toss. Homework: acquire video & audio.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

DREAMWEAVER Welcome to our website!
Certificate in Digital Applications – Level 02 Creative Multimedia – DA202.
2.744 Dreamweaver Tutorial Sangmok Han Feb 24, 2010.
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
HTML 5 Previous version: HTML4.01, 1999 Still work in progress, most browsers support some of it.
Programming games Classwork: Show Favorite Sites. Show coin toss. Review concepts. Crooked coin toss. Homework: Complete coin toss examples. Upload files.
Programming games More drawing. Text. Radian measure. Faces. Homework: Do your own drawings. Create index.html file. Upload work.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
. Website and file organization. How websites work.
Chapter 14 Introduction to HTML
CMS Wiki Pages CMS Pages, the only approved and supported website service for CMS employees, has been failing and an alternative needed to be implemented.
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Programming games Recap. Upload work (Filezilla, index.html). Drawing lines. Drawing stars. Homework: Drawing exercises.
Programming Games Basic HTML5 audio example. Catch-up. Work on basic video. Homework: Complete basic video.
Creating Web Documents Wk 2: HTML & PSP basics Discuss sites HTML, PSP lesson Assignment: first Web page due Day class: 1/23; Night class 1/28.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
1 Essential HTML coding By Fadi Safieddine (Week 2)
1 Mastering the Internet and HTML Images and Image Tags.
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
JRN 302: Introduction to Graphics and Visual Communication - Logos, PS Demos: Custom Brush, Text, Scale, Color Tuesday, 9/15/15.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Getting Started with Canvas IDIA Spring 2013 Bridget M. Blodgett.
COMPREHENSIVE Windows Tutorial 7 Managing Multimedia Files.
The New Elements © Main Menu Structure Media Canvas Form Click on one of the categories below to view information about the new HTML5 elements in.
Programming Games Show your simple video. More video examples. Audio. Classwork/Homework: Produce more complex video program.
MIS 425 Lecture 3 – HTML 5 and CSS Instructor: Martin Neuhard
Programming games Reprise: coin toss on canvas. Dice game rules. Global and local variables. Homework: [Catch up. Upload projects, including index.html.]
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
Homework: New coin toss. [Start dice game.]
Programming Games Show project. Refresher on coordinates. Scaling, translation. HTML5 logo. Refresher on animation. Bouncing ball. Homework: Do your own.
1 After completing this lesson, you will be able to: Transfer your files to the Internet. Choose a method for posting your Web pages. Use Microsoft’s My.
Things you should have with you: Your own address Student addresses Ideas that you want to include.
Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on your cannonball. Homework: Finish.
Programming games HTML/JavaScript basics Functions, events, forms Classwork: [Show favorite sites.] Coin toss. Homework: GET WEB SPACE. Complete coin toss.
Activity 3 - introduction
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
Programming games Context of what we are doing. Drawing on canvas. Homework: [Complete coin toss examples.] Do your own drawings. Upload files to website.
January 2006Colby College ITS Setting Up Course Pages.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Programming games Review concepts. Crooked coin toss. Drawing on canvas. Homework: Complete [static] drawings. Upload files to website.
Creating User Interfaces [Tutorials due.] Development cycle. Standards. Communities. Work session. Homework: For next Thursday: Finish HTML5 project: prepare.
Creating User Interfaces HTML5 video & audio. Role of video and audio. Homework: Complete your own [small/simple] HTML5 video and audio projects.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
You Must… Gather answers to the following questions: Decide what your website will be about. Identify who your audience would be for this site. Outlined.
Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
Programming Games Show slide show (on your site). Bouncing something. Video element. Bouncing video element. Bouncing video drawn on canvas. Bouncing video.
®® Microsoft Windows 7 Windows Tutorial 7 Managing Multimedia Files.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
Programming games Show work on site. Work on slide show. Timed event for bouncing ball. Homework: [Finish slide show and upload to site.] Acquire a short.
Chapter 9 HTML 5 Video and Audio
Advanced HTML Tags:.
Working with Links and Navigation
Unit 13: Website Development
Chapter 4: HTML5 Media - <video> & <audio>
Windows Tutorial 7 Managing Multimedia Files
Context of what we are doing.
Catchup. Work on project.
Creating User Interfaces
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on animation project. Homework: Finish.
Unit 13: Website Development
Presentation transcript:

Create Interfaces College exercise. Continue HTML5: HTML5 logo, drawing images. Coin toss. Homework: acquire video & audio.

Colleges Reactions? –make posting to Usability forum. Better late than never. Colleges also may suffer from contention on campus, that is, within organization. –Kissinger quote –multiple users with multiple goals PLUS…

Stakeholders system owner(s) system builder(s) system user(s) The application owners have their own objectives.

Alignment Owner of college site? –administration owns site. CTS (builder) controls content as per their specification? What are the objectives? Might be better fit than others.

Compare objectives Amazon.com and customers New York Times and readers –are there other users? Facebook and members and advertisers ???

Exercise Get in groups (tables) and pick 1 or 2 websites and discuss who are the owners and who are users (classes of users). Prepare to present.

HTML5 logo paths slider text on canvas

HTML5 logo html5logo.htmlhttp://faculty.purchase.edu/jeanine.meyer/ html5logo.html html5logoscale.htmlhttp://faculty.purchase.edu/jeanine.meyer/ html5logoscale.html –Note: try in Chrome and in Firefox. Note graceful degradation in Firefox that does not [yet] support the range/slider input element.

HTML5: coin flip Draw image from image file of head or tail on canvas where player clicks mouse –event handling: listen for mouse click –draw image made from external file Draw text (with directions) on canvas html5workshop/wkshopcoinflip.htmlhttp://faculty.purchase.edu/jeanine.meyer/ html5workshop/wkshopcoinflip.html

opening screen

after mouse click

Strategy Need to locate/identify file address for images –can be in same folder (use relative address) or use full URL Image objects with src attribute font set for context (ctx) event handling done for canvas element NOT context. Does require browser specific code to get mouse coordinates. (Sigh….) –use technique of checking for presence of attribute

Strategy, cont. Fonts are from what is available on the client computer. draw outline (strokeRect) to show player where canvas is. Alternative to color names or rgb is hexadecimal. –use PhotoShop or Paint Shop Pro Note that my code makes adjustment to put middle of image where mouse was clicked.

variables var ctx; var canvas1; var head = new Image(); var tail = new Image(); head.src = "head.gif"; tail.src = "tail.gif"; var coinwidth = 100; var coinheight = 100;

functions function init() { ctx = document.getElementById('canvas').getContext('2d'); canvas1 = document.getElementById('canvas'); canvas1.addEventListener('click',flip,false); ctx.font = "italic 20px Accent"; ctx.fillStyle = "#dd00ff"; ctx.strokeRect(0,0,600,400); ctx.fillText("Click on canvas to flip a coin.",10,20); }

function flip(ev) { var mx; var my; ctx.clearRect(0,0,600,400); if ( ev.layerX || ev.layerX == 0) { // Firefox mx= ev.layerX; my = ev.layerY; } else if (ev.offsetX || ev.offsetX == 0) { // Opera mx = ev.offsetX; my = ev.offsetY; } if (Math.random()>.5) { ctx.drawImage(head,mx-50,my-50,coinwidth,coinheight); } else { ctx.drawImage(tail,mx-50,my-50,coinwidth,coinheight);} ctx.strokeRect(0,0,600,400); ctx.fillText("Click on canvas to flip a coin.",10,20); }

Comments You need to acquire two images to represent the coin faces. –download to same folder or use exact, complete address You can go into Word, or equivalent, to see available fonts. –more in book AND online. Go!

Next Combine drawing of text, image, rectangle, path (lines and/or arcs). Use click on canvas to place drawing. Use click of button (suitably labeled) to clear everything.

Homework Acquire (locate) video clip and audio clip. Next class: learn how to present video and audio using HTML5, no plugins! Assignment due February 28: –write/create tutorial for HTML5 feature. Use screen captures, links, etc. –possible inclusion in New Media blog.