Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.

Slides:



Advertisements
Similar presentations
Use Tables for Layout Control Day 7. You will learn to: Understand Tables Create a Simple Table Modify Your Tables Appearance Create Page Layouts with.
Advertisements

Molecular Biomedical Informatics Web Programming 1.
CSS Layout Crash Course An Advance CSS Tutorial. Inline vs. Block Many HTML elements have a default display setting of Block. Block elements take up the.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
Web Programming 網際網路程式設計 1 Darby Chang 張天豪 Web Programming 網際網路程式設計.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Tutorial 4: Creating page layout with css
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Tutorial 6 Creating Fixed-Width Layouts
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Web Programming 網際網路程式設計 1 Darby Chang 張天豪 Web Programming 網際網路程式設計.
Divide-and-Conquer. 什麼是 divide-and-conquer ? Divide 就是把問題分割 Conquer 則是把答案結合起來.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/3 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH3.5 ~ CH /10/31.
期末專題 - 吊人頭遊戲 第 35 組 組員 : 電機系 49841XXXX XXX 電機系 49841OOOO OOO.
廣告故事學 --為商品注入生命的行銷陽謀. 從前,有一家半大不小的連鎖商店, 沒有什麼裝潢,也不具備設計感, 看起來不起眼,設的點也不多,更 不能刷卡,說實在的,怎麼看就是 破舊老陳的。但是,這家店的缺點 突然變成優點 …… 廣告故事 A-1.
我的生涯 巫俊賢.
1 網路同步學習 如何使用中山大學管理學院知識管理平台 愷中 製作. 2 如何登入中山大學網路學習平台 1. 首先, 請輸入 2. 點選申請帳號, 依照螢幕所示, 輸入個人資訊.
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
公司加入市場的決定. 定義  平均成本 = 總成本 ÷ 生產數量 = 每一單位產量所耗的成本  平均固定成本 = 總固定成本 ÷ 生產數量  平均變動成本 = 總變動成本 ÷ 生產數量.
:Nuts for nuts..Nuts for nuts.. ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 10944:Nuts for nuts.. 解題者:楊家豪 解題日期: 2006 年 2 月 題意: 給定兩個正整數 x,y.
公用品.  該物品的數量不會因一人的消費而受到 影響,它可以同時地被多人享用。 角色分配  兩位同學當我的助手,負責:  其餘各人是投資者,每人擁有 $100 , 可以投資在兩種資產上。  記錄  計算  協助同學討論.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/25 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH 2.4~CH 2.6 &
逆向選擇和市場失調. 定義  資料不對稱 在交易其中,其中一方較對方有多些資料。  逆向選擇 出現在這個情況下,就是當買賣雙方隨意在 市場上交易,與比較主動交易者作交易為佳 。
ArcINFO &Geodatabase 由 ESRI 產生 1970 ArcINFO 一開始被設計在迷你電 腦上, 後來逐漸發展, 在 UNIX 系統上也能 執行, 直到今天, 已經可以在不同的平台上 運作.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
1 Chemical and Engineering Thermodynamics Chapter 1 Introduction Sandler.
Chapter 12 Estimation 統計估計. Inferential statistics Parametric statistics 母數統計 ( 母體為常態或 大樣本 ) 假設檢定 hypothesis testing  對有關母體參數的假設,利用樣本資料,決定接受或 不接受該假設的方法.
啤酒遊戲- 供應鍊模擬 Dr. CK Farn 2006 Spring. 中央大學。范錚強 2 模擬設定 過度簡化的供應鍊 銷售桶裝啤酒 角色 工廠(倉庫) 配銷商 大盤商 零售商.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Social Web Design & Research 社群網站設計 & 研究 Social Web Design & Research 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Social Web Design & Research 社群網站設計 & 研究 Social Web Design & Research 1.
Layouts with CSS Web Design – Section 4-12 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Principles of Web Design 6 th Edition Chapter 7 – Page Layouts.
ITP 104.  While you can do things like this:  Better to use styles instead:
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Page Layout with CSS Learning Web Design: Chapter 16.
 Website development process  CSS  Javascript.
CSS = Cascading Style Sheet CSS consists of rules to display, style and decorate HTML elements Why CSS ? – Separate decoration from HTML markup (Ex :,,…)
WEB DESIGN AND PROGRAMMING Advanced CSS Techniques.
Lesson 05 // Web Design, Layout & Structure 1.Web Design/Designer-Coder Relationship 2.Fixed vs Fluid Website Layouts 3.Screen Resolutions.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Today’s Agenda Advanced CSS Techniques Floating Z-index Centering Sliding Doors Fluid Layouts CSS3 Advanced CSS Lab Mini Project #2.
CSS BEST PRACTICES.
Web Design I Spring 2009 Kevin Cole Gallaudet University
Principles of Web Design 6 th Edition Chapter 9 – Site Navigation.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
Internet Technology Dr Jing LU Updated Dr Violet Snell / Dr Kalin Penev 1 Internet Technology (week 6)  Recap: Validating HTML  Page Layout.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
CONTROLLING Page layout
! !美洲華語 李雅莉老師製作 TextVocabularyusageStoryChallenge $100 $200 $300 $400 $500 $600 $100 $200 $300 $400 $500 $600 $100 $200 $300 $400 $500 $600 $100 $200.
第二冊第七課 中國新年是春節 第一週.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
Today’s objectives  Announcements  Positioning  Measurement units.
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
Laying out Elements with CSS
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
Implementing Responsive Design
Concepts for fluid layout
CSS BEST PRACTICES.
Objectives Create a reset style sheet Explore page layout designs
Fixed Positioning.
Laying out Elements with CSS
Concepts for fluid layout
Presentation transcript:

Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1

Layout 排版 2 Web Programming 網際網路程式設計

Progressive Enhancement / 漸進增強 Start from trivial techniques, then complicate it Release early, release often –such as the god damn philosophy of the Facebook upgrade A simple stratification 1.clean and reasonable HTML that focuses on content 2.CSS that focuses on visual candies 3.JavaScript that focuses on usability More complicated stratification could include color scheme, internationalization, … Web Programming 網際網路程式設計 3

4 Release early vs. release perfect

Some useful concepts Product-Market Fit (PMF) – 請問:我的 App 做出來了,接下來要怎麼「行銷」? 請問:我的 App 做出來了,接下來要怎麼「行銷」? – 你該問:我已經知道誰會買了,現在要怎麼把產品做好? Minimum Viable Product (MVP, from Lean Startup) –Dropbox 和 Xobni 在兩年內突破百萬會員的七個關鍵Dropbox 和 Xobni 在兩年內突破百萬會員的七個關鍵 –Segway 、 Dropbox Pivot (from Lean Startup) –Pivot — 創業家最重要的本領Pivot — 創業家最重要的本領 – 這一切都是瞎貓碰上死耗子,真的! 這一切都是瞎貓碰上死耗子,真的! – 一個好的 Business Model 是「測」出來、「改」出來的,但 幾乎很少是「想」出來的 Web Programming 網際網路程式設計 5

An example 6 Progressive Enhancement: What It Is, And How To Use It? Web Programming 網際網路程式設計

The first layer Use, since this is used for setting order Use with suitable name attribute Use with suitable for attribute to connect with Use for segmentation Use to wrap all materials Web Programming 網際網路程式設計 7

The second layer Use position attribute to remove from normal flow Use negative margin-left to make invisible while preserving the syntax, which is very important in accessibility –such as screen reading for blind users Remove numbers of to prevent confusion Adjust the widely used attributes, background, color, margin and padding, to make the page look more beautiful Use :hover to achieve some basic dynamic effects Web Programming 網際網路程式設計 8

The third layer Hide since we have a completely different user experience Change value attributes whenever the order is changed Web Programming 網際網路程式設計 9

Fixed vs. fluid 固定與流動 10 Web Programming 網際網路程式設計

Fixed vs. fluid Fixed layout usually depends on a wrapper element with an absolute width In a fluid (or liquid) layout, all element widths are relative (using %, em or rem ) – 網頁設計該用哪種字級單位: px 、 em 或 rem ? 網頁設計該用哪種字級單位: px 、 em 或 rem ? Fixed vs. Fluid vs. Elastic Layout: What's The Right One For You? Fixed vs. Fluid vs. Elastic Layout: What's The Right One For You? Web Programming 網際網路程式設計 11

Web design with fixed width Pros –easy to design –guarantee identical in different browsers –no need to consider min-width, max-width, … attributes Cons –usually leave a large empty space, which violate some balance/design principles such as “divine proportion” and “Rule of Thirds” –the hateful horizontal scroll bar in small screens a new trend is the Media Queries technology in CSS3 The Wall is Redesigned –watch out the background image repeats in big screens Web Programming 網際網路程式設計 14

15

16

17

Trend of fixed width design Screens are bigger –Browser Display StatisticsBrowser Display Statistics –NetMarketShareNetMarketShare Centralized –margin: 0 auto; Web Programming 網際網路程式設計 18

Web design with fluid width Pros –users somehow have the control on the width –the percentage of empty space is relatively correct, which means more beautiful –prevent horizontal scroll bar Cons –designers cannot 100% control what users see –need to provide multiple dimensions for materials such as images and videos again, use the Media Queries technology in CSS3 The Wall is Redesigned –if your web site has poor content but your users have big screens… Web Programming 網際網路程式設計 19

20

Web Programming 網際網路程式設計 21

22

Web Programming 網際網路程式設計 23

Trend in fluid width design Simplify the design, since it is too hard to control Use min-width and max-width for the smallest control Responsive design Special Interest Group on Molecular Biomedical Informatics Special Interest Group on Molecular Biomedical Informatics Web Programming 網際網路程式設計 24

Simple three-column layout Float – Left Middle Right –#left, #mid, #right { float: left; }.clear { clear: both; } The main column is not floating – Left Right Middle –#left { float: left } #right { float: right } #mid { padding-left: 200px; width: 760px; } Web Programming 網際網路程式設計 25

Grid/ 網格 The beautify of alignment, rhythm 960 Grid System –Four Kitchens’s Presentations on SlideShareFour Kitchens’s Presentations on SlideShare There are many other frameworks –Semantic UISemantic UI –Bootstrap, from TwitterBootstrap, from Twitter –Responsive CSS Framework Comparison: Bootstrap, Foundation, SkeletonResponsive CSS Framework Comparison: Bootstrap, Foundation, Skeleton –10 Promising CSS Framework That Worth A Look10 Promising CSS Framework That Worth A Look The vertical rhythm, even harder –Compose to a Vertical RhythmCompose to a Vertical Rhythm –line-height ( 行距 ), margin and padding ( 留白 ), font-size 字體大小 ) and border ( 邊框 ) –Web ProgrammingWeb Programming Web Programming 網際網路程式設計 26

Framework/ 框架 A web page usually comprises of several elements such as header ( 頁首 ), content and footer ( 頁尾 ). A header may contain logo and navigation bar; while content may contain sidebar. Building every web site usually spends a considerable time on these fundamental structures. Thus, here comes framework, which provides commonly used template to prevent starting from scratch Cons –for large flexibility, some class of id are not semantic where, for example, header could become container_16 –a disciplinal environment may throttle ideas Web Programming 網際網路程式設計 27

Use graphics software to layout Create a Fantastic Landing Page for Your Next Product Using Photoshop Create a Fantastic Landing Page for Your Next Product Using Photoshop Actually, there are many people do this –45 Step-by-Step Tutorials on Web Design with Photoshop45 Step-by-Step Tutorials on Web Design with Photoshop But this requires one more step –Convert Your Product Landing Page From PSD to HTML [Very DetailedConvert Your Product Landing Page From PSD to HTML [Very Detailed –it is the meal ticket of many people Web Programming 網際網路程式設計 28

Re-align rather than re-design Web Programming 網際網路程式設計 29 Good Designers Redesign, Great Designers Realign Process of Redesigning N.Design The Wall is Redesigned

Any Questions? Web Programming 網際網路程式設計 30

Today’s assignment 今天的任務 Web Programming 網際網路程式設計 31

Re-design (re-align) your site Re-think the use of border, font-size, line-height, margin and padding and consider frameworks. Finish all pages of your site. Reference –Good Designers Redesign, Great Designers RealignGood Designers Redesign, Great Designers Realign –960 Grid System960 Grid System –Bootstrap, from TwitterBootstrap, from Twitter –Semantic UISemantic UI Your web site ( ex6) will be checked not before 23:59 11/13 (Tue). You may send a report (such as some important modifications) to me in case I did not notice your features. Web Programming 網際網路程式設計 32