Bioinformatics Resources

Size: px
Start display at page:

Download "Bioinformatics Resources"

Transcription

1 Bioinformatics Resources Lecture & Exercises Prof. B. Rost, Dr. L. Richter, J. Reeb Institut für Informatik I12 Slides by D. Nechaev

2 Recap! Why do we even bother with JavaScript?! Because JavaScript allows us to work with the DOM! I.o.w., it allows us to manipulate content (what is included in a web page) and presentation (how included entities are shown)

3 Extent of Manipulation! Show an alert! Enable/disable form fields! Dynamically load content!! Single Page Applications

4 Single Page Applications! Dynamically change the web page instead of completely reloading it! Example: Gmail! The page stays the same, but the content is added/changed/deleted according to user s actions

5 Not Everybody Needs a SPA! Web-applications with rich UI benefit from a single-page-application approach! Web-sites like Wikipedia do not! Bioinformaticians probably are not going to create another Gmail, so why bother?

6 What Do Bioinformaticians Need?! Develop a new method! Get results! Publish a paper! Create a tool that allows others to utilise the new method

7 Target Audience Defines the Tool! Computer Scientists are target audience can develop a console utility! Biologists are target audience need to develop a tool that is as simple as possible! As simple as possible accessible through a browser, visual

8 Visualizations in a Browser

9 Visualizations in a Browser?! How can we do it?! Render an image with an external tool & show it on a page! What if an image depends on user s choices?! Pass user s choices to an external script, render the image, include it

10 Can We Render a Chart in a Browser?! Yes, we can!! HTML + CSS! Canvas & JavaScript! SVG & JavaScript

11 HTML + CSS! Bar chart <div class="chart"> <div id='bar_1' style="width: 40px;">4</div> <div id='bar_2' style="width: 80px;">8</div> <div id='bar_3' style="width: 150px;">15</div> <div id='bar_4' style="width: 160px;">16</div> <div id='bar_5' style="width: 230px;">23</div> <div id='bar_6' style="width: 420px;">42</div> </div>

12 HTML + CSS! Bar chart.chart div { font: 10px sans-serif; background-color: steelblue; text-align: right; padding: 3px; margin: 1px; color: tan; }.chart div:hover { background-color: darkcyan; }

13 HTML + CSS! Bar chart

14 HTML + CSS! Bar chart! Can we make it interactive?

15 HTML + CSS! Can we make it interactive? <div> <input id="input_1" type="number" value="4" onchange="setvalue(this.value, 'bar_1')"> <input id="input_2" type="number" value="8" onchange="setvalue(this.value, 'bar_2')"> <input id="input_3" type="number" value="15" onchange="setvalue(this.value, 'bar_3')"> <input id="input_4" type="number" value="16" onchange="setvalue(this.value, 'bar_4')"> <input id="input_5" type="number" value="23" onchange="setvalue(this.value, 'bar_5')"> <input id="input_6" type="number" value="42" onchange="setvalue(this.value, 'bar_6')"> </div>

16 HTML + CSS! Can we make it interactive? <script type="text/javascript"> function setvalue(newvalue, barid) { var bar = document.getelementbyid(barid); bar.innerhtml = newvalue; bar.style.width = parseint(newvalue) * 10 + 'px'; } </script>

17 HTML + CSS! An interactive bar chart

18 HTML + CSS! Can we do something other than bar charts?! Let s try pie charts! Example thankfully taken from on

19 HTML + CSS! Pie chart <style>.pie { width: 100px; height: 100px; border-radius: 50%; background: yellowgreen; background-image: linear-gradient(to right, transparent 50%, #655 0); } </style> <div class="pie"></div>

20 HTML + CSS! Pie chart! Now we will use a rotating pseudo-element to uncover the percentage we want.

21 HTML + CSS! Pie chart.pie::before { content: ''; display: block; margin-left: 50%; height: 100%; border-radius: 0 100% 100% 0 / 50%; background: #655; transform-origin: left; transform: rotate(.1turn); }

22 HTML + CSS! Pie chart! Not semantic at all

23 HTML + CSS! Yes, we can create charts using HTML and CSS! However, using HTML and CSS for this task isn t really straightforward! What other alternatives do we have?

24 Alternatives! Canvas element (raster-based)! SVG (vector-based)

25 Canvas! HTML5 element! Allows to create raster images! Uses primitive shapes, such as lines, arcs, rectangles, etc.

26 Canvas <head> <meta charset="utf-8"> <title>canvas</title> <script type="text/javascript"> function showchart() { var canvas = document.getelementbyid('main'); var context = canvas.getcontext('2d'); draw(context); } function draw(ctx) { } </script> </head> <body onload="showchart();"> <canvas id="main" width="400" height="400"></canvas> </body>

27 Canvas! Draw some lines: function draw(ctx) { ctx.beginpath(); ctx.moveto(10, 200); ctx.lineto(35, 175); ctx.lineto(55, 125); ctx.lineto(75, 205); ctx.stroke(); }

28 Canvas! Draw some lines: function draw(ctx) { ctx.beginpath(); ctx.moveto(10, 200); ctx.lineto(35, 175); ctx.lineto(55, 125); ctx.lineto(75, 205); ctx.fill(); }

29 Canvas! Draw a rectangle: function draw(ctx) { ctx.beginpath(); ctx.fillrect(10, 10, 40, 390); }

30 Canvas! How about a bar chart?: function draw(ctx) { ctx.beginpath(); ctx.fillrect(10, 200, 40, 390); ctx.fillrect(60, 150, 40, 390); ctx.fillrect(110, 100, 40, 390); ctx.fillrect(160, 120, 40, 390); ctx.fillrect(210, 210, 40, 390); }

31 Canvas! How about a bar chart?:

32 Canvas! How about a colorful bar chart?: function draw(ctx) { ctx.beginpath(); ctx.fillstyle = 'aqua'; ctx.fillrect(10, 200, 40, 390); ctx.fillstyle = 'aquamarine'; ctx.fillrect(60, 150, 40, 390); ctx.fillstyle = 'cadetblue'; ctx.fillrect(110, 100, 40, 390); ctx.fillstyle = 'cornflowerblue'; ctx.fillrect(160, 120, 40, 390); ctx.fillstyle = 'steelblue'; ctx.fillrect(210, 210, 40, 390); }

33 Canvas! How about a colorful bar chart?:

34 Canvas! Can we draw a pie chart now?! Yes, we can!! Use `arc()`

35 Canvas! Pie chart! function draw(ctx) { ctx.beginpath(); ctx.moveto(200, 200); ctx.fillstyle = 'aqua'; ctx.arc(200, 200, 200, 0, 0.2 * Math.PI, false ); ctx.fill();

36 Canvas! Pie chart! ctx.beginpath(); ctx.moveto(200, 200); ctx.fillstyle = 'aquamarine'; ctx.arc(200, 200, 200, 0.2 * Math.PI, 0.4 * Math.PI, false ); ctx.fill();

37 Canvas! Pie chart! ctx.beginpath(); ctx.moveto(200, 200); ctx.fillstyle = 'cadetblue'; ctx.arc(200, 200, 200, 0.4 * Math.PI, 0.8 * Math.PI, false ); ctx.fill();

38 Canvas! Pie chart! ctx.beginpath(); ctx.moveto(200, 200); ctx.fillstyle = 'cornflowerblue'; ctx.arc(200, 200, 200, 0.8 * Math.PI, 1.2 * Math.PI, false ); ctx.fill();

39 Canvas! Pie chart! } ctx.beginpath(); ctx.moveto(200, 200); ctx.fillstyle = 'steelblue'; ctx.arc(200, 200, 200, 1.2 * Math.PI, 2.0 * Math.PI, false ); ctx.fill();

40 Canvas! A colorful pie chart!:

41 Canvas! So far, so good! Can we make it interactive?

42 Canvas! Interactive pie chart: <div> <input id="i_1" type="number" value="10" onchange="redrawpiechart();"> <input id="i_2" type="number" value="10" onchange="redrawpiechart();"> <input id="i_3" type="number" value="20" onchange="redrawpiechart();"> <input id="i_4" type="number" value="20" onchange="redrawpiechart();"> <input id="i_5" type="number" value="40" onchange="redrawpiechart();"> </div>

43 Canvas! Interactive pie chart: function draw(ctx) { drawpies(ctx, [0.1, 0.1, 0.2, 0.2, 0.4]) }

44 Canvas! Interactive pie chart: function drawpies(ctx, values) { var colors = ['aqua', 'aquamarine', 'cadetblue', 'cornflowerblue', 'steelblue']; var cumulative = 0; for (var i = 0; i < 5; i++) { var value = values[i]; var color = colors[i]; drawpie(ctx, color, 200, 200, 200, cumulative * 2 * Math.PI, (cumulative + value) * 2 * Math.PI) cumulative += value; } }

45 Canvas! Interactive pie chart: function drawpie(ctx, color, centerx, centery, radius, startangle, endangle) { ctx.beginpath(); ctx.moveto(centerx, centery); ctx.fillstyle = color; ctx.arc(centerx, centery, radius, startangle, endangle, false ); ctx.fill(); }

46 Canvas! Interactive pie chart: function redrawpiechart() { var canvas = document.getelementbyid('main'); var context = canvas.getcontext('2d'); var raw_values = []; var ids = ['i_1', 'i_2', 'i_3', 'i_4', 'i_5']; for (var id of ids) { raw_values.push(parseint(document.getelementbyid(id).value)); } var sum = raw_values.reduce(function(acc, val) { return acc + val; }, 0); var values = []; for (var raw_value of raw_values) { values.push(raw_value / sum); } drawpies(context, values); }

47 Canvas! Here is what it looks like

48 SVG! SVG uses vector graphics unlike canvas! SVG allows to create separate objects and manipulate them after their creation unlike canvas! On one hand, SVG allows to work with such primitives as rect, circle, ellipse, etc.! On the other hand, SVG allows to change fill and outline color via CSS

49 SVG! Final bar chart! <svg class="chart" width="420" height="150" role="img"> <rect class="bar" width="40" height="19"></rect> <rect class="bar" width="40" height="19" y="20"></rect> <rect class="bar" width="80" height="19" y="40"></rect> <rect class="bar" width="80" height="19" y="60"></rect> <rect class="bar" width="160" height="19" y="80"></rect> </svg>

50 SVG! Final bar chart! <style>.bar { fill: cornflowerblue; height: 21px; cursor: pointer; font-family: Helvetica, sans-serif; }.bar:hover,.bar:focus { fill: aquamarine; } </style>

51 SVG! Final bar chart!

52 Conclusions! We can make charts with HTML & CSS! If we are tricky enough, we can do a lot of plots with them! Still, the process isn t straightforward

53 Conclusions! We can use canvas element to create raster images with JavaScript! Still, it would be better if we could use bar charts, pie charts, etc., and not just lines and rectangles as our building blocks! Declarative style is also preferable

54 Conclusions! We can use SVG to create vector images! Still, it would be better to have more complex building blocks! It would have been even better if we could bound data to charts

55 Libraries! Canvas.js, Chart.js, D3.js, etc.! Some are built on top of the canvas element, others use SVG! D3.js will be covered in the next lecture!

56 THANK YOU! Questions?

Web Programming 1 Packet #5: Canvas and JavaScript

Web Programming 1 Packet #5: Canvas and JavaScript Web Programming 1 Packet #5: Canvas and JavaScript Name: Objectives: By the completion of this packet, students should be able to: use JavaScript to draw on the canvas element Canvas Element. This is a

More information

Sam Weinig Safari and WebKit Engineer. Chris Marrin Safari and WebKit Engineer

Sam Weinig Safari and WebKit Engineer. Chris Marrin Safari and WebKit Engineer Sam Weinig Safari and WebKit Engineer Chris Marrin Safari and WebKit Engineer 2 3 4 5 Simple presentation of complex data 6 Graphs can be interactive California County: San Francisco Population: 845,559

More information

This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working on this exam.

This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working on this exam. FINAL EXAM KEY SPRING 2016 CSC 105 INTERACTIVE WEB DOCUMENTS NICHOLAS R. HOWE This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working

More information

Drawing a Pie Chart. Drawing a Pie Chart. Chapter 6. Setting the Canvas

Drawing a Pie Chart. Drawing a Pie Chart. Chapter 6. Setting the Canvas Chapter 6 Drawing a Pie Chart Similar to what you have done in the last two chapters, in this chapter, you will learn to build a pie chart, using the data contained in your HTML table. Starting from the

More information

Visualizing Information with

Visualizing Information with Visualizing Information with HTML5 @synodinos 35,000 years ago Chauvet cave, southern France By far the oldest paintings ever discovered Hundreds of paintings At least 13 different species Viubk source

More information

/

/ HTML5 Audio & Video HTML5 introduced the element to include audio files in your pages. The element has a number of attributes which allow you to control audio playback: src This

More information

<script type="text/javascript" src="breakout.js"> </script>

<script type=text/javascript src=breakout.js> </script> This lesson brings together everything we've learned so far. We will be creating a breakout game. You can see it on http://www.ripcoder.com/classnotes/32/8/breakout.html It is great to think that you have

More information

Introduction to Computer Science Web Development

Introduction to Computer Science Web Development Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 9 Lecture Outline Text Styling Some useful CSS properties The Box Model essential to

More information

A user-friendly reference guide HTML5 & CSS3 SAMPLE CHAPTER. Rob Crowther MANNING

A user-friendly reference guide HTML5 & CSS3 SAMPLE CHAPTER. Rob Crowther MANNING A user-friendly reference guide HTML5 & CSS3 SAMPLE CHAPTER Rob Crowther MANNING Hello! HTML5 & CSS3 by Rob Crowther Chapter 3 Copyright 2013 Manning Publications Brief contents PART 1 LEARNING HTML5 1

More information

Fundamentals of Web Technologies. Agenda: CSS Layout (Box Model) CSS Layout: Box Model. All HTML elements can be considered as a box or a container

Fundamentals of Web Technologies. Agenda: CSS Layout (Box Model) CSS Layout: Box Model. All HTML elements can be considered as a box or a container ITU 07204: Fundamentals of Web Technologies Lecture 6: CSS Layouts (Intro) Dr. Lupiana, D FCIM, Institute of Finance Management Semester 2 Agenda: CSS Layout (Box Model) 2 CSS Layout: Box Model All HTML

More information

Data Visualization (CIS 468)

Data Visualization (CIS 468) Data Visualization (CIS 468) Web Programming Dr. David Koop Languages of the Web HTML CSS SVG JavaScript - Versions of Javascript: ES6/ES2015, ES2017 - Specific frameworks: react, jquery, bootstrap, D3

More information

CS7026 HTML5. Canvas

CS7026 HTML5. Canvas CS7026 HTML5 Canvas What is the element HTML5 defines the element as a resolution-dependent bitmap canvas which can be used for rendering graphs, game graphics, or other visual images

More information

Appendix A Canvas Reference

Appendix A Canvas Reference Appendix A Canvas Reference BC2 HTML5 GAMES CREATING FUN WITH HTML5, CSS3, AND WEBGL The Canvas Element See the official W3C specification for full details on the canvas element (www.w3.org/tr/ html5/the-canvas-element.html.

More information

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Session 4. Style Sheets (CSS) Reading & References.   A reference containing tables of CSS properties Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-02) Web Programming Dr. David Koop 2 What languages do we use on the Web? 3 Languages of the Web HTML CSS SVG JavaScript - Versions of Javascript: ES6, ES2015, ES2017

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

Stamp Builder. Documentation. v1.0.0

Stamp  Builder. Documentation.   v1.0.0 Stamp Email Builder Documentation http://getemailbuilder.com v1.0.0 THANK YOU FOR PURCHASING OUR EMAIL EDITOR! This documentation covers all main features of the STAMP Self-hosted email editor. If you

More information

Index LICENSED PRODUCT NOT FOR RESALE

Index LICENSED PRODUCT NOT FOR RESALE Index LICENSED PRODUCT NOT FOR RESALE A Absolute positioning, 100 102 with multi-columns, 101 Accelerometer, 263 Access data, 225 227 Adding elements, 209 211 to display, 210 Animated boxes creation using

More information

IAT 355 : Lab 01. Web Basics

IAT 355 : Lab 01. Web Basics IAT 355 : Lab 01 Web Basics Overview HTML CSS Javascript HTML & Graphics HTML - the language for the content of a webpage a Web Page put css rules here

More information

Web UI. Survey of Front End Technologies. Web Challenges and Constraints. Desktop and mobile devices. Highly variable runtime environment

Web UI. Survey of Front End Technologies. Web Challenges and Constraints. Desktop and mobile devices. Highly variable runtime environment Web UI Survey of Front End Technologies Web UI 1 Web Challenges and Constraints Desktop and mobile devices - mouse vs. touch input, big vs. small screen Highly variable runtime environment - different

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we

More information

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week WEB DESIGNING HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments HTML - Lists HTML - Images HTML

More information

State of the Open Web. Brad Neuberg, Google

State of the Open Web. Brad Neuberg, Google State of the Open Web Brad Neuberg, Google http://flickr.com/photos/jamespaullong/164875156/ Who is this guy? Ajax Image CC: jopemoro/flickr Who is this guy? Ajax Image CC: jopemoro/flickr Ajax Who is

More information

Cascading Style Sheets Level 2

Cascading Style Sheets Level 2 Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

Conduit 2.0 tutorial: Rendering graphics and text using the Canvas node

Conduit 2.0 tutorial: Rendering graphics and text using the Canvas node Conduit 2.0 tutorial: Rendering graphics and text using the Canvas node Author: Pauli Ojala This tutorial will show how to use the Canvas node to render custom graphics and text. The end result will be

More information

MTA EXAM HTML5 Application Development Fundamentals

MTA EXAM HTML5 Application Development Fundamentals MTA EXAM 98-375 HTML5 Application Development Fundamentals 98-375: OBJECTIVE 3 Format the User Interface by Using CSS LESSON 3.4 Manage the graphical interface by using CSS OVERVIEW Lesson 3.4 In this

More information

Data Visualization (CIS/DSC 468)

Data Visualization (CIS/DSC 468) Data Visualization (CIS/DSC 468) Data Dr. David Koop SVG Example http://codepen.io/dakoop/pen/ yexvxb

More information

Fundamentals of Website Development

Fundamentals of Website Development Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science In this chapter History of HTML HTML 5-2- 1 The birth of HTML HTML Blows and standardization -3- -4-2 HTML 4.0

More information

Houdini - Explaining CSS

Houdini - Explaining CSS Houdini - Explaining CSS Ian Kilpatrick - Google Software Engineer Twitter: @bfgeek Standards Track Propose Idea Write Specification Browsers Implement Wait for Browser Adoption Use Feature! Standards

More information

Graphics. HCID 520 User Interface Software & Technology

Graphics. HCID 520 User Interface Software & Technology Graphics HCID 520 User Interface Software & Technology PIXELS! 2D Graphics 2D Graphics in HTML 5 Raster Graphics: canvas element Low-level; modify a 2D grid of pixels.

More information

D3js Tutorial. Tom Torsney-Weir Michael Trosin

D3js Tutorial. Tom Torsney-Weir Michael Trosin D3js Tutorial Tom Torsney-Weir Michael Trosin http://www.washingtonpost.com/wp-srv/special/politics Contents Some important aspects of JavaScript Introduction to SVG CSS D3js Browser-Demo / Development-Tools

More information

CS7026 CSS3. CSS3 Graphics Effects

CS7026 CSS3. CSS3 Graphics Effects CS7026 CSS3 CSS3 Graphics Effects What You ll Learn We ll create the appearance of speech bubbles without using any images, just these pieces of pure CSS: The word-wrap property to contain overflowing

More information

1 of 7 11/12/2009 9:29 AM

1 of 7 11/12/2009 9:29 AM 1 of 7 11/12/2009 9:29 AM Home Beginner Tutorials First Website Guide HTML Tutorial CSS Tutorial XML Tutorial Web Host Guide SQL Tutorial Advanced Tutorials Javascript Tutorial PHP Tutorial MySQL Tutorial

More information

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

<style type=text/css> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page*** Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember

More information

Positioning in CSS: There are 5 different ways we can set our position:

Positioning in CSS: There are 5 different ways we can set our position: Positioning in CSS: So you know now how to change the color and style of the elements on your webpage but how do we get them exactly where we want them to be placed? There are 5 different ways we can set

More information

Graphics. HCID 520 User Interface Software & Technology

Graphics. HCID 520 User Interface Software & Technology Graphics HCID 520 User Interface Software & Technology PIXELS! 2D Graphics 2D Raster Graphics Model Drawing canvas with own coordinate system. Origin at top-left, increasing down and right. Graphics

More information

HTML5, CSS3, JQUERY SYLLABUS

HTML5, CSS3, JQUERY SYLLABUS HTML5, CSS3, JQUERY SYLLABUS AAvhdvchdvchdvhdh HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments

More information

Web Designing Course

Web Designing Course Web Designing Course Course Summary: HTML, CSS, JavaScript, jquery, Bootstrap, GIMP Tool Course Duration: Approx. 30 hrs. Pre-requisites: Familiarity with any of the coding languages like C/C++, Java etc.

More information

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

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are

More information

Learn HTML5 in 5 Minutes!

Learn HTML5 in 5 Minutes! Learn HTML5 in 5 Minutes! By Jennifer Marsman There s no question, HTML5 is a hot topic for developers. If you need a crash course to quickly understand the fundamentals of HTML5 s functionality, you re

More information

Contents AD SPECIFICATIONS AND STYLE GUIDE 2017

Contents AD SPECIFICATIONS AND STYLE GUIDE 2017 Contents Standard ad formats... 1 Bulletins... 2 Rich Media Ad Units... 2 HTML5 Creatives... 3 Zip bundles... 3 Additional information... 5 This document is subject to change The creatives below run on

More information

BEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from

BEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from BEFORE CLASS If you haven t already installed the Firebug extension for Firefox, download it now from http://getfirebug.com. If you don t already have the Firebug extension for Firefox, Safari, or Google

More information

UI development for the Web.! slides by Anastasia Bezerianos

UI development for the Web.! slides by Anastasia Bezerianos UI development for the Web slides by Anastasia Bezerianos Divide and conquer A webpage relies on three components: Content HTML text, images, animations, videos, etc Presentation CSS how it will appear

More information

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors Unit 10 - Client Side Customisation of Web Pages Week 5 Lesson 1 CSS - Selectors Last Time CSS box model Concept of identity - id Objectives Selectors the short story (or maybe not) Web page make-over!

More information

D3 Introduction. Gracie Young and Vera Lin. Slides adapted from

D3 Introduction. Gracie Young and Vera Lin. Slides adapted from D3 Introduction Gracie Young and Vera Lin Slides adapted from Maneesh Agrawala Jessica Hullman Ludwig Schubert Peter Washington Alec Glassford and Zach Maurer CS 448B: Visualization Fall 2018 Topics 1)

More information

Data Visualization With Chart.js. Alireza Mohammadi Fall 2017

Data Visualization With Chart.js. Alireza Mohammadi Fall 2017 Data Visualization With Chart.js Alireza Mohammadi Fall 2017 Introduction To Data Visualization You can tell powerful stories with data. If your website or application is data-intensive, then you will

More information

About the Tutorial. Audience. Prerequisites. Copyright and Disclaimer. D3.js

About the Tutorial. Audience. Prerequisites. Copyright and Disclaimer. D3.js About the Tutorial D3 stands for Data-Driven Documents. D3.js is a JavaScript library for manipulat ing documents based on data. D3.js is a dynamic, interactive, online data visualizations framework used

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

FLOATING AND POSITIONING

FLOATING AND POSITIONING 15 FLOATING AND POSITIONING OVERVIEW Understanding normal flow Floating elements to the left and right Clearing and containing floated elements Text wrap shapes Positioning: Absolute, relative, fixed Normal

More information

Contents AD SPECIFICATIONS AND STYLE GUIDE 2018

Contents AD SPECIFICATIONS AND STYLE GUIDE 2018 Contents Standard ad formats... 2 Bulletins... 3 HTML5 Creatives... 4 ZIP BUNDLES... 4 STUDIO... 5 Additional information... 6 What s happening to Flash?... Error! Bookmark not defined. Please always download

More information

Adding CSS to your HTML

Adding CSS to your HTML Adding CSS to your HTML Lecture 3 CGS 3066 Fall 2016 September 27, 2016 Making your document pretty CSS is used to add presentation to the HTML document. We have seen 3 ways of adding CSS. In this lecture,

More information

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과 목차 HTML5 Introduction HTML5 Browser Support HTML5 Semantic Elements HTML5 Canvas HTML5 SVG HTML5 Multimedia 2 HTML5 Introduction What

More information

Google Web Toolkit Creating/using external JAR files

Google Web Toolkit Creating/using external JAR files Google Web Toolkit Creating/using external JAR files If you develop some code that can be reused in more than one project, one way to create a module is to create an external JAR file. This JAR file can

More information

Dreamweaver: Portfolio Site

Dreamweaver: Portfolio Site Dreamweaver: Portfolio Site Part 3 - Dreamweaver: Developing the Portfolio Site (L043) Create a new Site in Dreamweaver: Site > New Site (name the site something like: Portfolio, or Portfolio_c7) Go to

More information

CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

More information

AD SPECIFICATIONS AND STYLE GUIDE 2018

AD SPECIFICATIONS AND STYLE GUIDE 2018 Contents Standard ad formats... 1 Bulletins... 2 Rich Media Ad Units... 2 HTML5 Creatives... 3 ZIP BUNDLES... 3 STUDIO... 4 Additional information... 5 All creatives can be run through Third Party servers

More information

INTRODUCTION INSTRUCTOR ROBYN OVERSTREET

INTRODUCTION INSTRUCTOR ROBYN OVERSTREET INTRODUCTION INSTRUCTOR ROBYN OVERSTREET WHAT IS HTML5 CANVAS? HTML5 element, now part of HTML5 API! Used for drawing and animahng directly in HTML, with JavaScript scriphng! Originally developed by Apple

More information

Let s start with the document tree

Let s start with the document tree CSS INHERITANCE Let s start with the document tree Before we explore inheritance, we need to understand the document tree. All HTML documents are trees. Document trees are made from HTML elements. The

More information

Haymarket Business Media RECRUITMENT AD SPECIFICATIONS AND STYLE GUIDE 2018

Haymarket Business Media RECRUITMENT AD SPECIFICATIONS AND STYLE GUIDE 2018 Contents Standard ad formats... 1 Rich Media Ad Units... 2 HTML5 Creatives... 3 ZIP BUNDLES... 3 STUDIO... 4 Additional information... 5 This document is subject to change Please always download the most

More information

CSS. https://developer.mozilla.org/en-us/docs/web/css

CSS. https://developer.mozilla.org/en-us/docs/web/css CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties

More information

Haymarket Business Media AD SPECIFICATIONS AND STYLE GUIDE 2018

Haymarket Business Media AD SPECIFICATIONS AND STYLE GUIDE 2018 Fo r any information no t covered in this document please contact adcreative.hbm@haymarket.co m Contents Standard ad formats... 2 Bulletins... 3 Rich Media Ad Units... 3 HTML5 Creatives... 4 ZIP BUNDLES...

More information

How to lay out a web page with CSS

How to lay out a web page with CSS Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

PHP,HTML5, CSS3, JQUERY SYLLABUS

PHP,HTML5, CSS3, JQUERY SYLLABUS PHP,HTML5, CSS3, JQUERY SYLLABUS AAvhdvchdvchdvhdh HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

More information

Scalable Vector Graphics (SVG) vector image World Wide Web Consortium (W3C) defined with XML searched indexed scripted compressed Mozilla Firefox

Scalable Vector Graphics (SVG) vector image World Wide Web Consortium (W3C) defined with XML searched indexed scripted compressed Mozilla Firefox SVG SVG Scalable Vector Graphics (SVG) is an XML-based vector image format for twodimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed

More information

MIMS Online AD SPECIFICATIONS AND STYLE GUIDE 2018

MIMS Online AD SPECIFICATIONS AND STYLE GUIDE 2018 Contents Standard ad formats... 1 Mobile Creatives... 2 Bulletin Creatives... 2 Rich Media Ad Units... 3 HTML5 Creatives... 4 ZIP BUNDLES... 4 Additional Information... 5 This document is subject to change

More information

CSS: Cascading Style Sheets

CSS: Cascading Style Sheets CSS: Cascading Style Sheets Computer Science and Engineering College of Engineering The Ohio State University Lecture 13 Evolution of CSS MIME type: text/css CSS 1 ('96): early recognition of value CSS

More information

Using Dreamweaver CS6

Using Dreamweaver CS6 Using Dreamweaver CS6 7 Dynamic HTML Dynamic HTML (DHTML) is a term that refers to website that use a combination of HTML, scripting such as JavaScript, CSS and the Document Object Model (DOM). HTML and

More information

CSS Styles Quick Reference Guide

CSS Styles Quick Reference Guide Table 1: CSS Font and Text Properties Font & Text Properties Example(s) font-family Font or typeface font-family: Tahoma font-size Size of the font font-size: 12pt font-weight Normal or bold font-weight:

More information

Introduction D3 tutorial Part I

Introduction D3 tutorial Part I Information Visualization Daniel Gonçalves, Sandra Gama Introduction D3 tutorial Part I 01 01 VI LABS Sandra Gama sandra.gama@tecnico.ulisbo.pt http://web.tecnico.ulisboa.pt/sand ra.gama/ Planning Lab

More information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 3 Cascading Style Sheets (CSS) Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)

More information

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website. 9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather

More information

Lecture Topic Projects

Lecture Topic Projects Lecture Topic Projects 1 Intro, schedule, and logistics 2 Applications of visual analytics, basic tasks, data types 3 Introduction to D3, basic vis techniques for non-spatial data Project #1 out 4 Visual

More information

CSS worksheet. JMC 105 Drake University

CSS worksheet. JMC 105 Drake University CSS worksheet JMC 105 Drake University 1. Download the css-site.zip file from the class blog and expand the files. You ll notice that you have an images folder with three images inside and an index.html

More information

Certificate in Web Designing

Certificate in Web Designing Certificate in Web Designing Duration : 240 Hrs / 3 Months Internet Basics email fundamentals IP addressing (IPv4 and V6) Browser layout engine differences Search Engine Optimization How to use search

More information

CSS. Shan-Hung Wu CS, NTHU

CSS. Shan-Hung Wu CS, NTHU CSS Shan-Hung Wu CS, NTHU CSS Zen Garden 2 Outline The Basics Selectors Layout Stacking Order 3 Outline The Basics Selectors Layout Stacking Order 4 Grammar selector { property: value; 5 Example /* for

More information

Using CSS for page layout

Using CSS for page layout Using CSS for page layout Advantages: Greater typographic control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control Increased accessibility

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

This is the vector graphics "drawing" technology with its technical and creative beauty. SVG Inkscape vectors

This is the vector graphics drawing technology with its technical and creative beauty. SVG Inkscape vectors 1 SVG This is the vector graphics "drawing" technology with its technical and creative beauty SVG Inkscape vectors SVG 2 SVG = Scalable Vector Graphics is an integrated standard for drawing Along with

More information

Introduction to HTML & CSS. Instructor: Beck Johnson Week 5

Introduction to HTML & CSS. Instructor: Beck Johnson Week 5 Introduction to HTML & CSS Instructor: Beck Johnson Week 5 SESSION OVERVIEW Review float, flex, media queries CSS positioning Fun CSS tricks Introduction to JavaScript Evaluations REVIEW! CSS Floats The

More information

Web Site Design and Development Lecture 24

Web Site Design and Development Lecture 24 Web Site Design and Development Lecture 24 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Useful CSS for forms Given the nature of form controls, they come with a lot of default styling but there are still

More information

Taking Fireworks Template and Applying it to Dreamweaver

Taking Fireworks Template and Applying it to Dreamweaver Taking Fireworks Template and Applying it to Dreamweaver Part 1: Define a New Site in Dreamweaver The first step to creating a site in Dreamweaver CS4 is to Define a New Site. The object is to recreate

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) JavaScript Dr. David Koop Quiz Given the following HTML, what is the selector for the first div? the super Bowl

More information

Participation Status Report STUDIO ELEMENTS I KATE SOHNG

Participation Status Report STUDIO ELEMENTS I KATE SOHNG 2015 Participation Status Report STUDIO ELEMENTS I KATE SOHNG Table of Contents I. Wataru... 1 A. JQuery discussion... 1 B. Other JavaScript libraries... 1 C. CakePHP framework... 2 D. Webpage feedback...

More information

Data Visualization (CIS/DSC 468)

Data Visualization (CIS/DSC 468) Data Visualization (CIS/DSC 468) Web Programming Dr. David Koop Definition of Visualization Computer-based visualization systems provide visual representations of datasets designed to help people carry

More information

Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images.

Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images. About the Tutorial Scalable Vector Graphics commonly known as SVG is a XML based format to draw vector images. It is used to draw twodimentional vector images. This tutorial will teach you basics of SVG.

More information

CSS Design and Layout Basic Exercise instructions. Today's exercises. Part 1: Arrange Page into Sections. Part 1, details (screenshot below)

CSS Design and Layout Basic Exercise instructions. Today's exercises. Part 1: Arrange Page into Sections. Part 1, details (screenshot below) CSS Design and Layout Basic Exercise instructions You may want to bring your textbook to Exercises to look up syntax and examples. Have a question? Ask for help, or look at the book or lecture slides.

More information

Client-Side Web Technologies. CSS Part II

Client-Side Web Technologies. CSS Part II Client-Side Web Technologies CSS Part II Topics Box model and related properties Visual formatting model and related properties The CSS Box Model Describes the rectangular boxes generated for elements

More information

CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

More information

TUTORIAL: D3 (1) Basics. Christoph Kralj Manfred Klaffenböck

TUTORIAL: D3 (1) Basics. Christoph Kralj Manfred Klaffenböck TUTORIAL: D3 (1) Basics Christoph Kralj christoph.kralj@univie.ac.at Manfred Klaffenböck manfred.klaffenboeck@univie.ac.at Overview Our goal is to create interactive visualizations viewable in your, or

More information

HTML HTML5. DOM(Document Object Model) CSS CSS

HTML HTML5. DOM(Document Object Model) CSS CSS HTML HTML5 DOM(Document Object Model) CSS CSS HTML html img jpg png gif jpg png gif

More information

Lab Introduction to Cascading Style Sheets

Lab Introduction to Cascading Style Sheets Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,

More information

How to lay out a web page with CSS

How to lay out a web page with CSS How to lay out a web page with CSS A CSS page layout uses the Cascading Style Sheets format, rather than traditional HTML tables or frames, to organize the content on a web page. The basic building block

More information

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework Presented by Roel Fermont 1 Today more than ever, Cascading Style Sheets (CSS) have a dominant place in online business. CSS

More information

Introduction to HTML 5. Brad Neuberg Developer Programs, Google

Introduction to HTML 5. Brad Neuberg Developer Programs, Google Introduction to HTML 5 Brad Neuberg Developer Programs, Google The Web Platform is Accelerating User Experience XHR CSS DOM HTML iphone 2.2: Nov 22, 2008 canvas app cache database SVG Safari 4.0b: Feb

More information

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS

More information