Lecture Bells and Whistles.

Slides:



Advertisements
Similar presentations
1 A Test Automation Tool For Java Applets Testing of Web Applications TATJA Program Demonstration Conclusions By Matthew Xuereb.
Advertisements

Java Script Session1 INTRODUCTION.
JQUERY/AJAX ALIREZA KHATAMIAN DELARAM YAZDANSEPAS.
The Web Warrior Guide to Web Design Technologies
Server-Side vs. Client-Side Scripting Languages
Lecture Bells and Whistles. Ways to Enhance Websites Java Script and Java Sound and Video Flash XML (Extended Markup Language Database Connectivity Ecommerce.
Web Page Behavior IS 373—Web Standards Todd Will.
2012 •••••••••••••••••••••••••••••••••• Summer WorkShop Mostafa Badr
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
 What I hate about you things people often do that hurt their Web site’s chances with search engines.
Web Programming Material From Greenlaw/Hepp, In-line/On-line: Fundamentals of the Internet and the World Wide Web 1 Introduction The JavaScript Programming.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
 In My.Wartburg you can add…  YouTube Videos  Films on Demand (Vogel Lib.)  Internet Pages With a Video  Anything with a URL (
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Chapter 19: Adding JavaScript
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
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.
What is Java Script? An extension to HTML. An extension to HTML. Allows authors to incorporate some functionality in their web pages. (without using CGI.
Creating webpages in Google Sites. 1- Create a Gmail account.
Scripts Chapter Scripts Small programs used to add interactivity to your web pages The backbone of Dynamic HTML (DHTML) Most scripts are written.
JavaScript - A Web Script Language Fred Durao
Web Development & Design Foundations with XHTML Chapter 11 Key Concepts.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
CIS 3.5 Lecture 2.3 "Introduction to JavaScript".
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
Adding Interactivity Comp 140 Fall Web 2.0 Major change in internet usage –From mostly static pages Text Graphics Simple links –To new paradigm.
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.
COM621: Advanced Interactive Web Development Lecture 6 – JavaScript (cont.)
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
Section 10.1 Define scripting
Advanced HTML Tags:.
JQuery Fundamentals Introduction Tutorial Videos
Scripting - Client-side vs. Server-side Scripting
Tonga Institute of Higher Education IT 141: Information Systems
Objective % Select and utilize tools to design and develop websites.
CIS 388 Internet Programming
JavaScript is a programming language designed for Web pages.
Microsoft® Office FrontPage® 2003 Training
Intro to JavaScript CS 1150 Spring 2017.
Learn HTML Basics Lesson No : 10
Section 17.1 Section 17.2 Add an audio file using HTML
AJAX.
Introduction to JavaScript
Objective % Select and utilize tools to design and develop websites.
Section 10.1 YOU WILL LEARN TO… Define scripting
Dynamic Web Pages (Flash, JavaScript)
Adding Music to Your Google Slides Presentation
Client-Side Internet and Web Programming
Chapter 27 WWW and HTTP.
Tonga Institute of Higher Education IT 141: Information Systems
Basic HTML and Embed Codes
Introduction to JavaScript
Secure Web Programming
Tonga Institute of Higher Education IT 141: Information Systems
JavaScript Basics What is JavaScript?
JavaScript is a scripting language designed for Web pages by Netscape.
Introduction to JavaScript
Web Programming and Design
Presentation transcript:

Lecture Bells and Whistles

Ways to Enhance Websites Java Script and Java Sound and Video Flash XML (Extended Markup Language Database Connectivity Ecommerce Ajax – (asynchronous JavaScript and XML),

What is Java Script? Text-based Programming Language Used to Enhance Websites Interactivity Animation Dynamic Content Games Calculations All “code” is run by the browser

What is Java? Java is also a language (OOP - Object Oriented Programming Language) Used to create “applets” Little programs that sit on a web server Called by the webpage Code cannot be “stolen” – It’s compiled HTML only references the applet

Java vs Java Script Java Java Script Called by HTML from the server Hidden Code Quicker Execution Java Script Stored in HTML (inline or internal) Viewable Code Slower Execution

Java vs Java Script Java Script Java Programs Java Script Java Script

Java Script Syntax Internal Script: Tells the browser we are starting some JavaScript code to run. Internal Script: <script language="JavaScript"> <!-- alert("Hello World!"); //--> </script> Programming steps to actually execute. Finishes the block of code.

Java Script Syntax Inline Script: <a href="index.html" onMouseOver="document.logo.src='Images/halloween.png'“ onMouseOut="document.logo.src='Images/logo.jpg'"> <img src="Images/logo.jpg" name="logo" border=0 alt="A Splash Of Sugar"> Event Trigger Action to Take Parameter

Java Script Syntax (cont)

Java Script Examples Alert Message Functions and Buttons Mouse-Over Image Swap Today’s Date

Example 1 – Alert Message <script language="Javascript"> <!-- alert ("This is the easiest script") //--> </script>

Example 2 – Functions & Buttons

Example 3 – Mouse Over <a href="index.html" onMouseOver="document.logo.src='Images/sponge_bob.png'" onMouseOut="document.logo.src='Images/logo.jpg'"> <img src="Images/logo.jpg" name="logo" border=0 alt=“Logo">

Example 4 – Today’s Date

More Java Scripts Dynamic Drive www.dynamicdrive.com

Adding Sound As a Link: Automatically Loading: <a href="moo.wav“>Click here for the cow</a> Automatically Loading: <embed src=“moo.wav”> Variables: hidden=“true” to hide player loop=“1” or “-1” how many times does it play?

Finding sound files Google Find song and YouTube and convert to .mp3 file Click Share Copy URL Go to: www.youtube-mp3.org Then……….

YouTube to.mp3 Paste link into YouTube to .mp3 Click: Convert Video Then Download to web-docs Save according to file-naming conventions: short, no spaces!

Adding Video Google YouTube Click Embed Copy and paste the <iframe> tag where you want the video