Dawn Pedersen. What is JavaScript? JavaScript is the basis for both jQuery and Spry applications JavaScript is referred to as a client-side scripting.

Slides:



Advertisements
Similar presentations
Chapter 08: Adding Adding Interactivity Interactivity With With Behaviors Behaviors By Bill Bennett Associate Professor MSJC CIS MVC.
Advertisements

1 Web Site Design Overview of the Internet Cookie Setton.
Introduction to HTML & CSS
Dawn Pedersen Art Institute. What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
1 Chapter 12 Working With Access 2000 on the Internet.
HTML Markup language - controls appearance and content of a document Javascripts Various HTML tags.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Inline, Internal, and External FIle
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
JQuery CS 268. What is jQuery? From their web site:
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
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.
UNIT 8 DRAWING WITH THE HTML5 CANVAS ELEMENTS AND FORMS.
Web Technologies Website Development Trade & Industrial Education
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Website Development with Dreamweaver
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
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.
Processing.js.
Lecture # 6 Forms, Widgets and Event Handling. Today Questions: From notes/reading/life? Share Personal Web Page (if not too personal) 1.Introduce: How.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
Animation & Effects Using JQuery. What is jQuery? jQuery is a lightweight, JavaScript library. The purpose of jQuery is to make it much easier to use.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
HTML JAVASCRIPT. CONTENTS Javascript Example NOSCRIPT Tag Advantages Summary Exercise.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
SHAREPOINT & JQUERY. Hi, my name and I am a product manager at lightning tools. I have been working with SharePoint for 5 years.
1111 Master Pages Beginning ASP.NET in C# and VB Chapter 6.
Learning Aim C.  In this section we will look at some simple client-side scripts, browser compatibility, exporting and compressing and suitable file.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Spry. Adobe Dreamweaver CS3 and Spry Adobe Dreamweaver CS3 allows the user to include additional functionality provided by the Spry JavaScript library.
LECTURE #4: JQUERY AND FORM VALIDATION Josh Kaine Josh Kaine 4/1/2016.
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
Basics Components of Web Design & Development Basics, Components, Design and Development.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
 A Javascript library designed to simplify client-side scripting of HTML.
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
SharePoint & jQuery. About me Phill Duffy – Product Manager at Lightning Tools Ltd – Author of ‘Pro SharePoint with jQuery’ – MCTS Application Developer.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
Week-12 (Lecture-1) Cascading Style Sheets (CSS): describe how documents are presented on screens. Types of Style Sheets: External Style Sheet - Define.
DHTML.
Objective % Select and utilize tools to design and develop websites.
Using JavaScript to Show an Alert
Section 17.1 Section 17.2 Add an audio file using HTML
Objective % Select and utilize tools to design and develop websites.
Dynamic Web Pages JavaScript Jill Thomas Oct 14, 2003.
JQuery with ASP.NET.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
How to add a photo gallery in html/css
Presentation transcript:

Dawn Pedersen

What is JavaScript? JavaScript is the basis for both jQuery and Spry applications JavaScript is referred to as a client-side scripting language It does not need to be parsed by the server like PHP and ASP do (these are server-side scripts) It is interpreted and rendered by the browser (the client) after the page is loaded JavaScript is not the same as Java, which is a server- side programming language.

JavaScript Caveats Because it is run on the client end, it is subject to all the quirks of various browsers (just like CSS) JavaScript should not be used for mission-critical functionality, because the user can turn it off JavaScript should degrade elegantly (if users turn it off, the page will still work)

JavaScript Script Locations Like CSS, JavaScript can be placed inline with content on the page in the head of the page (internal) in an external file ending with.js Like CSS, external files are preferred to keep our markup clean to have access to the script from any page

What is jQuery? jQuery is a method of using a JavaScript library which is already scripted for you. jQuery scripts can do all kinds of fancy things on your site. You simply: download the library you want put files in the right places add links to the scripts in your markup make a few changes to your existing markup

Lightbox Intro Lightbox is a set of JavaScript scripts—a jQuery plugin—that will allow you to have images (or other content) open with an animation in an overlay window. It provides a nice interface for viewing images.

Lightbox Exercise Download and extract the Lightbox.zip file from the Lightbox2 website: I will provide some directions on the next slides, but you can also get them from the website.

Lightbox Exercise 1. Start by downloading our starter gallery: Extract this file to your Desktop. 3. Create a new folder in this site called “js”. 4. Grab a few files from the extracted Lightbox folder: Move the 3.js files into your gallery’s “js” folder. Move the lightbox.css file into your gallery’s “css” folder. Move the image files into your gallery’s “images” folder. We’re done with the Lightbox folder. Future steps will refer to your gallery site folder only.

Lightbox Exercise 5. In index.html, add links to the three.js files within your element: 6. Add the link to the CSS file in the element: Be sure the paths are correct to those files. 5. If you have another CSS file to load be sure it comes after the lightbox.css file, so that any CSS you have written will override the styles for Lightbox.

Lightbox Exercise 8. To enable the Lightbox, add some markup to the tags on index.html: Add the rel= " lightbox " attribute. Putting [group name] will put the photos in a group so that you can click next or previous to scroll through them. Adding a title= " caption name " attribute will display a caption below the picture. That’s it. Assuming your links to the support files are correct, it should work. Test it!

More on jQuery If Lightbox or other jQuery plugins are not working, it can often be attributed to a conflict with other JavaScript being run on the page. There are a number of other scripts available that do much the same as Lightbox, built with different libraries, or with slightly different functionality. A whole catalog of jQuery plugins can be downloaded from Take a few minutes and check some of the demos out.

What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of the whole page itself—when a particular event occurs.