In addition JavaScript can be used to create images, which change automatically, or to make animated banners similar to animated GIFs.
|
|
- Sabina Skinner
- 6 years ago
- Views:
Transcription
1 JavaScript and Images... 1 Creating Rollovers... 1 Creating Effective Rollovers... 2 Triggering Rollovers from a Link... 4 Multiple Images Changing a Single Rollover... 5 Working with Multiple Rollovers... 8 Multiple Images with a Single Rollover Using a Function Multiple Rollovers Using a Function Creating Cycling Banners Adding Links to Cycling Banners Building Slide Shows Displaying a Random Image Automatically Changing Background Colours... 20
2 JavaScript and Images During the last session, we got familiar with the basic JavaScript concepts. Perhaps, one of the best uses of JavaScript is to add animated graphics to your pages in the form of rollovers (or rollover images). Rollovers are images on Web pages, which change when the user performs an action, usually moving the mouse over an image. In addition JavaScript can be used to create images, which change automatically, or to make animated banners similar to animated GIFs. Creating Rollovers When creating a rollover, we have to use two separate images, an original image, which is loaded when the page is loaded by the user, and a replacement image, which is displayed instead of the first one, to give the illusion of movement or animation. In order to create a rollover: 1. Type <A HREF="link.html" where link.html is the address to which the image would be linked to 2. Type onmouseover = "document.arrow.src = 'repimage.gif ' " where repimage.gif is the name of the replacement image. 3. Type onmouseout = "document.arrow.src = 'orgimage.gif ' "> where orgimage.gif is the name of the original image. 4. Type <IMG SRC="orgimage.gif " NAME="arrow"></A> where arrow is just the name given for the rollover image (this could be any name). The NAME attribute has to be present in the IMG tag for the rollover to work. In addition the onmouseout and onmouseover event handlers have to be placed in the A tag and not IMG tag. 1
3 Example <TITLE>Creating Rollovers</TITLE> <BODY BGCOLOR=white> <A HREF="page2.html" onmouseover="document.myimage.src='rightdarkblue.gif ' " onmouseout="document.myimage.src='right.gif ' "> <IMG SRC="right.gif" NAME=myimage BORDER=0></A> This is how the image looks like before it is being pointed at with the mouse and after it has been pointed at with the mouse. Rollovers have their disadvantages as well; they are not supported by some of the older browsers such as Netscape 2.0 and Internet Explorer 3.0; also as the second image has to be downloaded in order to be displayed there may be a slight delay before the second image replaces the first one. Creating Effective Rollovers In order to ensure that the replacement image appears immediately, without any delay, we ca use JavaScript to preload all the images into the browser s cache (so that they are on the user s hard-disk) and place the images into script variables. 2
4 When the user moves the mouse over an image, the script swaps one variable containing the replacement the original image for another one containing the replacement image. Example <TITLE>Creating Effective Rollovers</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimagegreen = new Image myimageblue = new Image else myimagegreen.src = "right.gif" myimageblue.src = "rightdarkblue.gif" myimagegreen = "" myimageblue = "" document.myimage = "" // End hiding script from old browsers --> <BODY BGCOLOR=white> <A HREF="page2.html" onmouseover="document.myimage.src=myimageblue.src" onmouseout="document.myimage.src=myimagegreen.src"> <IMG SRC="right.gif" NAME=myimage BORDER=0></A> The above script first of all checks whether the browser understands image objects, and if so assigns the two variables myimagegreen and myimageblue to two separate image objects. The.src property is then used to fill the two objects with two GIF images. 3
5 The second part of the script deals with the problem of the older browsers by creating dummy variables, which are empty and are used to keep from getting error messages in old browsers. If you use transparent images as your replacement rollover image then they will show the image that they are replacing underneath. In addition both the original and replacement images should be of identical dimensions, otherwise the browser may resize the image, thus giving a distorted result. Triggering Rollovers from a Link In addition to creating rollovers by moving the mouse over an image, you can make a rollover occur when the user points at a text link. In order to achieve that all you need to do is to put a text link within the <A HREF tag. Example <TITLE>Triggering Rollovers from a Link</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimagegreen = new Image myimageblue = new Image myimagegreen.src = "right.gif" myimageblue.src = "rightdarkblue.gif" else myimagegreen = "" myimageblue = "" document.myimage = "" // End hiding script from old browsers --> <BODY BGCOLOR=white> <A HREF="page2.html" onmouseover="document.myimage.src=myimageblue.src" onmouseout="document.myimage.src=myimagegreen.src"> <H3>Next</H3></A><BR> <IMG SRC="right.gif" NAME=myimage BORDER=0> 4
6 This is how the image looks like before it is being pointed at with the mouse and after it has been pointed at with the mouse. Multiple Images Changing a Single Rollover It is possible to set up several different images to trigger a rollover. Example <TITLE>Multiple Images Changing a Rollover</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimage = new Image myimage1 = new Image myimage2 = new Image myimage3 = new Image else myimage1.src = "links.jpg" myimage2.src = "tables.jpg" myimage3.src = "images.jpg" myimage.src = "invisible.gif" 5
7 myimage1 = "" myimage2 = "" myimage3 = "" myimage = "" document.textfield = "" // End hiding script from old browsers --> <BODY BGCOLOR=lime> <A HREF="page1.html" onmouseover="document.textfield.src=myimage1.src" onmouseout="document.textfield.src=myimage.src"> <IMG SRC="right.gif" BORDER=0></A> <A HREF="page2.html" onmouseover="document.textfield.src=myimage2.src" onmouseout="document.textfield.src=myimage.src"> <IMG SRC="right.gif" BORDER=0></A> <A HREF="page3.html" onmouseover="document.textfield.src=myimage3.src" onmouseout="document.textfield.src=myimage.src"> <IMG SRC="right.gif" BORDER=0></A> <IMG SRC="invisible.gif" NAME="textField"> This is how the example above looks like: 6
8 When the user points with the mouse at the first icon, the following image appears below: When the user points with the mouse at the second icon, the following image appears below: When the user points with the mouse at the third and final icon, the following image appears below: 7
9 The key to the successful implementation of the above example is to use the last image (the one which would change) with the name textfield. In addition all the three of the anchor tags should reference the same document object (document.textfield.src). Working with Multiple Rollovers If you want to make the image that triggers a rollover to be a rollover itself, you can do that by swapping out the original image with a replacement image. Example <TITLE>A Complex Rollover</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimage = new Image myimage1 = new Image myimage2 = new Image myimage3 = new Image myimage1.src = "links.jpg" myimage2.src = "tables.jpg" myimage3.src = "images.jpg" myimage.src = "invisible.gif" myimage1off = new Image myimage2off = new Image myimage3off = new Image myimage1on= new Image myimage2on= new Image myimage3on= new Image myimage1off.src= "right.gif" myimage2off.src= "right.gif" myimage3off.src= "right.gif" myimage1on.src= "rightdarkblue.gif" myimage2on.src= "rightdarkblue.gif" 8
10 else myimage3on.src= "rightdarkblue.gif" myimage1 = "" myimage2 = "" myimage3 = "" myimage = "" document.textfield = "" document.myimage1 = "" document.myimage2 = "" document.myimage3 = "" // End hiding script from old browsers --> <BODY BGCOLOR=lime> <A HREF="page1.html" onmouseover="document.textfield.src=myimage1.src; document.firstimage.src=myimage1on.src" onmouseout="document.textfield.src=myimage.src; document. firstimage.src=myimage1off.src"> <IMG SRC="right.gif" BORDER=0 NAME="firstimage"></A> <A HREF="page2.html" onmouseover="document.textfield.src=myimage2.src; document. secondimage.src=myimage2on.src " onmouseout="document.textfield.src=myimage.src; document. secondimage.src=myimage2off.src "> <IMG SRC="right.gif" BORDER=0 NAME="secondimage"></A> <A HREF="page3.html" onmouseover="document.textfield.src=myimage3.src; document. thirdimage.src=myimage3on.src" onmouseout="document.textfield.src=myimage.src; document. thirdimage.src=myimage3off.src"> <IMG SRC="right.gif" BORDER=0 NAME="thirdimage"></A> <IMG SRC="invisible.gif" NAME="textField"> 9
11 This is how the example above looks like: When the user points with the mouse at the first icon, the following image appears below and the icon changes appearance as well: When the user points with the mouse at the second icon, the following image appears below and the icon changes appearance as well: 10
12 When the user points with the mouse at the third and final icon, the following image appears below and the icon changes appearance as well: Multiple Images with a Single Rollover Using a Function As can be seen from the previous two examples, quite a lot of the code is repetitive and therefore can be written by using the means of a function instead. For example, the single rollover example can be redrafted as follows: Example <TITLE>Multiple Images Changing a Rollover</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> myimage = new Image myimage1 = new Image myimage2 = new Image myimage3 = new Image myimage1.src = "links.jpg" myimage2.src = "tables.jpg" myimage3.src = "images.jpg" myimage.src = "invisible.gif" function chgimg (imgfield, newimg) document[imgfield].src=eval(newimg + ".src") 11
13 <BODY BGCOLOR=lime> <A HREF="page1.html" onmouseover="chgimg('textfield','myimage1')" onmouseout="document.textfield.src=myimage.src"> <IMG SRC="right.gif" BORDER=0></A> <A HREF="page2.html" onmouseover="document.textfield.src=myimage2.src" onmouseout="document.textfield.src=myimage.src"> <IMG SRC="right.gif" BORDER=0></A> <A HREF="page3.html" onmouseover="document.textfield.src=myimage3.src" onmouseout="document.textfield.src=myimage.src"> <IMG SRC="right.gif" BORDER=0></A> <IMG SRC="invisible.gif" NAME="textField"> Multiple Rollovers Using a Function Similar to the example shown in the previous section of this handout, a function can be used to simplify the coding of the multiple rollovers example. For example, the multiple rollovers code can be redrafted as follows: Example <TITLE>A Complex Rollover</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimage = new Image myimage1 = new Image myimage2 = new Image myimage3 = new Image myimage1.src = "links.jpg" myimage2.src = "tables.jpg" myimage3.src = "images.jpg" 12
14 myimage.src = "invisible.gif" myimage1off = new Image myimage2off = new Image myimage3off = new Image myimage1on= new Image myimage2on= new Image myimage3on= new Image myimage1off.src= "right.gif" myimage2off.src= "right.gif" myimage3off.src= "right.gif" myimage1on.src= "rightdarkblue.gif" myimage2on.src= "rightdarkblue.gif" myimage3on.src= "rightdarkblue.gif" function chgimg (imgfield, newimg) document[imgfield].src=eval(newimg + ".src") else myimage1 = "" myimage2 = "" myimage3 = "" myimage = "" document.textfield = "" document.myimage1 = "" document.myimage2 = "" document.myimage3 = "" // End hiding script from old browsers --> <BODY BGCOLOR=lime> <A HREF="page1.html" onmouseover="chgimg('textfield', 'myimage1'); chgimg('firstimage', 'myimage1on') " onmouseout="chgimg('textfield', 'myimage'); chgimg('firstimage', 'myimage1off')"> <IMG SRC="right.gif" BORDER=0 NAME="firstimage"></A> 13
15 <A HREF="page2.html" onmouseover="chgimg('textfield', 'myimage2'); chgimg('secondimage', 'myimage2on') " onmouseout="chgimg('textfield', 'myimage'); chgimg('secondimage', 'myimage2off')"> <IMG SRC="right.gif" BORDER=0 NAME="secondimage"></A> <A HREF="page3.html" onmouseover="chgimg('textfield', 'myimage3'); chgimg('thirdimage', 'myimage3on') " onmouseout="chgimg('textfield', 'myimage'); chgimg('thirdimage', 'myimage3off')"> <IMG SRC="right.gif" BORDER=0 NAME="thirdimage"></A> <IMG SRC="invisible.gif" NAME="textField"> Creating Cycling Banners As you already know you can create animated GIF banners for your site, which consist of several number of frames playing in succession. JavaScript also allows you to create animated banners by using an array of image elements. Example <TITLE>Rotating Banners</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimages = new Array ("images.jpg","links.jpg","tables.jpg") thisbanner = 0 Counter = myimages.length function rotate() thisbanner++ if (thisbanner == Counter) thisbanner = 0 document.adbanner.src=myimages[thisbanner] settimeout("rotate()", 3 * 1000) 14
16 // End hiding script from old browsers --> <BODY BGCOLOR="lime" onload="rotate()"> <CENTER> <IMG SRC="images.jpg" NAME="adBanner" ALT="html4.co.uk s site"> </CENTER> The following line tells the browser to change the GIFs in the banner. settimeout("rotate()", 3 * 1000) The advantages of using JavaScript to create animated banners in comparison to using animated GIFs are two: first of all JavaScript allows you to use JPEG files to create the banners and secondly JavaScript allows you to modify the banner easily without making changes to the image file itself (just changing the image files in the array). Adding Links to Cycling Banners You can adapt the cycling banners, which you have created in order to allow you users to click on separate parts of the banner and go to different URLs depending on which image in the image array they have clicked on. Example <TITLE>Rotating Banners</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimages = new Array ("images.jpg","links.jpg","tables.jpg") myurls = new Array ("yahoo.com", "google.com", "dogpile.com") 15
17 thisbanner = 0 Counter = myimages.length function rotate() if(document.adbanner.complete) thisbanner++ if (thisbanner == Counter) thisbanner = 0 document.adbanner.src=myimages[thisbanner] settimeout("rotate()", 3 * 1000) function newlocation() document.location.href=" + myurls[thisbanner] // End hiding script from old browsers --> <BODY BGCOLOR="lime" onload="rotate()"> <CENTER> <A HREF="javascript:newLocation()"> <IMG SRC="images.jpg" NAME="adBanner" ALT="html4.co.uk s site" BORDER=0></A> </CENTER> If we were to click on the Links part of the animated banner then, we should be redirected to 16
18 Building Slide Shows Slide shows are particularly useful, when there is a lack of space on your web site to display a multitude of images. Usually, and instead an image is displayed on a page and the user is allowed to navigate backward and forward through all the available images. Example <TITLE>Building Slide Shows</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimages = new Array ("images.jpg","links.jpg","tables.jpg") thisbanner = 0 Counter = myimages.length - 1 function showprevious() if (document.images && thisbanner>0) thisbanner -- document.mypicture.src=myimages[thisbanner] 17
19 function shownext() if (document.images && thisbanner < Counter) thisbanner ++ document.mypicture.src=myimages[thisbanner] // End hiding script from old browsers --> <BODY BGCOLOR="lime"> <CENTER> <IMG SRC="images.jpg" NAME="myPicture" ALT="html4.co.uk s site" BORDER=0> </CENTER> <A HREF="javascript:showPrevious()">Previous</A> <A HREF="javascript:showNext()">Next</A> When the user reaches the end of the slide show in each direction, the script ignores any further clicks. Displaying a Random Image JavaScript allows us to display a random image on our site when the visitor enters the site. In order to achieve this effect, we have to use the Math.random() function. 18
20 Example <TITLE>Displaying a Random Image</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myimages = new Array ("images.jpg","links.jpg","tables.jpg") Counter = myimages.length function chooseimage() randomnum = Math.floor(Math.random()*Counter) document.adpicture.src= myimages[randomnum] // End hiding script from old browsers --> <BODY BGCOLOR="lime" onload="chooseimage()"> <CENTER> <IMG SRC="images.jpg" NAME="adPicture" ALT="html4.co.uk s site"> </CENTER> The Math.random function generates a random number between 0 and 1, which is then multiplied by the number of items in the array. The Math.floor function is then used to round the number to an integer (in this case between 0 and 2). 19
21 Automatically Changing Background Colours JavaScript allows you to change automatically the background of your page, should you wish to do so. Example <TITLE>Rotating Backgrounds</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers backgrounds = new Array("#99FF99","#FF9999","#9999FF") thisbg = 0 bgcount = backgrounds.length function rotatebackground() thisbg++ if (thisbg == bgcount) thisbg = 0 document.bgcolor= backgrounds [thisbg] settimeout("rotatebackground()", 3 * 1000) // End hiding script from old browsers --> <BODY BGCOLOR="lime" onload="rotatebackground()"> <CENTER> <IMG SRC="images.jpg" NAME="adPicture" ALT="html4.co.uk s site"> </CENTER> 20
8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) What is JavaScript?
Web Development & Design Foundations with HTML5 Ninth Edition Chapter 14 A Brief Look at JavaScript and jquery Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of
More informationNew Media Production Lecture 7 Javascript
New Media Production Lecture 7 Javascript Javascript Javascript and Java have almost nothing in common. Netscape developed a scripting language called LiveScript. When Sun developed Java, and wanted Netscape
More informationPrograming for Digital Media EE1707. Lecture 4 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programing for Digital Media EE1707 Lecture 4 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 today Event Handling in JavaScript Client-Side JavaScript
More informationLesson 5: Introduction to Events
JavaScript 101 5-1 Lesson 5: Introduction to Events OBJECTIVES: In this lesson you will learn about Event driven programming Events and event handlers The onclick event handler for hyperlinks The onclick
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 informationINFO 2450 Project 6 Web Site Resources and JavaScript Behaviors
INFO 2450 Project 6 Web Site Resources and JavaScript Behaviors Project 6 Objectives: Learn how to create graphical content with specified dimensions and formats for a Web site. Incorporate the site color
More informationLecture 5. Connecting Code to Web Page Events
This lecture, will learn about 1. Browser Objects 2. Window Object 3. Document Object 4. Location Object 5. Navigator Object 6. History Object 7. Screen Object 8. Events Lecture 5 Not only is Javascript
More informationENGL 323: Writing for New Media Repurposing Content for the Web Part Two
ENGL 323: Writing for New Media Repurposing Content for the Web Part Two Dr. Michael Little michaellittle@kings.edu Hafey-Marian 418 x5917 Using Color to Establish Visual Hierarchies Color is useful in
More informationBy the end of this section of the practical, the students should be able to:
By the end of this section of the practical, the students should be able to: Write JavaScript to generate HTML Create simple scripts which include input and output statements, arithmetic, relational and
More informationWeb Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 14 Test Bank
Multiple Choice. Choose the best answer. 1. JavaScript can be described as: a. an object-oriented scripting language b. an easy form of Java c. a language created by Microsoft 2. Select the true statement
More informationHTML/XML. XHTML Authoring
HTML/XML XHTML Authoring Adding Images The most commonly used graphics file formats found on the Web are GIF, JPEG and PNG. JPEG (Joint Photographic Experts Group) format is primarily used for realistic,
More informationJavaScript is described in detail in many books on the subject, and there is excellent tutorial material at
JavaScript (last updated April 15, 2013: LSS) JavaScript is a scripting language, specifically for use on web pages. It runs within the browser (that is to say, it is a client- side scripting language),
More informationFireworks 3 Animation and Rollovers
Fireworks 3 Animation and Rollovers What is Fireworks Fireworks is Web graphics program designed by Macromedia. It enables users to create any sort of graphics as well as to import GIF, JPEG, PNG photos
More informationMore HTML. Images and links. Tables and lists. <h1>running in the family</h1> <h2>tonight 9pm BBC One</h2>
More HTML Images and links Tables and lists running in the family tonight 9pm BBC One hurdles legend Colin Jackson traces his family tree to Jamaica in Who Do You Think You Are?
More information(Refer Slide Time: 01:40)
Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #25 Javascript Part I Today will be talking about a language
More informationIntroduction to DHTML
Introduction to DHTML HTML is based on thinking of a web page like a printed page: a document that is rendered once and that is static once rendered. The idea behind Dynamic HTML (DHTML), however, is to
More informationFlash Ads. Tracking Clicks with Flash Clicks using the ClickTAG
How-to Guide to Displaying and Tracking Rich-Media/Flash Ads Image advertising varies from standard GIF, JPG, PNG to more interactive ad technologies such as Flash, or rich-media (HTML Ads). Ad Peeps can
More informationUsing Dreamweaver CS6
Using Dreamweaver CS6 7 Dynamic HTML Dynamic HTML (DHTML) is a term that refers to website that use a combination of HTML, scripting such as JavaScript, CSS and the Document Object Model (DOM). HTML and
More informationIT153 Midterm Study Guide
IT153 Midterm Study Guide These are facts about the Adobe Dreamweaver CS4 Application. If you know these facts, you should be able to do well on your midterm. Dreamweaver users work in the Document window
More informationUsing JavaScript in a compatible way
Draft: javascript20020518.wpd Printed on May 18, 2002 (3:24pm) Using JavaScript in a compatible way Rafael Palacios* *Universidad Pontificia Comillas, Madrid, Spain Abstract Many web pages use JavaScript
More information5. JavaScript Basics
CHAPTER 5: JavaScript Basics 88 5. JavaScript Basics 5.1 An Introduction to JavaScript A Programming language for creating active user interface on Web pages JavaScript script is added in an HTML page,
More informationWant to add cool effects like rollovers and pop-up windows?
Chapter 10 Adding Interactivity with Behaviors In This Chapter Adding behaviors to your Web page Creating image rollovers Using the Swap Image behavior Launching a new browser window Editing your behaviors
More informationCISH-6510 Web Application Design and Development. Overview of JavaScript. Overview
CISH-6510 Web Application Design and Development Overview of JavaScript Overview What is JavaScript? History Uses of JavaScript Location of Code Simple Alert Example Events Events Example Color Example
More informationSliceAndDice Online Manual
Online Manual 2001 Stone Design Corp. All Rights Reserved. 2 3 4 7 26 34 36 37 This document is searchable online from s Help menu. Got an image that you want to use for navigation on your web site? Want
More informationDate:.. /. / 20.. Remas Language Schools. Name :. Class : Second Term 5th Primary 1 Computer Department
Name :. Class : Second Term 5th Primary 1 Computer Department Table of contents of the (Second term) Chapter 3: continue the PowerPoint: Lesson 8: View show Lesson 9: Slide to slide transitions Lesson
More informationWWF CMS Map Tool User Guide
WWF CMS Map Tool User Guide July 2007 In the latest (1.7) release of the WWF Content Management System (CMS) a dynamic map creation tool is available in all CMS instances. Examples of maps created with
More informationethnio tm IMPLEMENTATION GUIDE ETHNIO, INC W SUNSET BLVD LOS ANGELES, CA TEL (888) VERSION NO. 3 CREATED JUL 14, 2017
ethnio tm IMPLEMENTATION GUIDE VERSION NO. 3 CREATED JUL 14, 2017 ETHNIO, INC. 6121 W SUNSET BLVD LOS ANGELES, CA 90028 TEL (888) 879-7439 SUMMARY Getting Ethnio working means placing one line of JavaScript
More informationBasic Uses of JavaScript: Modifying Existing Scripts
Overview: Basic Uses of JavaScript: Modifying Existing Scripts A popular high-level programming languages used for making Web pages interactive is JavaScript. Before we learn to program with JavaScript
More informationUsing Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles
Using Dreamweaver CC 6 So far we have used CSS to arrange the elements on our web page. We have also used CSS for some limited formatting. In this section we will take full advantage of using CSS to format
More informationLocate it inside of your Class/DreamWeaver folders and open it up.
Simple Rollovers A simple rollover graphic is one that changes somehow when the mouse rolls over it. The language used to write rollovers is JavaScript. Luckily for us, when we use DreamWeaver we don t
More informationMAX 2006 Beyond Boundaries
Building a Spry Page MAX 2006 Beyond Boundaries Donald Booth Dreamweaver QE/Spry Team Adobe Systems, Inc. 1. Attach CSS/JS 1. Browse to the Assets folder and attach max.css. 2. Attach the 2 js files.
More informationAnimating Layers with Timelines
Animating Layers with Timelines Dynamic HTML, or DHTML, refers to the combination of HTML with a scripting language that allows you to change style or positioning properties of HTML elements. Timelines,
More informationDNNGo LayerSlider3D. User Manual
DNNGo LayerSlider3D User Manual Description This is a powerful 2D&3D transition module, you can set up the transition effect through various options for each element. It allows you to set up the amount
More informationDIGITAL DESIGN. advertising specs
DIGITAL DESIGN advertising specs August 2018 BANNERS: WEB & MOBILE Dimension measurements provided in pixels BHMG BANNER ADS ON OUR LOCAL SITES File Formats: GIF, JPG, HTML5, Third-party ad tags (DoubleClick
More informationQuietAgent Job Offer Agent Advert Implementation Specification
QuietAgent Job Offer Agent Advert Implementation Specification Flash based advertisement and remain onsite customer acquisition tool. Overview The QuietAgent Job Offer Agent is a 45 second customer acquisition
More information710 Index Attributes, 127 action attribute, 263 assigning, bottom attribute, domain name attribute, 481 expiration date attribute, 480 8
INDEX Symbols = (assignment operator), 56 \ (backslash), 33 \b (backspace), 33 \" (double quotation mark), 32 \e (escape), 33 \f (form feed), 33
More informationProject 2: After Image
Project 2: After Image FIT100 Winter 2007 Have you ever stared at an image and noticed that when it disappeared, a shadow of the image was still briefly visible. This is called an after image, and we experiment
More informationGoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.
Getting Started From the Start menu, located the Adobe folder which should contain the Adobe GoLive 6.0 folder. Inside this folder, click Adobe GoLive 6.0. GoLive will open to its initial project selection
More informationDazzle the Web with Dynamic Dreamweaver, Part II
Dazzle the Web with Dynamic Dreamweaver, Part II In the second Dreamweaver workshop we will learn the following skills: 1. Adding hyperlinks to our home page 2. Adding images to our home page 3. Creating
More informationElections and voting Level 1 walkthrough This guide offers a suggested user path suitable for 7 11 year olds
Elections and voting Level 1 walkthrough This guide offers a suggested user path suitable for 7 11 year olds This walkthrough covers: 1. Getting started 2. Main menu 3. Going to the polls 4. Results are
More informationCUSTOMER PORTAL. Custom HTML splashpage Guide
CUSTOMER PORTAL Custom HTML splashpage Guide 1 CUSTOM HTML Custom HTML splash page templates are intended for users who have a good knowledge of HTML, CSS and JavaScript and want to create a splash page
More informationTo assign a name to a frame, add the name attribute to the frame tag. The syntax for this attribute is: <frame src= url name= name />
Assigning a Name to a Frame To assign a name to a frame, add the name attribute to the frame tag. The syntax for this attribute is: case is important in assigning names: information
More informationDreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets
Dreamweaver Basics Planning your website Organize site structure Plan site design & navigation Gather your assets Creating your website Dreamweaver workspace Define a site Create a web page Linking Manually
More informationLecture 14. Introduction to JavaScript. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)
Lecture 14 Introduction to JavaScript Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Outline What is JavaScript? Embedding JavaScript with HTML JavaScript conventions Variables in JavaScript
More informationOnline banner advertising specifications
General Guidelines empr.com site Leaderboard 728290 IMU 3002250 Half-page unit 3002600 Slim IMU 3002100 Navigation bar ad 992230/text & logo Ad server DoubleClick DoubleClick DoubleClick DoubleClick DoubleClick
More informationBefore you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.
9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather
More informationHTML Exercise 21 Making Simple Rectangular Buttons
HTML Exercise 21 Making Simple Rectangular Buttons Buttons are extremely popular and found on virtually all Web sites with multiple pages. Buttons are graphical elements that help visitors move through
More informationCS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!
CS 1033 Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 06: Introduction to KompoZer (Website Design - Part 3 of 3) Lab 6 Tutorial 1 In this lab we are going to learn
More informationElections and voting Level 3 walkthrough This guide offers a suggested user path suitable for year olds
Elections and voting Level 3 walkthrough This guide offers a suggested user path suitable for 14 18 year olds This walkthrough covers: 1. Getting started 2. Main menu 3. Going to the polls 4. Results are
More informationEnlargeit! Version 1.1 Operation Manual
Enlargeit! Version 1.1 Operation Manual Contents Page 1 What is EnlargeIt! 2 2 What does EnlargeIt! need 2 3 Displaying pictures 2 3.1 Easy integration 2 3.2 Failsafe integration 3 4 Displaying flash (*.swf)
More informationWeek 1 - Overview of HTML and Introduction to JavaScript
ITEC 136 Business Programming Concepts Week 1 Module 1: Overview of HTML and Course overview Agenda This week s expected outcomes This week s topics This week s homework Upcoming deadlines Questions and
More informationADOBE Dreamweaver CS3 Basics
ADOBE Dreamweaver CS3 Basics IT Center Training Email: training@health.ufl.edu Web Page: http://training.health.ufl.edu This page intentionally left blank 2 8/16/2011 Contents Before you start with Dreamweaver....
More informationUniform Resource Locators (URL)
The World Wide Web Web Web site consists of simply of pages of text and images A web pages are render by a web browser Retrieving a webpage online: Client open a web browser on the local machine The web
More informationDreamweaver Handout. University of Connecticut Prof. Kent Golden
Dreamweaver Handout University of Connecticut Prof. Kent Golden Kent@GoldenMultimedia.com www.goldenmultimedia.com Main goal of this handout: To give you the steps needed to create a basic personal website
More information(Refer Slide Time: 01:41) (Refer Slide Time: 01:42)
Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #14 HTML -Part II We continue with our discussion on html.
More informationFundamentals of Website Development
Fundamentals of Website Development CSC 2320, Fall 2015 The Department of Computer Science Events handler Element with attribute onclick. Onclick with call function Function defined in your script or library.
More informationHTML Exercise 20 Linking Pictures To Other Documents Or Web Sites
HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites Turning pictures into hyperlinks is nearly the same as what you learned in Exercises 4 and 5. If a picture is essential to a Web page,
More informationNew Perspectives on Creating Web Pages with HTML. Tutorial Objectives
New Perspectives on Creating Web Pages with HTML Tutorial 9: Working with JavaScript Objects and Events 1 Tutorial Objectives Learn about form validation Study the object-based nature of the JavaScript
More informationPREZI. Transformation Zebra. How to Make a Prezi. Bubble Menu
PREZI A Prezi is a web-based presentation tool that allows the use to create amazing presentations. It can also be used as a brainstorming tool, by helping the user map his/her thoughts and be able to
More informationCurrent trends: Scripting (I) A bid part of interface design centers around dialogs
Current trends: Scripting (I) A bid part of interface design centers around dialogs that a system has with a user of the system These dialogs follow what is usually called a "script", i.e. a sequence of
More informationPowerPoint Tutorial 2: Adding and Modifying Text and Graphic Objects 2013
PowerPoint Tutorial 2: Adding and Modifying Text and Graphic Objects Microsoft Office 2013 2013 Objectives Insert a graphic from a file Insert, resize, and reposition clip art Modify the color and shape
More informationMobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE
Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE COURSE TITLE WEB SITE DESIGN COURSE DURATION 19 Hours of Interactive Training COURSE OVERVIEW In this 7 session course Debbie will take you through the
More informationJavascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010
Lecture 22 Javascript Announcements Homework#7 now due 11/24 at noon Reminder: beginning with Homework #7, Javascript assignments must be submitted using a format described in an attachment to HW#7 I will
More informationIntroduction to Dreamweaver
COMMUNITY TECHNICAL SUPPORT Introduction to Dreamweaver What is Dreamweaver? Dreamweaver helps you to create Web pages while it codes html (and more) for you. It is located on the bottom tray or in the
More informationAd Muncher's New Interface Layout
Ad Muncher's New Interface Layout We are currently working on a new layout for Ad Muncher's configuration window. This page will document the new layout. Interface Layout Objectives The ability to modify
More informationDreamweaver Domain 4: Adding Content by Using Dreamweaver CS5
Dreamweaver Domain 4: Adding Content by Using Dreamweaver CS5 Adobe Creative Suite 5 ACA Certification Preparation: Featuring Dreamweaver, Flash, and Photoshop 1 Objectives Define a Dreamweaver site. Create,
More informationHTML 5 and CSS 3, Illustrated Complete. Unit L: Programming Web Pages with JavaScript
HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript Objectives Explore the Document Object Model Add content using a script Trigger a script using an event handler Create
More informationA Balanced Introduction to Computer Science, 3/E
A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 4 JavaScript and Dynamic Web Pages 1 Static vs. Dynamic Pages
More informationCOMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal
COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 10 10 Working with Frames Looking for a way to enhance your Web site layout? Frames can help you present multiple pages
More informationFRONTPAGE STEP BY STEP GUIDE
IGCSE ICT SECTION 15 WEB AUTHORING FRONTPAGE STEP BY STEP GUIDE Mark Nicholls ICT lounge P a g e 1 Contents Introduction to this unit.... Page 4 How to open FrontPage..... Page 4 The FrontPage Menu Bar...Page
More informationDynamic documents with JavaScript
Dynamic documents with JavaScript Introduction Informally, a dynamic XHTML document is an XHTML document that, in some way, can be changed while it is being displayed by a browser. Dynamic XHTML is not
More informationAARP Creative Asset Specifications
AARP Creative Asset Specifications Submissions are not considered complete without all creative assets, text, click-through URLs, and landing pages. If the landing page will not be live by the submission
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 informationSimple Image Viewer for IBM Content Navigator
Simple Image Viewer for IBM Content Navigator Type of Submission: Article Title: Simple Image Viewer for IBM Content Navigator Subtitle: Keywords: image, viewer, plug-in, content, navigator, icn Prefix:
More informationJavascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010
Lecture 21 Javascript Announcements Reminder: beginning with Homework #7, Javascript assignments must be submitted using a format described in an attachment to HW#7 3rd Exam date set for 12/14 in Goessmann
More informationethnio tm Technical Overview VERSION NO. 6 CREATED AUG 22, 2018 ETHNIO, INC W SUNSET BLVD LOS ANGELES, CA TEL (888)
ethnio tm Technical Overview VERSION NO. 6 CREATED AUG 22, 2018 ETHNIO, INC. 6121 W SUNSET BLVD LOS ANGELES, CA 90028 TEL (888) 879-7439 Summary Ethnio works by displaying a survey-like screener to your
More information16B. Laboratory. Linking & Images in HTML. Objectives. References
Laboratory Linking & Images in HTML 16B Objectives Expand on the basic HTML skills you learned in Lab 16A. Work with links and images in HTML. References Lab 16A must be completed before working on this
More informationModules Documentation ADMAN. Phaistos Networks
Modules Documentation ADMAN Phaistos Networks Table of Contents TABLE OF CONTENTS... 2 KEYWORDS... 5 FLASH BANNERS... 6 Options... 6 Public methods... 6 Public events... 6 Example... 7 EXPANDING BANNERS...
More informationFrontPage. Directions & Reference
FrontPage Directions & Reference August 2006 Table of Contents Page No. Open, Create, Save WebPages Open Webpage... 1 Create and Save a New Page... 1-2 Change the Background Color of Your Web Page...
More informationCreating Web Pages with HTML-Level III Tutorials HTML 6.01
Creating Web Pages with HTML-Levell Tutorials HTML 1.01 Tutorial 1 Developing a Basic Web Page Create a Web Page for Stephen DuM's Chemistry Classes Tutorial 2 Adding Hypertext Links to a Web Page Developing
More informationMicrosoft PowerPoint 2016 Part 2: Notes, Links, & Graphics. Choosing a Design. Format Background
Microsoft PowerPoint 2016 Part 2: Notes, Links, & Graphics Choosing a Design Open PowerPoint. Click on Blank Presentation. Click on the Design tab. Click on the design tab of your choice. In part one we
More informationLesson 18 Automatic door
Lesson 18 Automatic door 1 What you will need CloudProfessor (CPF) PIR (Motion) sensor Servo Arduino Leonardo Arduino Shield USB cable Overview In this lesson, students explore automated systems such as
More informationPowerPoint 2003 Shortcourse Handout
PowerPoint 2003 Shortcourse Handout February 24, 2003 Technology Support Shortcourses Texas Tech University Copyright 2003 Introduction PowerPoint is the presentation graphics program in Microsoft Office.
More informationImage mapping One of the things that mystifies newcomers to the Web is how to
Image mapping One of the things that mystifies newcomers to the Web is how to set up an image so that when you click on something in it, you re taken to a specific location on the Web. The answer: image
More informationECDL Module 6 REFERENCE MANUAL
ECDL Module 6 REFERENCE MANUAL Presentation Microsoft PowerPoint XP Edition for ECDL Syllabus Four PAGE 2 - ECDL MODULE 6 (USING POWERPOINT XP) - MANUAL 6.1 GETTING STARTED... 4 6.1.1 FIRST STEPS WITH
More informationA340 Laboratory Session #5
A340 Laboratory Session #5 LAB GOALS Creating multiplication table using JavaScript Creating Random numbers using the Math object Using your text editor (Notepad++ / TextWrangler) create a web page similar
More informationINFS 2150 / 7150 Intro to Web Development / HTML Programming
XP INFS 2150 / 7150 Intro to Web Development / HTML Programming Working with Graphics in a Web Page 1 Objectives Learn about different image formats Control the placement and appearance of images on a
More informationMicrosoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4,
Microsoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4, which are very similar in most respects and the important
More informationHow to Use Your DoDEA Facilitator Guide
This document is designed to show you with how to use the DoDEA Facilitator Guide to prepare and deliver your presentation to your colleagues. It is broken into two sections: Preparation and Delivery.
More informationJavaScript: Tutorial 5
JavaScript: Tutorial 5 In tutorial 1 you learned: 1. How to add javascript to your html code 2. How to write a function in js 3. How to call a function in your html using onclick() and buttons 4. How to
More informationLast updated on 1/20/2017
AVAILABLE AD FORMATS: INTERSTITIALS BANNERS RECTANGLES SPONSORSHIP BILLBOARDS HOME PAGE TAKE OVERS VIDEOS SPECIAL OPERATIONS 1/20/2017 TECHNICAL SPECIFICATIONS: GENERAL GUIDELINES Please note this document
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 informationSoftware. Programming Languages. Types of Software. Types of Languages. Types of Programming. Software does something
Software Software does something LBSC 690: Week 10 Programming, JavaScript Jimmy Lin College of Information Studies University of Maryland Monday, April 9, 2007 Tells the machine how to operate on some
More informationSedao Ltd. QuickChange PROject. User Manual for QuickChange PROject version 2.1.5
Sedao Ltd QuickChange PROject User Manual for QuickChange PROject version 2.1.5 Contents What is QuickChange PROject?... 2 Simple Artwork Creation... 5 Creating a project... 7 QuickChange PROject Template
More informationWeb Designer s Reference
Web Designer s Reference An Integrated Approach to Web Design with XHTML and CSS Craig Grannell Graphical navigation with rollovers The final exercise in this chapter concerns navigation with graphical
More informationCreating Classroom Websites Using Contribute By Macromedia
Creating Classroom Websites Using Contribute By Macromedia Revised: 10/7/05 Creating Classroom Websites Page 1 of 22 Table of Contents Getting Started Creating a Connection to your Server Space.. Page
More informationCreative Uses of PowerPoint 2003
Creative Uses of PowerPoint 2003 Creating an Audio File 1) Connect your microphone 2) Click on Insert 3) Click on Movies and Sounds 4) Click on Record Sound Play Stop Record 5) Click on the Record button
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 informationIndependence Community College Independence, Kansas
Independence Community College Independence, Kansas C O N T E N T S Unit 1: Creating, Modifying, and Enhancing FrontPage Webs and Pages 1 Chapter 1 Investigating FrontPage 2002 3 Exploring World Wide Web
More informationCorresponds to a layer in an HTML page and provides a means for manipulating that layer. Client-side object Implemented in JavaScript 1.
Layer Layer Corresponds to a layer in an HTML page and provides a means for manipulating that layer. Client-side object Created by The HTML LAYER or ILAYER tag, or using cascading style sheet syntax. The
More information