ITS331 Information Technology I Laboratory
|
|
- Marilynn Goodman
- 5 years ago
- Views:
Transcription
1 ITS331 Information Technology I Laboratory Laboratory #11 Javascript and JQuery Javascript Javascript is a scripting language implemented as a part of most major web browsers. It directly runs on the client's web browser and is useful for basic data processing before sending to a web server, as well as improving interactiveness of web application. Javascript uses Java-like syntax, but it is a dynamic and weakly typed scripting language. In this lab, we intend to provide a crash course on Javascript. We assume that you are familiar with C. What follow are a sequence of short Javascript code snippets which should demonstrate the basic constructs (i.e., if, for-loop, while, strings, arrays). Variables and Strings <!DOCTYPE html> <html> <body> <script type="text/javascript"> var samp_str = "To print <b>bold</b>"; document.write(samp_str + "<br>" ); var first = "First string"; var second = "Second string"; document.write(first + " combined with "+second + "<br>"); document.write("length of first: " + first.length + "<br>"); document.write("substring: "+first.substring(0,3)+ "<br>"); // Fir not Firs document.write("last character: "+first.charat(first.length-1)+"<br>"); var x = Number("13") + Number("3"); // convert strings to numbers document.write(x + "<br>"); // print 16 </body> </html>
2 Javascript can be directly embedded in HTML by surrounding the code with <script>.. tag. Variables are weakly (has automatic type conversion) and dynamically (same variable can be used to store different types) typed. In principle, it is not necessary to declare a variable before using it. However, it is a good practice to do so by using var varname. Printing a value out is done with document.write( value );. The semantic of this statement is pretty much the same is in echo of PHP. That is, the output turns into a usual HTML code. If an HTML tag is included in the value, it is rendered as if it is typed directly as an HTML code. Strings are defined with either double quotes or single quotes. Concatenating two strings is done with a + operator. Internally, strings in Javascript are objects. The length of a string can be obtained by accessing the length attribute. Many convenient methods are built-in in the String class. This includes substring(), and charat(). A string s can be parsed as a number with Number(s). If Statements var x = 43; if(x < 5){ document.write(x + " is < 5. <br>"); else if(x > 5){ document.write(x + " is > 5. <br>"); else{ document.write(x + " is 5. <br>"); If statements work in exactly the same way as in C language. The value 0 is treated as false, and everything else is treated as true. All logical operators (==,!=, <, <=, >, >=, &&,,! ) in C work as expected in Javascript. Arrays and For Loops var vehicles = ['car', 'truck', 'van']; //same as: var vehicles = new Array("car", "truck", 'van'); for(var i=0; i<vehicles.length; ++i){ document.write(i + ": " + vehicles[i] + "<br>");
3 // associative array (actually an object) var person = {"name": "John", "age": 21; person.major = "IT"; // same as person["major"] = "IT" for(k in person){ // k is the keys (properties) in the array document.write(k + ": " + person[k] + "<br>"); Arrays in Javascript, like String, are also objects. They are defined with new Array( elem1, elem2 );. One can also do the same thing with [ elem1, elem2 ] which does the same thing, and is more concise. The length of an array can be obtained by accessing it length property. By using this property, all elements in an array can be iterated by a simple for loop as shown above. Arrays can also be associative (have string indexes). For example, to define an array mapping name to John, and age to 21, one uses {"name": "John", "age": 21. All the keys (properties) of an associative array can be accessed with a for-each loop. The foreach loop in Javascript has the following form for( key in array ) { // where key binds to a key in the array in each iteration. While Loop var count = 1; while(count <= 10){ // print 1,2,..,5 document.write(count + "<br>"); count++; if(count >= 6){ break; While loops work the same way as in C. This includes the way break and continue works.
4 Defining Functions function add(one, two){ return one + two; document.write("1+3 = " + add(1, 3)+"<br>"); //1+3 = 4 Functions are defined much like in PHP. That is, there is no need to specify the return type when defining a function. Function definitions can float around or be in the middle of a running code. The functions will not be executed unless called (like add(1,3) above). Alternatively, function definitions may also be separated into another file. Including an External Script An external script allows one to group a number of related code snippets together. For example, we have another file called func.js having the following content. function multiply(n1, n2){ return n1*n2; This func.js file can be included into another HTML file by using <script language="javascript" src="func.js"> After the inclusion, all the functions defined in func.js can be called as if they are defined in the including file. jquery In practice, the real purpose of using Javascript is to manipulate DOM (Document Object Model) elements in the HTML page. For example, one can define what to do (e.g., change a CSS property, alert a message box) when a particular element (tag) in the page is clicked. Doing this is so common that people create a library specifically just for this purpose. It is called jquery. jquery can, not only manipulate the DOM as standard Javascript can, it also adds several visually pleasing effects like fading out, sliding, explding. In this lab, we directly jump to jquery without mentioning how DOM can be manipulated in standard Javascript. jquery is an open-source library written in Javascript to make it easier and more convenient to use Javascript in our web applications. jquery is used by various commercial websites.
5 Basic JQuery 1. Download jquery (production level) from Now, the latest version is Place the obtained Javascript in a folder (e.g. js subfolder) 3. Put <script> tag in an HTML file to load the jquery script. 4. Create another <script> tag, write your own Javascript code. The following example shows how to write Javascript/jQuery code to make the h1 text change when a user clicks on the button. <!DOCTYPE html> <html> <head> <script type="text/javascript" src="js/jquery min.js"> <script> $(function() { $('#mybutton').click(function () { var h = $('#title'); h.html("you've clicked!!!"); ); ); </head> <body> <h1 id="title">hello, jquery</h1> <button id="mybutton">click Me!</button> </body> </html> The example page initially shows a heading tag with "Hello, jquery", and a button. When the user clicks on the button, it changes the heading tag to "You've clicked!!!". 1. $(function() { ); works similar to the main function in C program. The statements inside the braces are executed when the web page is completely loaded. 2. $('#mybutton').click(function() { ); is a callback function definition. This function is called when the button with id "mybutton" is clicked by a user. Note that function() { is a syntax to define an anonymous function (function without a name). One may also define a function as usual and pass the function name to click(). 3. var h = $('#title'); is a variable definition statement that defines a variable h. This variable is set to point to the h1 tag with id "title". $('#title') is defined by jquery. It works similarly to the CSS selectors. 4. h.html("you've clicked!!!"); is a statement that sets the content of the h1 tag to "You've clicked!!!". jquery Selectors jquery defines selectors similarly to CSS selectors. They are used to access and modify the HTML elements. 1. ID selector $('#id') is used to access a particular element specified by id. For example, $('#title') returns the element with id "title".
6 2. Class selector $('.class') aims access a set of elements specified by class, for example, $('.myinput') returns a set of elements with class "myinput". 3. Element selector $('tag') aims to access a set of elements specified by tag, for example, $('h1') returns a set of elements with tag "h1". More selectors like in CSS also work in jquery. For example, the selector div.person p would select all <p> which are inside a <div class= person >. The following code shows how a CSS property can be modified when a link is clicked. In this example, when the link is clicked, all text color in all the paragraphs is changed to red. <!DOCTYPE html> <html> </html> <head> </head> <body> </body> <script type="text/javascript" src="js/jquery min.js"> <script> $(function() { ); Element Traversal $('#link').click(function () { ); <a href="#" id="link">click</a> <p>first paragraph</p> <p>second paragraph</p> <p>third paragraph</p> $('p').css("color", "red"); jquery provides a collection of functions to traversing the collection of elements in order to process the elements. Some examples of the traversing functions are shown below. 1..next() returns the next element of the matched element, for example, $('h1').next() returns the element located next to the elements with h1 tag. 2..prev() returns the previous element of the matched element, for example, $('h1').prev() returns the element located before the elements with h1 tag. 3..child() returns the child element of the matched element, for example, $('div#content').child() returns a set of child elements of the div element
7 with id "content". 4..parent() returns the parent element of the matched element, for example, $('h1').parent() returns the parent element of the element with h1 tag. Effects jquery provides some functions to access and modify the content of web page. 1..html([content]) accesses or modifies the HTML content of the matched elements. 2..append(content) inserts the content at the end of the matched elements. 3..show([duration]) displays the matched elements. Duration specifies the period that the animation will run. You may want to try fadein([duration]) as well. 4..hide([duration]) hides the matched elements. Also try.fadeout([duration]). 5..val([content]) accesses or modifies the values of the matched form input elements. 6..toggle([duration]) shows or hides the matched elements. See also.slidetoggle([duration]). 7..css( property, value ) changes a CSS property of the matched elements. 8..css({ prop1 : val1, prop2 : val2, ) changes multiple CSS properties of the matched elements. 9..addClass( classname ) adds a CSS class to the matched elements. 10..removeClass( classname ) removes a CSS class from the matched elements. 11..remove() removes the matched elements. Events Here are some examples of the events that can be handled by jquery. 1..click(handler) sets up a handler when the matched elements are clicked. 2..dblclick(handler) sets up a handler when the matched elements are double clicked. 3..change(handler) sets up a handler when the value of the matched elements are changed. This event occurs when the elements lose the focus. 4..focushandler) sets up a handler when the matched elements are focused. 5..blur(handler) sets up a handler when the matched elements lose the focus. 6..hover(handler) sets up a handler when the user puts the mouse pointer over the matched elements..mouseover(handler) also does the same thing. 7..mouseout(handler) sets up a handler when the mouse pointer moves out of the matched elements.
8 Example <html> </html> <head> </head> <body> </body> <style> </style> h1 { div#main { text-align: center; width: 800px; margin: 10px auto; border: 2px black solid; padding: 10px; <script type="text/javascript" src="js/jquery.min.js"> <script> $(function() { $('.content').hide(); $('h2').click(function() { $(this).next().slidetoggle("200ms"); ); ); <div id="main"> </div> <h1>its331 Information Technology I Laboratory</h1> <h2>lab 1</h2> <div class="content"> Lorem ipsum... </div> <h2>lab 2</h2> <div class="content"> Lorem ipsum... </div> <h2>lab 3</h2> <div class="content"> Lorem ipsum... </div>
9 Worksheet 1. Unarchive the worksheet file. Here, index.php is an input form for submitting personal information of a customer. 2. Create <script> tag, and write a Javascript/jQuery code that initially hides the input box for the other title. When the user selects "Other" title, then the script should display the input box for the other title. <script> $(function() { ); Exercises $('.other').hide(); $('#title').change(function() { ); var t = $('#title').val(); if (t==3) { else { $(this).next().show(); $(this).next().hide(); 1. Modify the script in the worksheet to make it work when the user chooses the "Other" province. 2. The given score.html is a form for collecting student ID, and quizzes. Write a Javascript/jQuery code that does the following tasks before submitting the form: 1. Check if the input student ID consists of exactly 10 digits (use change()). Get each character one by one with charat(i). Check whether each one is between '0' and '9'. 2. Check if the section number is between 1 and 3. Convert the input to an integer with parseint(value). Check whether the integer is between 1 and Check if each quiz score is not greater than 10 points, and it is not smaller than 0 points. 4. Calculate the total quiz score from the summation of the 3 best quizzes. You may store all integer values in an array arr. Sort it with arr.sort(). Then get the last three values. 5. The script should show the error message in the span tag next to the input box.
CSC 337. jquery Rick Mercer
CSC 337 jquery Rick Mercer What is jquery? jquery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
More informationBEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from
BEFORE CLASS If you haven t already installed the Firebug extension for Firefox, download it now from http://getfirebug.com. If you don t already have the Firebug extension for Firefox, Safari, or Google
More informationThis course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.
HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets
More informationTizen Web UI Technologies (Tizen Ver. 2.3)
Tizen Web UI Technologies (Tizen Ver. 2.3) Spring 2015 Soo Dong Kim, Ph.D. Professor, Department of Computer Science Software Engineering Laboratory Soongsil University Office 02-820-0909 Mobile 010-7392-2220
More informationPHP / MYSQL DURATION: 2 MONTHS
PHP / MYSQL HTML Introduction of Web Technology History of HTML HTML Editors HTML Doctypes HTML Heads and Basics HTML Comments HTML Formatting HTML Fonts, styles HTML links and images HTML Blocks and Layout
More informationUI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML
UI Course (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) HTML: Introduction The World Wide Web (WWW) and history of HTML Hypertext and Hypertext Markup Language Why HTML Prerequisites Objective
More informationWebsite Development Lecture 18: Working with JQuery ================================================================================== JQuery
JQuery What You Will Learn in This Lecture: What jquery is? How to use jquery to enhance your pages, including adding rich? Visual effects and animations. JavaScript is the de facto language for client-side
More informationFrontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević
Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are
More informationjquery Tutorial for Beginners: Nothing But the Goods
jquery Tutorial for Beginners: Nothing But the Goods Not too long ago I wrote an article for Six Revisions called Getting Started with jquery that covered some important things (concept-wise) that beginning
More informationCSC Web Programming. Introduction to JavaScript
CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its
More informationPHP & My SQL Duration-4-6 Months
PHP & My SQL Duration-4-6 Months Overview of the PHP & My SQL Introduction of different Web Technology Working with the web Client / Server Programs Server Communication Sessions Cookies Typed Languages
More informationgrabattention The jquery Plug-in
grabattention The jquery Plug-in for an elegant way to bring user attention About Plug-in Grab Attention plug-in is developed to bring to notice / grab attention / get notify user for lead generation form,
More informationHTML5, CSS3, JQUERY SYLLABUS
HTML5, CSS3, JQUERY SYLLABUS AAvhdvchdvchdvhdh HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments
More informationSections and Articles
Advanced PHP Framework Codeigniter Modules HTML Topics Introduction to HTML5 Laying out a Page with HTML5 Page Structure- New HTML5 Structural Tags- Page Simplification HTML5 - How We Got Here 1.The Problems
More informationWeb Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2
Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 2 Plan for the next 4 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style Introduction to JavaScript
More informationChapter 9 Introducing JQuery
Chapter 9 Introducing JQuery JQuery is a JavaScript library, designed to make writing JavaScript simpler and so it is useful for managing inputs and interactions with a page visitor, changing the way a
More informationPIC 40A. Midterm 1 Review
PIC 40A Midterm 1 Review XHTML and HTML5 Know the structure of an XHTML/HTML5 document (head, body) and what goes in each section. Understand meta tags and be able to give an example of a meta tags. Know
More informationWeb Designing Course
Web Designing Course Course Summary: HTML, CSS, JavaScript, jquery, Bootstrap, GIMP Tool Course Duration: Approx. 30 hrs. Pre-requisites: Familiarity with any of the coding languages like C/C++, Java etc.
More informationMobile Site Development
Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling
More informationTIME SCHEDULE MODULE TOPICS PERIODS. HTML Document Object Model (DOM) and javascript Object Notation (JSON)
COURSE TITLE : ADVANCED WEB DESIGN COURSE CODE : 5262 COURSE CATEGORY : A PERIODS/WEEK : 4 PERIODS/SEMESTER : 52 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 HTML Document Object Model (DOM) and javascript
More informationPHP,HTML5, CSS3, JQUERY SYLLABUS
PHP,HTML5, CSS3, JQUERY SYLLABUS AAvhdvchdvchdvhdh HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments
More informationProgrammazione Web a.a. 2017/2018 HTML5
Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text
More informationIntroduction to using HTML to design webpages
Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the
More informationLAST WEEK ON IO LAB. Install Firebug and Greasemonkey. Complete the online skills assessment. Join the mailing list.
LAST WEEK ON IO LAB If you haven t done these things already, please do them before we begin today s lecture Install Firebug and Greasemonkey. Complete the online skills assessment. Join the iolab@ischool
More informationHTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week
WEB DESIGNING HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments HTML - Lists HTML - Images HTML
More informationClient Side JavaScript and AJAX
Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is
More informationLecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes
Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand
More informationIntroduction to. Maurizio Tesconi May 13, 2015
Introduction to Maurizio Tesconi May 13, 2015 What is? Most popular, cross- browser JavaScript library Focusing on making client- side scripcng of HTML simpler Open- source, first released in 2006 Current
More informationAssignments (4) Assessment as per Schedule (2)
Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like
More informationINTRODUCTION TO JAVASCRIPT
INTRODUCTION TO JAVASCRIPT Overview This course is designed to accommodate website designers who have some experience in building web pages. Lessons familiarize students with the ins and outs of basic
More informationCE212 Web Application Programming Part 2
CE212 Web Application Programming Part 2 22/01/2018 CE212 Part 2 1 JavaScript Event-Handlers 1 JavaScript may be invoked to handle input events on HTML pages, e.g.
More informationWeb Engineering CSS. By Assistant Prof Malik M Ali
Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a
More informationCIS 228 (Spring, 2012) Final, 5/17/12
CIS 228 (Spring, 2012) Final, 5/17/12 Name (sign) Name (print) email I would prefer to fail than to receive a grade of or lower for this class. Question 1 2 3 4 5 6 7 8 9 A B C D E TOTAL Score CIS 228,
More informationWelcome Please sit on alternating rows. powered by lucid & no.dots.nl/student
Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS
More informationIntroduction to WEB PROGRAMMING
Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks
More informationCISC 1600 Lecture 2.4 Introduction to JavaScript
CISC 1600 Lecture 2.4 Introduction to JavaScript Topics: Javascript overview The DOM Variables and objects Selection and Repetition Functions A simple animation What is JavaScript? JavaScript is not Java
More informationJQuery WHY DIDN T WE LEARN THIS EARLIER??!
JQuery WHY DIDN T WE LEARN THIS EARLIER??! Next couple of weeks This week: Lecture: Security, jquery, Ajax Next Week: No lab (Easter) I may post a bonus (jquery) lab No quiz (yay!) Maybe a bonus one? Snuneymuxw
More informationCOMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017)
COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017) RAMANA ISUKAPALLI RAMANA@CS.COLUMBIA.EDU 1 LECTURE-1 Course overview See http://www.cs.columbia.edu/~ramana Overview of HTML Formatting, headings,
More informationCS7026. Introduction to jquery
CS7026 Introduction to jquery What is jquery? jquery is a cross-browser JavaScript Library. A JavaScript library is a library of pre-written JavaScript which allows for easier development of JavaScript-based
More informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading
More informationWeb Design & Dev. Combo. By Alabian Solutions Ltd , 2016
Web Design & Dev. Combo By Alabian Solutions Ltd 08034265103, info@alabiansolutions.com www.alabiansolutions.com 2016 HTML PART 1 Intro to the web The web Clients Servers Browsers Browser Usage Client/Server
More informationWeb Site Development with HTML/JavaScrip
Hands-On Web Site Development with HTML/JavaScrip Course Description This Hands-On Web programming course provides a thorough introduction to implementing a full-featured Web site on the Internet or corporate
More informationJavaScript Lecture 3c (jquery)
JavaScript Lecture 3c (jquery) Waterford Institute of Technology June 18, 2016 John Fitzgerald Waterford Institute of Technology, JavaScriptLecture 3c (jquery) 1/28 JavaScript Introduction Topic discussed
More informationWebinar. The Lighthouse Studio Scripting Series. JavaScript Sawtooth Software, Inc.
The Lighthouse Studio Scripting Series JavaScript 2 HTML 3 CSS 4 JavaScript 5 jquery (enhanced JavaScript) 6 Perl 7 HTML (Hyper Text Markup Language) 8 HTML 9 What is HTML? HTML is the language for creating
More informationVarargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript
PHP Curriculum Module: HTML5, CSS3 & JavaScript Introduction to the Web o Explain the evolution of HTML o Explain the page structure used by HTML o List the drawbacks in HTML 4 and XHTML o List the new
More informationSEEM4570 System Design and Implementation Lecture 04 jquery
SEEM4570 System Design and Implementation Lecture 04 jquery jquery! jquery is a JavaScript Framework.! It is lightweight.! jquery takes a lot of common tasks that requires many lines of JavaScript code
More information1. Cascading Style Sheet and JavaScript
1. Cascading Style Sheet and JavaScript Cascading Style Sheet or CSS allows you to specify styles for visual element of the website. Styles specify the appearance of particular page element on the screen.
More informationIAT 355 : Lab 01. Web Basics
IAT 355 : Lab 01 Web Basics Overview HTML CSS Javascript HTML & Graphics HTML - the language for the content of a webpage a Web Page put css rules here
More informationCS197WP. Intro to Web Programming. Nicolas Scarrci - February 13, 2017
CS197WP Intro to Web Programming Nicolas Scarrci - February 13, 2017 Additive Styles li { color: red; }.important { font-size: 2em; } first Item Second
More informationWeb Development & Design Foundations with HTML5
1 Web Development & Design Foundations with HTML5 CHAPTER 14 A BRIEF LOOK AT JAVASCRIPT Copyright Terry Felke-Morris 2 Learning Outcomes In this chapter, you will learn how to: Describe common uses of
More informationSession 17. jquery. jquery Reading & References
Session 17 jquery 1 Tutorials jquery Reading & References http://learn.jquery.com/about-jquery/how-jquery-works/ http://www.tutorialspoint.com/jquery/ http://www.referencedesigner.com/tutorials/jquery/jq_1.php
More informationMinistry of Higher Education and Scientific Research
Morning Study Department of information technology Institute of Technical - Duhok. University of Polytechnic Duhok. Subject: Web Technology Course book for 2nd year. Lecturer s name: MSc. Ayman Nashwan
More informationIndex. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148
Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,
More informationGuidelines for doing the short exercises
1 Short exercises for Murach s HTML5 and CSS Guidelines for doing the short exercises Do the exercise steps in sequence. That way, you will work from the most important tasks to the least important. Feel
More informationFrontend II: Javascript and DOM Programming. Wednesday, January 7, 15
6.148 Frontend II: Javascript and DOM Programming Let s talk about Javascript :) Why Javascript? Designed in ten days in December 1995! How are they similar? Javascript is to Java as hamster is to ham
More informationWELCOME TO JQUERY PROGRAMMING LANGUAGE ONLINE TUTORIAL
WELCOME TO JQUERY PROGRAMMING LANGUAGE ONLINE TUTORIAL 1 The above website template represents the HTML/CSS previous studio project we have been working on. Today s lesson will focus on JQUERY programming
More information(Simple) JavaScript Framework Homework
(Simple) JavaScript Framework Homework Overview: In this homework you will implement a picture gallery using object oriented JavaScript code in an external JavaScript file. This is a lab about learning
More informationWeb Development. With PHP. Web Development With PHP
Web Development With PHP Web Development With PHP We deliver all our courses as Corporate Training as well if you are a group interested in the course, this option may be more advantageous for you. 8983002500/8149046285
More informationDATABASE SYSTEMS. Introduction to web programming. Database Systems Course, 2016
DATABASE SYSTEMS Introduction to web programming Database Systems Course, 2016 AGENDA FOR TODAY Client side programming HTML CSS Javascript Server side programming: PHP Installing a local web-server Basic
More informationJavaScript Specialist v2.0 Exam 1D0-735
JavaScript Specialist v2.0 Exam 1D0-735 Domain 1: Essential JavaScript Principles and Practices 1.1: Identify characteristics of JavaScript and common programming practices. 1.1.1: List key JavaScript
More informationCPSC 481: CREATIVE INQUIRY TO WSBF
CPSC 481: CREATIVE INQUIRY TO WSBF J. Yates Monteith, Fall 2013 Schedule HTML and CSS PHP HTML Hypertext Markup Language Markup Language. Does not execute any computation. Marks up text. Decorates it.
More informationWhy Use A JavaScript Library?
Using JQuery 4 Why Use A JavaScript Library? Okay, first things first. Writing JavaScript applications from scratch can be difficult, time-consuming, frustrating, and a real pain in the, ahem, britches.
More informationCOMP519 Web Programming Lecture 16: JavaScript (Part 7) Handouts
COMP519 Web Programming Lecture 16: JavaScript (Part 7) Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of Liverpool
More informationfooter, header, nav, section. search. ! Better Accessibility.! Cleaner Code. ! Smarter Storage.! Better Interactions.
By Sruthi!!!! HTML5 was designed to replace both HTML 4, XHTML, and the HTML DOM Level 2. It was specially designed to deliver rich content without the need for additional plugins. The current version
More informationJavascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010
Lecture 14 Javascript Announcements Project #2 New website Exam#2 No. Class Date Subject and Handout(s) 17 11/4/10 Examination Review Practice Exam PDF 18 11/9/10 Search, Safety, Security Slides PDF UMass
More informationJAVASCRIPT BASICS. JavaScript String Functions. Here is the basic condition you have to follow. If you start a string with
JavaScript String Functions Description String constants can be specified by enclosing characters or strings within double quotes, e.g. "WikiTechy is the best site to learn JavaScript". A string constant
More informationProfessional Course in Web Designing & Development 5-6 Months
Professional Course in Web Designing & Development 5-6 Months BASIC HTML Basic HTML Tags Hyperlink Images Form Table CSS 2 Basic use of css Formatting the page with CSS Understanding DIV Make a simple
More information729G26 Interaction Programming. Lecture 4
729G26 Interaction Programming Lecture 4 Lecture overview jquery - write less, do more Capturing events using jquery Manipulating the DOM, attributes and content with jquery Animation with jquery Describing
More informationClient vs Server Scripting
Client vs Server Scripting PHP is a server side scripting method. Why might server side scripting not be a good idea? What is a solution? We could try having the user download scripts that run on their
More informationAs we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.
Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address
More informationEECS1012. Net-centric Introduction to Computing. Lecture 5: Yet more CSS (Float and Positioning)
EECS 1012 EECS1012 Net-centric Introduction to Computing Lecture 5: Yet more CSS (Float and Positioning) Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M.
More informationPerfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5
Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives
More informationNAVIGATION INSTRUCTIONS
CLASS :: 13 12.01 2014 NAVIGATION INSTRUCTIONS SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements CSS DROP-DOWN MENU
More informationProblem Description Earned Max 1 HTML / CSS Tracing 20 2 CSS 20 3 PHP 20 4 JS / Ajax / JSON 20 5 SQL 20 X Extra Credit 1 TOTAL Total Points 100
CSE 154, Autumn 2012 Final Exam, Thursday, December 13, 2012 Name: Quiz Section: Student ID #: TA: Rules: You have 110 minutes to complete this exam. You may receive a deduction if you keep working after
More informationSCRIPT.ACULO.US - DRAG & DROP
SCRIPT.ACULO.US - DRAG & DROP http://www.tutorialspoint.com/script.aculo.us/scriptaculous_drag_drop.htm Copyright tutorialspoint.com The most popular feature of Web 2.0 interface is the drag and drop facility.
More informationDreamweaver CS3 Lab 2
Dreamweaver CS3 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.
More informationHTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية
HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for
More informationIntroduction to HTML & CSS. Instructor: Beck Johnson Week 5
Introduction to HTML & CSS Instructor: Beck Johnson Week 5 SESSION OVERVIEW Review float, flex, media queries CSS positioning Fun CSS tricks Introduction to JavaScript Evaluations REVIEW! CSS Floats The
More informationCOMS 469: Interactive Media II
COMS 469: Interactive Media II Agenda Review Data Types & Variables Decisions, Loops, and Functions Review gunkelweb.com/coms469 Review Basic Terminology Computer Languages Interpreted vs. Compiled Client
More informationInterview Question & Answers
BASIC Interview Question & Answers OUR TRAINING YOUR CARRER QUESTIONS & ANSWERS OF HTML Ques: - What are the five possible values for position? Ans: - Values for position: static, relative, absolute, fixed,
More informationIntroduction to Web Development
Introduction to Web Development Lecture 1 CGS 3066 Fall 2016 September 8, 2016 Why learn Web Development? Why learn Web Development? Reach Today, we have around 12.5 billion web enabled devices. Visual
More information6. Accelerated Development with jquery Library and AJAX Technology
Web Engineering I BIT Pre-Semester Accelerated Development with jquery Library and AJAX Technology (Modal Question) Lessons for Mid-Exam 1. Web Administration skills in Analysis, Design, Develop and Deploy
More informationJavaScript: Introduction, Types
JavaScript: Introduction, Types Computer Science and Engineering College of Engineering The Ohio State University Lecture 19 History Developed by Netscape "LiveScript", then renamed "JavaScript" Nothing
More informationJQUERYUI - TOOLTIP. content This option represents content of a tooltip. By default its value is function returning the title attribute.
JQUERYUI - TOOLTIP http://www.tutorialspoint.com/jqueryui/jqueryui_tooltip.htm Copyright tutorialspoint.com Tooltip widget of jqueryui replaces the native tooltips. This widget adds new themes and allows
More informationCOMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS
COMM 2555: Interactive Digital Communication / Spring 2018 Lab 9: Basic layout techniques with CSS Goals Practice working with the CSS box model, positioning and layout Step 1. Create your infrastructure
More informationCERTIFICATE IN WEB PROGRAMMING
COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING
More informationWeb Designing HTML5 NOTES
Web Designing HTML5 NOTES HTML Introduction What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages
More informationWeb Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh
Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style
More informationwelcome to BOILERCAMP HOW TO WEB DEV
welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js
More informationChapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10
CONTENTS Chapter 1 Introduction to Dreamweaver CS3 1 About Dreamweaver CS3 Interface...4 Title Bar... 4 Menu Bar... 4 Insert Bar... 5 Document Toolbar... 5 Coding Toolbar... 6 Document Window... 7 Properties
More informationIntroduction. Part I: jquery API 1. Chapter 1: Introduction to jquery 3
Introduction xix Part I: jquery API 1 Chapter 1: Introduction to jquery 3 What Does jquery Do for Me? 4 Who Develops jquery? 5 Obtaining jquery 5 Installing jquery 5 Programming Conventions 8 XHTML and
More informationWebsite Design (Weekend) By Alabian Solutions Ltd , 2016
Website Design (Weekend) By Alabian Solutions Ltd 08034265103, info@alabiansolutions.com www.alabiansolutions.com 2016 TECHNOLOGIES DATE TIME Day1 Section 1 HTML Part 1 12am 5pm Intro to the web The web
More information,
Weekdays:- 1½ hrs / 3 days Fastrack:- 1½hrs / Day [Classroom and Online] ISO 9001:2015 CERTIFIED ADMEC Multimedia Institute www.admecindia.co.in 9911782350, 9811818122 The jquery Master Course by ADMEC
More informationfor Lukas Renggli ESUG 2009, Brest
for Lukas Renggli ESUG 2009, Brest John Resig, jquery.com Lightweight, fast and concise - Document traversing - Event Handling - AJAX Interaction - Animating High-level, themeable widgets on top of JQuery.
More informationCSS for Page Layout Robert K. Moniot 1
CSS for Page Layout 2015 Robert K. Moniot 1 OBJECTIVES In this unit, you will learn: How to use style sheets for layout Controlling text flow, margins, borders, and padding Controlling visibility of elements
More informationThe course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.
Web Development WEB101: Web Development Fundamentals using HTML, CSS and JavaScript $2,495.00 5 Days Replay Class Recordings included with this course Upcoming Dates Course Description This 5-day instructor-led
More informationJAVASCRIPT AND JQUERY: AN INTRODUCTION (WEB PROGRAMMING, X452.1)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 8 Professional Program: Data Administration and Management JAVASCRIPT AND JQUERY: AN INTRODUCTION (WEB PROGRAMMING, X452.1) AGENDA
More informationT his article is downloaded from
Fading Elements with JQuery The fade effect is when an element fades out by becoming increasingly transparent over time until it disappears or fades in by becoming decreasingly opaque over time until it
More informationComp 426 Midterm Fall 2013
Comp 426 Midterm Fall 2013 I have not given nor received any unauthorized assistance in the course of completing this examination. Name: PID: This is a closed book exam. This page left intentionally blank.
More informationData Visualization (CIS 468)
Data Visualization (CIS 468) Web Programming Dr. David Koop Languages of the Web HTML CSS SVG JavaScript - Versions of Javascript: ES6/ES2015, ES2017 - Specific frameworks: react, jquery, bootstrap, D3
More information