SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
1 What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
Lecture 6/2/12. Forms and PHP The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input When dealing with HTML forms.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
JavaScript- Introduction. What it is and what it does? What it is? It is NOT Java It is NOT Server-side programming Users can see code It is a client-side.
Tutorial 6 Working with Web Forms
Multiple Tiers in Action
 A chunk of code that you can imbed in an existing envronment  Differences › Resides: desktop or web › Embedding: any page or application or limited.
Web Page Behavior IS 373—Web Standards Todd Will.
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
ITM352 Javascript and Dynamic Web Pages: Client Side Processing.
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.
Intro to PHP at Winthrop CSCI 297 Scripting Languages Day One.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
HTML Forms What is a form.
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
JavaScript Defined DOM (Document Object Model) General Syntax Body vs. Head Variables Math & Logic Selection Functions & Events Loops Animation Getting.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
DHTML: Dynamic HTML Internet Technology1. What is DHTML? A collection of enhancements to HTML ► To create dynamic and interactive websites Combination.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
Tutorial 10 Programming with JavaScript
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
Dynamic Web Pages & JavaScript. Dynamic Web Pages Dynamic = Change Dynamic Web Pages are web pages that change. More than just moving graphics around.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
JavaScript - A Web Script Language Fred Durao
audio video object Options: controls autoplay Need to define height and width Options: controls autoplay.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
HTML Form Widgets. Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back.
1 JavaScript
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
By Tharith Sriv. To write a web page you use: HHTML (HyperText Markup Language), AASP (Active Server Page), PPHP (HyperText Preprocessor), JJavaScript,
JavaScript Defined DOM (Document Object Model) General Syntax Body vs. Head Variables Math & Logic Selection Functions & Events Loops Animation Getting.
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
Introduction to JavaScript CSc 2320 Fall 2014 Disclaimer: All words, pictures are adopted from “Simple JavaScript”by Kevin Yank and Cameron Adams and also.
USING JAVASCRIPT TO SHOW AN ALERT Web Design Sec 6-2 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Javascript Overview. What is Javascript? May be one of the most popular programming languages ever Runs in the browser, not on the server All modern browsers.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
Introduction to JavaScript. Introduction What is it? How does it work? What is Java? Learning JavaScript JavaScript Statements JavaScript and HTML forms.
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
Javascript and Dynamic Web Pages: Client Side Processing
Introduction to Dynamic Web Programming
Using JavaScript to Show an Alert
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Chapter 5 Scripting Language
Intro to JavaScript CS 1150 Spring 2017.
Section 17.1 Section 17.2 Add an audio file using HTML
Chapter 5 Scripting Language
4. Javascript Pemrograman Web I Program Studi Teknik Informatika
Database Driven Websites
Intro to PHP at Winthrop
DHTML Javascript Internet Technology.
COMP 101 Introduction.
Dynamic Web Pages Jin Wu INF 385E Information Architecture
DHTML Javascript Internet Technology.
Web Design and Development
Tutorial 10: Programming with javascript
Hypertext Preprocessor
Web Application Development Using PHP
Presentation transcript:

SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server Pages Client Browser 1 3 2

 Browser-based language for creating dynamic pages  Functions › simple programming tool › dynamic text › react to events › read and write HTML elements › validate data › detect the browser › create cookies  Significant differences between browsers › More than HTML and CSS › Why no such problems with PHP?  w3schools

HTML Content CSS Presentation JavaScript Behavior

JavaScript Writes Text { document.write (‘ Hello World! '); }

My Page My Page <a href="myfile.html" onMouseover="window.alert('Hello');"> My Page

 JavaScript is very good at processing user input in the web browser  HTML elements receive input  Forms and form elements have unique names › Each unique element can be identified

Name: Phone:

General structure: document.formname.elementname.value Specifically: document.addressform.yourname.value

Personalising an alert box Enter your name:

 When there is too much to do, put it in a separate location  Two options › In the section › In a separate.js file

 A chunk of code that you can imbed in an existing environment  Differences › Resides: desktop or web › Embedding: any page or application or limited › Runs: your machine or server  Let’s add some to a web page

 Resources › ›  Let’s add some to a web page

 Send me an  Reference Reference  Danger: spam

 Customizable homepage of gadgets › Gadgets = widgets › Specific to iGoogle  If it has what you want…

 Visible aggregation: access to multiple web sites or functions  Collection of individual pieces  Tools exist but often “roll your own”

 Aggregation of information presented cohesively  Dynamic information  Should not be able to tell that it is a mashup! 