The Web Wizard’s Guide To DHTML and CSS

Slides:



Advertisements
Similar presentations
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Advertisements

CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
Cascading Style Sheets
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
/k/k 1212 Cascading Style Sheets Part one Marko Boon
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
Cascading Style Sheets Understanding styles. The term cascading describe the capability of a local style to override a general style. CSS applies style.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
Design, Formatting, CSS, & Colors 27 February, 2011.
CSS Basics LIS Webteam April 8, Why CSS? What’s wrong with HTML? Structure vs Style Early web design used hacks to style webpages with HTML – like.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
The Web Wizard’s Guide To DHTML and CSS Chapter 1 A Review of CSS1.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
HTML 4.0 History and Application By: Marc Mayzes.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
Web Technologies COMP6115 Session 2: Planning, Designing, Constructing and Testing Static Web Sites Dr. Paul Walcott Department of Computer Science, Mathematics.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
HTML: Tables & Frames Internet Technology1. HTML: Tables Table tags ► surround the entire table ► header row (text is boldfaced) ► surround each row ►
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
The Web Wizard’s Guide To DHTML and CSS Chapter 1 A Review of CSS1.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Interactive Client-Side Technologies MMIS 656 Web Design Technologies Acknowledgements: Estrella, S. (2003). The Web Wizard’s Guide to DHTML and CSS.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
>> More on CSS Selectors. Pre-requisite Open the file called sample.txt Copy the all the text from the file Open your browser and go to codepen.io Paste.
DHTML. What is it? Dynamic HTML. Not a standard unlike HTML or Java It is a term applied by both Netscape and Microsoft to a collection of technologies.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
The Web Wizard’s Guide To JavaScript Chapter 9 Applied Web Programming Techniques.
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
JavaScript and Ajax (JavaScript Dynamic HTML (DHTML)) Week 7 Web site:
The Web Wizard’s Guide To DHTML and CSS Chapter 2 A Review of CSS2 and JavaScript.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WebD Introduction to CSS By Manik Rastogi.
Working with Cascading Style Sheets
CSS Nick Sims.
4.01 Cascading Style Sheets
Madam Hazwani binti Rahmat
Cascading Style Sheets
Intro to CSS CS 1150 Fall 2016.
Introduction to web design discussing which languages is used for website designing
Intro to CSS CS 1150 Spring 2017.
>> Dynamic CSS Selectors
Tutorial 6 Creating Dynamic Pages
The Web Wizard’s Guide To JavaScript
Introduction to Cascading Style Sheets (CSS)
Working with Dynamic Content and Styles
Using Cascading Style Sheets (CSS)
Training & Development
Web Design and Development
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.
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
4.01 Cascading Style Sheets
Presentation transcript:

The Web Wizard’s Guide To DHTML and CSS Chapter 7 Using Dynamic Techniques

Chapter Objectives Modify font size and color dynamically Modify text border style and color dynamically Improve appearance and responsiveness of lists Work dynamically with images Load external content in an inline frame

Modifying Font Size and Color Dynamically Complex text effects without Flash Any CSS font property can be changed Style sheet sets initial color of text to white <button onclick="fadeText('fadingText',255,0,0);"> Specifies final color for div with id=“fadingText” fadeIn() function makes small changes to size and color every 35 milliseconds

Modifying Border Style and Color Dynamically CSS values for border color, border style, border width, and background color document.getElementById('myText').style.borderColor = "red green yellow blue"; Easily create ugly effects

Creating Dynamic Lists Replace standard bullet with custom image Change image on mouseover

Replacing Images with Dynamic HTML Old way - event handlers in <a> tag New way - event handlers in any tag Load all images in stacked divs Change stacking order to show desired image Combine with Dynamic List effect

Using an Inline Frame to Load External Content <iframe> tag creates inline frame Can be positioned anywhere on the page Works in newer browsers only Change src attribute of iframe to load new content Simple link with target attribute also works