Course work. Layout of the Main Window Achieved by nesting frames as shown below: Frames Welcome page should be home page.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Working with Forms. how are forms manipulated? the document object contains an array of forms objects, one for each form, in document order –forms[] any.
Tables Tables provide a means of organising the layout of data
Local Variables and Scope Benjamin Fein. Variable Scope A variable’s scope consists of all code blocks in which it is visible. A variable is considered.
The Web Warrior Guide to Web Design Technologies
UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
HTML and XHTML Controlling the Display Of Web Content.
1 Outline 13.1Introduction 13.2A Simple Program: Printing a Line of Text in a Web Page 13.3Another JavaScript Program: Adding Integers 13.4Memory Concepts.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
B118 Web Programming Session #3 Introduction to XHTML February 16, 2004.
Computing Concepts Advanced HTML: Tables and Forms.
Images. Tables. Frames. Forms. DMFD F2007 IT University of Copenhagen
Python and Web Programming
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
Creating Web Page Forms
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Introduction to scripting
Introduction to JavaScript Form Verification - Fort Collins, CO Copyright © XTR Systems, LLC Verifying Submitted Form Data with JavaScript Instructor:
Link and Table in HTML. Statistics HTML review The two faces of a HTML file In a notepad program. In a internet browser program. The function of HTML.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
MS3304: Week 4 PHP & HTML Forms. Overview HTML Forms elements refresher Sending data to a script via an HTML form –The post vs. get methods –Name value.
Advance Database Management Systems Lab no. 5 PHP Web Pages.
Application Development Description and exemplification of server-side scripting language for server connection, database selection, execution of SQL queries.
(c) Manzur Ashraf, Short course, KFUPM PHP & MySQL 1 Basic PHP Class 2.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Project Four Forms Discuss form processing Describe the difference between client-side and server-side form processing Add a horizontal rule to a Web page.
Web Technologies Website Development Trade & Industrial Education
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
The Project – Spreadsheet Design. The following is the high mark band for the spreadsheet design: The candidate has Analysed a given data set and designed.
CIS 451: HTML Frames Adapted from materials developed by Dr. Soe (updated January, 2009)
CSCI 6962: Server-side Design and Programming Support Classes and Shopping Carts.
© 2000 – All Rights Reserved - Page 1 Introduction to JavaScript Programming Part Two.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Chapter 5: XHTML, Part 2 CIS 275—Web Application Development for Business I.
PHP meets MySQL.
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
Introduction to JavaScript 41 Introduction to Programming the WWW I CMSC Winter 2004 Lecture 17.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Chapter 3: XHTML CIS 275—Web Application Development for Business I.
Introduction to HTML Part 3 Chapter 2. Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms.
Learning HTML Presented By: Wayne Helle What Is HTML? Learning Basic Tags... Formating Your Text... Working With Images and Links... Simple Form Boxes..
1 HTML Frames
XHTML1-1 Extensible HyperText Markup Language (XHTML) Part 2 Xingquan (Hill) Zhu
Chapter 5: Windows and Frames
Table Row Table Data ( Header & Data) Data Cell Padding TABLE.
CHAPTER 7 Form & PHP. Introduction All of the following examples in this section will require two web pages. The first page retrieves information posted.
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
CMA Workshop Image Links and Text Links on the Same Line in a Component.
1 Building FORMS In When a visitor enters information into a web form displayed in a web browser and clicks the submit button, the information is sent.
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
Session 8: Working with Form iNET Academy Open Source Web Development.
CSCI 6962: Server-side Design and Programming JSF DataTables and Shopping Carts.
Online Catalog Tutorial. Introduction Welcome to the Online Catalog Tutorial. This is the place to find answers to all of your online shopping questions.
January 2006Colby College ITS Setting Up Course Pages.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
Lesson 16. Practical Application 1 We can take advantage of JavaScript and the DOM, to set up a form so that the first text box of a form automatically.
Chapter 9 Quick Links Slide 2 Performance Objectives Understanding Forms Planning Forms Creating Forms Creating Text Fields Creating Hidden Fields Creating.
Web Programming Introduction to Web Technology HTML & Dynamic web content.
PS-1 project Designing an E-commerce page for HMT BEARINGS LTD and SEO of the website.
CSD 340 (Blum)1 Introducing Text Input elements and Ifs.
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
INTERNET APPLICATIONS CPIT405 Forms, Internal links, meta tags, search engine friendly websites.
Client-side (JavaScript) Validation. Associating a function with a click event – Part 1 Use the input tag’s onclick attribute to associate a function.
Coldpruf Online Order Form
“Under the hood”: Angry Birds Maze
WEB PROGRAMMING JavaScript.
Coldpruf Online Order Form
Presentation transcript:

Course work

Layout of the Main Window Achieved by nesting frames as shown below: Frames Welcome page should be home page.

Book Catalogue Format in a table. Table columns should be Book Title, Author and Price. Book titles should be links to individual book pages. Individual pages would contain the information given on each book, including description. Individual pages should contain a link back to the main catalogue page. Individual pages should open in the main frame. This should done by setting the target of the links to the main frame. E.g. Beginning Java 2: SDK 1.4 Edition

Shopping Basket Also to be organized in tabular format, with columns for Book title, Price, Checkbox for selection, Quantity required (3rd year). You would need to pass in information from this page to the dynamically generated Invoice page. Hence, nest the table cells with form textboxes to facilitate this: Title Price Select Quantity

This would enable you to access the values of the different elements. Generating the Invoice page This needs to be dynamically created with the document.open( ) method, that would be invoked by a suitably labelled submit button on the previous page. Subsequently use the document.write( ) and document.writeln( ) methods to generate the content.

It may be more convenient to create the code for the Invoice page, and then work backwards to use the document.write( ) method to create desired tags. You can access content of the shopping basket using the object model of the page, e.g. to access the price of the Java SDK book, you would declare a variable, and assign it to document.f1.Price1.value. Submitting the Invoice Form The form should be submitted using either method, PHP, or CGI script.

Form Validation There are 2 ways: Either using an array method, in which you create an array of all the textboxes, and validate their content. or Validate the textboxes individually. You can use an if statement to carry this out. E.g. var a=document.f2.student_number.value; var b=document.f2.first_name.value; if ( a= = || b= = ){ alert(You have left a required field blank); elsif ( length(c) >7){ alert(The postcode can not be longer than 7 characters);