Day 2 – JavaScript & PHP.  Have the hover effect display an extra image  Add an extra image for each of the tags  In your writeText() function, you.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

1 Web Site Design Overview of the Internet Cookie Setton.
CSCI 3100 Tutorial 6 Web Development Tools 1 Cuiyun GAO 1.
Emerging technology and Platform#3: JavaScript Bina Ramamurthy.
2.744 Dreamweaver Tutorial Sangmok Han Feb 24, 2010.
Programming Club IIT Kanpur. Work environment Before you begin coding,always set up your work environment to your needs IDE Notepad++ Sublime Text 2.
Creating and Editing a Web Page Using Inline Styles
Sriram DRUPAL GCI What is a drop down menu? A drop down menu is a menu of options that appears when an item is selected with a mouse. The item.
Using Advanced Cascading Style Sheets
Newsletter Plugin The newsletter plugin allows you to create and send newsletters to a managed list or multiple lists of users. Your users can subscribe.
Chapter 16 Dynamic HTML and Animation The Web Warrior Guide to Web Design Technologies.
Web Page Development Identify elements of a Web Page Start Notepad
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Working with Forms in JavaScript (NON-audio version) © Dr. David C. Gibbs
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Week 4  Using PHP with HTML forms  Form Validation  Create your own Contact form Please Visit:
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
INTRODUCTION TO DREAMWEAVER 8. What we already know…  Design basics  Contrast  Repetition  Alignment  Repetition  HTML.
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
Homework for October 2011 Nikolay Kostov Telerik Corporation
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
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.
10/1/2015 ©2006 Scott Miller, University of Victoria 1 HTML: The sequel Forms JavaScript DHTML HTML Practical Tutorial Rev 2.0.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Integrating JavaScript and HTML5 HTML5 & CSS 7 th Edition.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Interactive Client-Side Technologies MMIS 656 Web Design Technologies Acknowledgements: Estrella, S. (2003). The Web Wizard’s Guide to DHTML and CSS.
Nickelodeon – Blogs User Guide. 1. Introduction The admin tool allows you to create and publish blog posts easily and efficiently along with managing.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
The Language of the Internet. HTML5 Hypertext Markup Language- Fifth iteration Used to create documents containing text, images, and hyperlinks Has Grammar.
HTML Forms.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
PHP Form Introduction Getting User Information Text Input.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
JQuery Introduction © Copyright 2014, Fred McClurg All Rights Reserved.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Dawn Pedersen. What is JavaScript? JavaScript is the basis for both jQuery and Spry applications JavaScript is referred to as a client-side scripting.
HTML Forms.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Creating and Editing a Web Page
Positioning Objects with CSS and Tables
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
Creating and Editing a Web Page Using Inline Styles
Chapter 1 Murach's JavaScript and jQuery, C1© 2012, Mike Murach & Associates, Inc.Slide 1.
Craig Pelkie Copyright © 2015, Craig Pelkie ALL RIGHTS RESERVED Use RPG to Mobilize your IBM i.
Chapter 10 Dynamic HTML (DHTML) JavaScript, Third Edition.
Creating Web Pages with Links, Images, and Embedded Style Sheets
INTERNET APPLICATIONS CPIT405 Forms, Internal links, meta tags, search engine friendly websites.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Project 02 Creating and Editing a Web Page Concept Map of Unit Creating and Editing a Web Page Key Learning Understand the elements to create a web page.
This is a test Webpage Wow, I’m writing my first webpage.
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.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
Tutorial 6 Creating Reusable Assets and Forms. Objectives Session 6.1 – Explore the head content of a page – Add keywords to a page – Add a meta description.
WELCOME TO WEB PAGE DESIGN- BEGINNERS COURSE Mrs Barry.
Miguel Lara, PhD. Design and development instructional websites using a variety of web technologies such as HTML5, CSS, JavaScript, and jQuery.
Do you want to make info graphics for the US Election?
Intro to JavaScript CS 1150 Spring 2017.
© 2016, Mike Murach & Associates, Inc.
MS-Access (database) how to create blank data base.
Integrating JavaScript and HTML
Basic HTML and Embed Codes
4.00 Apply procedures to add content by using Dreamweaver. (22%)
© 2017, Mike Murach & Associates, Inc.
Presentation transcript:

Day 2 – JavaScript & PHP

 Have the hover effect display an extra image  Add an extra image for each of the tags  In your writeText() function, you can pass it more information than just txt  writeText(txt, imgSrc, imgAlt) ▪ imgSrc – will be the src attribute value (the name of an image) ▪ imgAlt – will be the alt attribute value  With this information, when you hover over an area of the image map, you can display an image as well  In the function block, create a variable to display your div  var winText = ‘ <img src=“’ + imgSrc + ‘“ alt=“’;  winText += imgAlt + ‘” /> ’;  Add another document.getElementById() and pass it the new variable like so:  document.getElementById("window").innerHTML = WinText;  In the of your page, add a tag with an id attribute of “window” 

 Goal: using an online tutorial, find a CSS-styled navigation bar (using a nested list of links), and add the JavaScript files and code to animate the menu  Resources:    

 Superfish makes use of jQuery  jQuery is a well-stocked library of awesome JavaScript goodness  Get it from  Understanding jQuery is like eating an elephant, 1 bite at a time  Superfish allows us to create dynamic menus  We can animate them  They can have a pause effect  They can create drop-shadows  Superfish is quite popular these days  It’s super fishey!

 Start with your every day standard web page  Add your navigation by creating a nested list of links  Try CSS Max Design’s Listamatic2 ( ▪ Note: this works with both horizontal and vertical styled nested lists  Try Using the Superfish zip archive ( oad) oad  Try Dynamic Drive’s CSS Library (  For our purposes, let’s use a Listamatic2 list  Find one that you like, and one that doesn’t look like it will create problems

 Add the listamatic HTML code  It’s a nested list of links  Place it after your title  Create a navigation style sheet (navigation.css)  Add the CSS code into this page  Save it in the same folder  In the head of your page, link to a navigation style sheet  Use method (it hides it from crusty browsers) url(‘navigation.css’);  You’re now ready to add the Superfish

 Begin by downloading the Superfish zip archive on the Download Page  Extract All Files  Open superfish \superfish-1.4.8\js  Copy all *.js files and place them in your main folder  Add one little class to your main tag (the first of your navcontainer)   Note: If the already has a class attribute, do the following   In the head of your page:  Link to the following: ▪ superfish.css ▪ jquery min.js ▪ superfish.js  Initialize the plugins like so // initialise plugins jQuery(function(){ jQuery('ul.sf- menu').superfish(); });

 Goal: Create a simple web page form with a variety of form input elements that asks the user for name, age, , & comments with a submit button.  Steps:  Create a page with form elements  Make sure all required fields are completed  Check to make sure the is in the right format  Resources:  

 Please refer to  Add the tag  action=“contactus.php”  method=“post”  Add the following Form Elements:  use 1 for name, age, &  for the comment field 

 Please refer to sp sp  Make sure…  Name & are filled out  is in the proper format ▪ There is some text, then sign, some more text, then a dot (.), and then some more text