Select tags CSD 340 (Blum).

Slides:



Advertisements
Similar presentations
The essentials managers need to know about Excel
Advertisements

DREAMWEAVER Welcome to our website!
Teacher Functions. Teacher Functions in OAS Create Tests Assign Tests to a Class View Reports of Student Performance.
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Web ADI - Srinivas.M. Purpose Data upload into Oracle Applications Solution: Web ADI brings Oracle E-Business Suite functionality to a spreadsheet, where.
CSD 340 (Blum)1 Using Microsoft Visual Studio.NET Development Environment and Introducing Functions.
Computing Concepts Advanced HTML: Tables and Forms.
Introduction to Visual Basic Chulantha Kulasekere.
JavaScript “Hello World” in Microsoft Visual Studio August 2012.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
How to Make a Pie Chart to show Religious and Ethnic Breakdown of a Country.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Google Training By: Amy Shannon and Dave Auwerda.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
Facebook Custom Audiences On Steroids. First Step You MUST be using Chrome to do this No this will not work with any other browsers If you do not have.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Creating a Web Site to Gather Data and Conduct Research.
 Definition  Components  Advantages  Limitations Contents  Meaning of Editing Meaning of Editing  Editing Cell Contents Editing Cell Contents 
CREATING A TEST IN WORD 2007 Also creating and using equations in Word 2007 Jeff Klamm Tec 539.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
Getting Started with Google Forms Sign-in Sheet and Feedback Link
USING XML AS A DATA SOURCE. Data binding is a process by which information in a data source is stored as an object in computer memory. In this presentation,
HTML FORMS GET/POST METHODS. HTML FORMS HTML Forms HTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes,
PHP Form Introduction Getting User Information Text Input.
CSD 340 (Blum)1 Using Visual Studio CSD 340 (Blum)2 Start/Microsoft Visual Studio 2005/Microsoft Visual Studio 2005.
Using an HTML image (img) element’s onclick event to change the source (src) of an iframe to an embedded youtube video.
CSD 340 (Blum)1 Starting JavaScript Homage to the Homage to the Square.
CSC 157 (Blum)1 Hello World. CSC 157 (Blum)2 Start/Programs/Microsoft Visual Studio.NET 2003/Microsoft Visual Studio.NET 2003.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/Programs/Microsoft Office/Microsoft Office.
SYST Web Technologies SYST Web Technologies XHTML Forms.
CSD 340 (Blum)1 Starting JavaScript Homage to the Homage to the Square.
Online Surveys Jacqui James Malcolm Roberts School of Education.
Radio Buttons. Input/Form/Radio Group Use the dialog to enter label and values for the radio buttons.
Click the CCDT link on the EDUCE 104 homepage Accessing the Collaborative Curriculum Design Tool.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Making a webpage using DreamWeaver CSC 152 (Blum)1.
JavaScript Events Java 4 Understanding Events Events add interactivity between the web page and the user You can think of an event as a trigger that.
CSD 340 (Blum)1 Introducing Text Input elements and Ifs.
Make an HTML table using Visual Studio. Approach 1: drag table from Toolbox.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
JavaScript Events. Understanding Events Events add interactivity between the web page and the user Events add interactivity between the web page and the.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
Client-side (JavaScript) Validation. Associating a function with a click event – Part 1 Use the input tag’s onclick attribute to associate a function.
Dreamweaver – Setting up a Site and Page Layouts
Creating Data Base & Sql Data Source
A little PHP.
Dreamweaver MX Lesson 14: Using Find and Replace.
IBM Rational Rhapsody Advanced Systems Training v7.5
Making a JSON file.
Lexical Reference Variables in Graphics and List Box in Forms
Chapter 8: Writing Graphical User Interfaces
ASP.NET Web Controls.
JavaScript “Hello World” in Microsoft Visual Studio 2012
Muybridge Lab CSD 340 (Blum).
Dreamweaver – Setting up a Site and Page Layouts
Introduction to Access 2003
JavaScript Functions B. Ramamurthy 11/22/2018.
Simple Windows Applications
Creating Data Base & Sql Data Source
TPC-Global PARTcommunity
Training & Development
Lesson 1 - Automating Tasks
Classes.
To insert a hyperlink ( a web page address, URL) using text
Writing to the Page Formatting Forms
One of these things is not like the other
One of these things is not like the other
One of these things is not like the other
Digital Story Telling with Frames
Presentation transcript:

Select tags CSD 340 (Blum)

Design of a page that have the user guess the author of a quote (QuoteQuizDesign.htm). CSD 340 (Blum)

Place the cursor in the cell after the first quote and double click the Select item from the Toolbox. CSD 340 (Blum)

Right click on the select element and choose Properties. CSD 340 (Blum)

Fill in the Text and Value boxes and then click Insert. CSD 340 (Blum)

When finished adding entries to the drop-down list, click OK. CSD 340 (Blum)

In the select code generated, change the id attribute to something meaningful. CSD 340 (Blum)

Result so far in browser. CSD 340 (Blum)

Change selected=“selected” to the blank option CSD 340 (Blum)

Now the drop-down list starts out blank. CSD 340 (Blum)

Copy drop-down lists into other rows. CSD 340 (Blum)

Change the ids of the copied drop-down lists. CSD 340 (Blum)

Result in browser. CSD 340 (Blum)

Add a button to the last column of the first row. Change id and value. CSD 340 (Blum)

Copy the button and paste it in the rest of the rows. CSD 340 (Blum)

Change the id – in the Properties Window or in Source view. CSD 340 (Blum)

Double click first button. CSD 340 (Blum)

Add an argument/parameter to the function. I added this 1 to refer to the question number. Instead of sending an id, I will construct the id from the number. CSD 340 (Blum)

Add corresponding parameter to function. CSD 340 (Blum)

Result of clicking first button. CSD 340 (Blum)

Concatenated id Note how in the argument of the getElementById method, we get a specific id for a drop-down list by concatenating “selQuote” and the number sent when the function was called. CSD 340 (Blum)

Result of clicking first button – gives the value “MT” assigned to the Mark Twain option. CSD 340 (Blum)

Add disabling code for both the button and the drop-down list (select element). CSD 340 (Blum)

Result of disabling code. CSD 340 (Blum)

Add a second argument/parameter to the function call. CSD 340 (Blum)

Add a second parameter to the function definition. CSD 340 (Blum)

Declare variable for user’s selection/answer Declare variable for user’s selection/answer. Use if to compare answer to user’s answer. If user’s answer and the answer are NOT equal, then change value of button to “No” CSD 340 (Blum)

Result of wrong answer. CSD 340 (Blum)

Result of right answer. CSD 340 (Blum)

Add another if to make sure user has answered question. CSD 340 (Blum)

Code now forces user to make a choice CSD 340 (Blum)

Copy the “onclick calling” of the function CSD 340 (Blum)

Paste it into the 2nd button tag, change the arguments. CSD 340 (Blum)

Finish the quiz; the answers are: OW BF MT CSD 340 (Blum)

User completed quiz. CSD 340 (Blum)

References www.quoteland.com CSD 340 (Blum)