INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 LAST WEEK ON IO LAB Install Firebug and Greasemonkey. Complete the online skills assessment. Join the

Slides:



Advertisements
Similar presentations
JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
JavaScript & jQuery JavaScript and jQuery introduction.
CSS Styling CSS Box Model & CS110: Computer Science and the Internet.
Cascading Style Sheets
Today CSS HTML A project.
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
Javascript It’s not JAVA. What do these all have in common?
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Cascading Style Sheets. Slide 2 Lecture Overview Overview of Cascading Style Sheets (CSS) Ways to declare a CSS CSS formatting capabilities New features.
INFORMATION ORGANIZATION LAB SEPTEMBER 15, 2009 LAST WEEK ON IO LAB Write your first Greasemonkey script. Complete the CSS self-test. You can find links.
INFORMATION ORGANIZATION LAB SEPTEMBER 1, 2009 Information Organization Lab Faculty: Bob Glushko Student Instructors: Nick Doty & Ryan Greenberg.
Lecture Cascading Style Sheets (CSS) Internal Style Sheets Classes.
Forms, Validation Week 7 INFM 603. Announcements Try placing today’s example in htdocs (XAMPP). This will allow you to execute examples that rely on PHP.
JavaScript Defined DOM (Document Object Model) General Syntax Body vs. Head Variables Math & Logic Selection Functions & Events Loops Animation Getting.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited.
SYST Web Technologies SYST Web Technologies Lesson 6 – Intro to JavaScript.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
JQUERY | INTRODUCTION. jQuery  Open source JavaScript library  Simplifies the interactions between  HTML document, or the Document Object Model (DOM),
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
Dynamic Web Authoring Week3 – Javascript Basic COM311H Zheng, School of C&M, UUJ1.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
CSS Basic (cascading style sheets)
CSS. HTML: Looking Back HTML dictates order, structure, and function Does very little to specify layout or visual rendering.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
INFORMATION ORGANIZATION LAB SEPTEMBER 7, 2010 Install Chrome or Firebug. Complete the online skills assessment and lab Doodle. Join the
Unleash the Power of jQuery Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
Advanced Web Development Instructor: Thomas Bombach.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
Quick Questions 1. What does HTML stand for? 2. What are the three main languages of the Web? 3. What is the purpose of the tags? 4. Why do we indent different.
Unleash the Power of jQuery Learning & Development Team Telerik Software Academy.
JavaScript. JavaScript is the programming language of HTML and the Web. Easy to learn One of the 3 languages of all developers MUST learn: 1. HTML to.
 2008 Pearson Education, Inc. All rights reserved Document Object Model (DOM): Objects and Collections.
Miguel Lara, PhD. 1:10 – 1:15 Pre-test 1:15 – 1:30 Course overview 1:30 – 2:00 Setting up DW Site 2:00 – 2:05 > 2:05 – 2:55 Hands-on Lecture 2:55 – 3:00.
JavaScript Defined DOM (Document Object Model) General Syntax Body vs. Head Variables Math & Logic Selection Functions & Events Loops Animation Getting.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Cascading Style Sheets (CSS) EXPLORING COMPUTER SCIENCE – LESSON 3-5.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
HTML5 and CSS3 Illustrated Unit C: Getting Started with CSS.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, we’ll cover:  Brief CSS review  Creating sections with the tag  Creating inline.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Miguel Lara, PhD. Design and development instructional websites using a variety of web technologies such as HTML5, CSS, JavaScript, and jQuery.
Introduction to CSS: Selectors
Week-12 (Lecture-1) Cascading Style Sheets (CSS): describe how documents are presented on screens. Types of Style Sheets: External Style Sheet - Define.
Introduction to.
Web Basics: HTML/CSS/JavaScript What are they?
Getting Started with CSS
Programming Web Pages with JavaScript
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Lecturer (Dept. of Computer Science)
IST541 Interactive Media Miguel Lara, PhD.
Human Computer Interaction
CSS Box Model <span> & <div>
CSS.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
DHTML Javascript Internet Technology.
DHTML Javascript Internet Technology.
Cascading Style Sheets (Introduction)
Javascript and JQuery SRM DSC.
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
HTML / CSS Mai Moustafa Senior Web Designer eSpace eSpace.
Cascading Style Sheets III B. Com (Paper - VI) & III B
Web Programming and Design
Presentation transcript:

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 LAST WEEK ON IO LAB Install Firebug and Greasemonkey. Complete the online skills assessment. Join the mailing list. You can find links to help with all of these on the course website at If you haven’t done these things already, please do them before we begin today’s lecture

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Information Organization Lab Faculty: Bob Glushko Student Instructors: Nick Doty & Ryan Greenberg

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Office Hours RyanNick Wednesday 1:00–2:00 Friday 1:00- 2:00 And by appointment. or to schedule. Room 210

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 What We Know

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Document Object Model Document Object Model This is my first paragraph My second paragraph has a list: Item One Item Two Item Three This is the third paragraph body div header div content ppp ul li h1

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Cascading style sheets

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Rule Structure From CSS: The Definitive Guide

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Selectors CSSHTML Type (Tag)p Id#headerid="header" Class.authorclass="author" Descendentdiv p Groupingh1, h2 and

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Common Properties font-familycolorborderdisplay marginfont-sizewidthpadding backgroundpositiontext-alignfloat See for a good list of CSS2 properties.

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 The Box model Border Paddin g Margin Width Height

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 CSS Resources Available free for students at

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Javascript crash course

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 First Things First JavaScript is a high-level, object-oriented language used most often in web browsers. You can write comments in your code with // or /* */ A semi-colon goes at the end of every statement.

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Variables 'Bob'29true ['Bob', 'John', 'Coye', 'Deirdre'] {'name': 'Arnold', 'weight': 240} NumbersStringsBoolean Arrays Objects

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Variables var stateName = 'California';

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Strings A sequence of characters. Use single- or double-quotes to indicate a string. Examples var myName = "Larry"; myName → "Larry" myName.length → 5 myName.toUpperCase() → "LARRY" myName.indexOf('a') → 1

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Arrays An ordered collection of elements. Use square brackets to indicate an array. Examples var myArray = ['dog', 'fish', 'cat']; myArray.length → 3 myArray[0] → ['dog'] myArray.push('horse') → myArray == ['dog', 'fish', 'cat', 'horse'] myArray.indexOf('fish') → 1 myArray.sort() → ['cat', 'dog', 'fish'];

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Objects A collection of key-value pairs or named properties. Use braces to indicate an object. Examples var person = {'name': 'Arnold', 'weight': 240, 'height': 6.2 } person.name → "Arnold" person.height → 6.2 person.wife = 'Maria'; person.wife → 'Maria' person['wife'] → 'Maria'

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Functions function add(x, y) { return x + y; } add(2,4) → 6 var add = function(x, y) { return x + y; }

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Browser functions alert('…') confirm('…') prompt('…') console.log('…')

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Control structures if (3 > 2) { alert('3 is greater than 2'); } for (var i=0; i < myArray.length; i++) { myArray[i]; }

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 jQuery CSS meets JavaScript +

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 New hotness vs. Old and Busted (But with JavaScript instead of computers)

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 jQuery Selects objects from the DOM using CSS selectors. Do something with the selected elements. Using jQuery involves two steps:

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Main jQuery operations Attributes: Changing existing elements. Traversing: Moving from selected elements in the DOM to others. Manipulating: Inserting or removing elements. Events: Attaching functions to events in the browser.

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Web Browser Extensions Greasemonkey and Jetpack and bears, oh my!

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Extend What? Browser chrome Page content Page style Page behavior

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 GreasemonkeyMozilla Jetpack Firefox Extensions Chrome Extensions

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Good for the Browsers GOOD FOR US

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 Let’s Try it To the browser / text editor!

INFORMATION ORGANIZATION LAB SEPTEMBER 8, 2009 For Next Week For practice, make sure you can build the Delicious Trailmaker all by yourself. Add a feature to it. Write your first Greasemonkey script. Come with questions next class. Decide on an idea for Project 1. You can find links to help with all of these on the course website at