Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.

Slides:



Advertisements
Similar presentations
Lesson 15 Presentation Programs.
Advertisements

Introduction to HTML5 Programming donghao. HTML5 is the New HTML Standard New Elements, Attributes. Full CSS3 Support Video and Audio 2D/3D Graphics Local.
The E/R model, triggers, HTML5 Reminder … next Tuesday is the first exam. 1.
HTML 5 The next generation of web programming. WHERE IT ALL BEGAN.
© 2009 Research In Motion Limited BlackBerry themes and animated graphics.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Development of mobile applications using PhoneGap and HTML 5
Chapter 14 Introduction to HTML
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
DHTML - Introduction Introduction to DHTML, the DOM, JS review.
E0262 – MIS – Multimedia Storage Techniques SMIL – Synchronized Multimedia Integration Language.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Director of Computer Center, DaYeh University Ku-Yaw Chang.
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
Computer Concepts 2014 Chapter 7 The Web and .
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
Create Interfaces College exercise. Continue HTML5: HTML5 logo, drawing images. Coin toss. Homework: acquire video & audio.
Introduction to course. Refresher on client/server; JavaScript.
SVG: The Past, Present and Future of Vector Graphics for the Web Patrick Dengler Senior Program Manager, Internet Explorer Team Member, W3C SVG Working.
GIS technologies and Web Mapping Services
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Programming Games Recap on Google Maps. Creating elements. Dynamic creation of elements (multiple video elements). Geolocation. Classwork/Homework: Catch-up.
Programming games Examples: Audio example. Google Maps api. Classwork: show more complex video. Classwork/Homework: Find place (lat and long) for basic.
Advanced Level Course. Site Extras Site Extras consist of four categories: Stationeries Site Trash Designs Components.
Creating Web Documents XHTML Project II topics should be posted Start Forms Homework: Forms not required for midterm or project 2. At some point, read.
Programming Games Google Map API examples. CSS. Classwork/homework: Catch up. Upload work. Show your [more] complex Google Maps API example. Plan your.
HTML5 for Mobile Andrew Kinai. HTML vs HTML5 HTML:A language that describes documents' formatting and content, which is basically composed of static text.
HTML5. HTML5’s overall theme The browser as a rich application platform rich, cross-device user interfaces offline operation capability hardware access.
Programming Games Show your simple video. More video examples. Audio. Classwork/Homework: Produce more complex video program.
Programming Games Show project. Refresher on coordinates. Scaling, translation. HTML5 logo. Refresher on animation. Bouncing ball. Homework: Do your own.
Congratulations! You are part of a global community of thousands of web developers who attend Web Camps to keep their web development skills up-to-date.
DHTML - Introduction Chapter Introduction to DHTML, the DOM, JS review.
Programming Games Reprise: storage, datatypes. Geolocation/Google API example. Work session Homework: [Catch up. Upload work. Post proposal.] Work on your.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
U NDERSTAND THE W EB AND D IGITAL C OMMUNICATIONS P ATHWAY 4.02 U NDERSTAND HOW W EBPAGES ARE CREATED AND USED.
The E/R model, triggers, HTML5 Reminder … next Tuesday is the first exam. 1.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
Programming games Context of what we are doing. Drawing on canvas. Homework: [Complete coin toss examples.] Do your own drawings. Upload files to website.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
Creating Animations, Working with Graphics, and Accessing Data Lesson 9.
Creating User Interfaces HTML5 video & audio. Role of video and audio. Homework: Complete your own [small/simple] HTML5 video and audio projects.
Presented By Nanda Kumar(972789) P. Trinesh (982816) Sk. Salma (982824) K. Madhuri (982814) HTML5.
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
Learning Aim B.  It is a good idea to think carefully about the design of a website before you try to implement it.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
Creating User Interfaces Reprise on guest speaker. Usability checklists. Reprise on user- centered. Semantic tags. Responsive design. Classwork/homework:
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
TNPW1 Ing. Jiří Štěpánek.  In current version (XHTML 1.0 strict)  No multimedia elements  No semantics elements  Only few input types  Only few document.
HTML 5 (Part 1) – Start from SCRATCH. HTML 5 – Start from SCRATCH.
4.3. Code animations by using JavaScript Access data access by using JavaScript. Creating Animations, Working with Graphics, and Accessing Data.
Agenda * What is HTML5 -- Its history and motivation * HTML/XHTML as Human / Machine Readable Format * HTML and its related technologies * Brief summary.
The HTML5 logo was introduced by W3C in 2010
Chapter 17 The Need for HTML 5.
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
HTML5 – The Saga Continues
Application with Cross-Platform GUI
Objective % Select and utilize tools to design and develop websites.
Introduction to D3.js and Bar Chart in D3.js
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Types of Spatial Data Sites
Giuseppe Attardi Università di Pisa
Catchup. Work on project.
Creating User Interfaces
Presentation transcript:

Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript

HTML5 & JavaScript semantic elements canvas video and audio localStorage Distinct from HTML5 geolocation and use of Google Maps API Scalar Vector Graphics

Aside Many sources I learn by doing examples and examining examples, so that is what I do here The final project is to be done in HTML and JavaScript – Teaching something. – You can specify the browser. – You can restrict yourself to [full] computer or not. It needs to be very good if you want to 'double dip' with mobile media.

Semantic elements To make document clearer for you and for teams Replacement for …. Need to format in the section Note: there are new CSS elements, including transformations

Style In element article {display:block; font-family:Impact, Charcoal, sans-serif; margin:20px;} Note: fonts with spaces in names need quotation marks: "Times New Roman" Names change when used by JavaScript – fontFamily, zIndex

canvas Rectangles Paths (including arcs): stroke or fill Images Frames from video Portions of other canvases Can also transform coordinates

Drawing on canvas canvasref = document.getElementById("mycanvas"); ctx = canvasref.getContext("2d"); var flower = Image(); flower.src="tulip.jpg"; ctx.drawImage(flower, potx, poty, 100,200); ctx.fillStyle="rgb(100,0,100)"; ctx.fillRect(300,200,120,200);

For your project You need to think if and how you are going to use canvas – One canvas element or multiple elements – Canvas elements in fixed location or moving around Way to do animation – Drawing and clearing and re-drawing, or not Way to do animation

Video and Audio Native support as opposed to requiring plugin Now: different in different browsers, but this can be managed by making multiple copies Dynamic control, including – Placing on screen – Starting and stopping Multiple video and/or audio elements or not May need to be concerned with time for downloading

Interlude Standard web applications are stateless. But, what if you want (need) to save information One approach: save small amount of data on the client computer. – cookies [Another approach, store data on the server – Formal database or something else – Commercial: Creating Databases for Web Applications, probably next Spring.

localStorage Like cookies: store information on client computer Accessed by program (document) from same site If (localStorage.oldlat) { var oldlat=Number(localStorage.oldlat); … } localStorage.oldlat = String(mylat);

Geolocation and Google Maps API Geolocation: returns location! Must be ok'ed by user unless all permission given. Can be used with Google Maps API – to bring in a map – Get a street address Can be combined with canvas

Geolocation Is not synchronous. That is, it is an asynchronous operation, setting up callbacks. Note: this is another example of event handling (see next chart) Your code sets up so that the browser performs a task and, depending on success or failure, the function you designate is invoked.

Events Mouse down on canvas canvas.addEventListener('mousedown',startreveal,true); – Click on a Google Map (use autonymous function) listener=google.maps.event.addListener(map,'click', function(event){ resetnow(event.latLng); }); Timing tid=setInterval(playback,20); See d.html d.html

Scalar Vector Graphics Distinct way to describe hierarchy of paths and shapes Special language Can make dynamic Compare – /html5logoscalesvg.html /html5logoscalesvg.html – /html5logoscale.html /html5logoscale.html

SVG Includes ability to specify Bezier curves See – Daddy Joe example: /littlejoesvg2.html /littlejoesvg2.html – Article: g2012.pdf g2012.pdf

More Examples Go to orehtml5examples.html orehtml5examples.html Pick examples to examine…

Advice Before plunging into coding, think about What are elements on screen – Dynamic versus static What are the states of the application – What information is to be stored and where What are the critical events – Your user (in this case, student) does something – Others

Homework Keep work on User Observation Study Keep reviewing HTML, HTML5 and JavaScript – Identify and post to the Sources and Sites forum a unique favorite site for JavaScript help and say what makes it good!