Creating Web Documents Questions on JavaScript (lecture, text)? Work on JavaScript examples and/or Project III Calculations Homework: experiment, research.

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

A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
Macromedia Dreamweaver 4 Foundation Level Course.
CIS101 Introduction to Computing Week 03. Agenda Your questions Online gradebook and quizzes Register for WEBSPACE Excel project two This week’s assignments.
Searching The Web Search Engines are computer programs (variously called robots, crawlers, spiders, worms) that automatically visit Web sites and, starting.
1 ETT 429 Spring 2007 Microsoft Publisher II. 2 World Wide Web Terminology Internet Web pages Browsers Search Engines.
IS 360 Web Promotion. Slide 2 Overview How to attract visitors.
Computer Science 103 Chapter 4 Advanced JavaScript.
Introduction Web Development II 5 th February. Introduction to Web Development Search engines Discussion boards, bulletin boards, other online collaboration.
CS 299 – Web Programming and Design Overview of JavaScript and DOM Instructor: Dr. Fang (Daisy) Tang.
There is a certain way that an HTML file should be set up. The HTML section declares a beginning and an ending. Within the HTML, there should be a HEAD.
Basic HTML All About Me - Your Name Information for display.
 Popularity of browsers:  Popularity of search.
Creating Databases applications for the Web Reprise. Basic HTML review, forms Preview: Server side vs client side Classwork: create HTML forms and check.
Slide 1 Today you will: think about criteria for judging a website understand that an effective website will match the needs and interests of users use.
1 Web Developer Foundations: Using XHTML Chapter 11 Web Page Promotion Concepts.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
Search Engine Optimization. Introduction SEO is a technique used to optimize a web site for search engines like Google, Yahoo, etc. It improves the volume.
IPUB 100 Lesson 2 Instructor Mark Lamontagne Homework Review.
1 Web Developer & Design Foundations with XHTML Chapter 13 Key Concepts.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Web Design Unit Assignment #2: Job Skills Favorite Links Page You will create a HTML web page with links to informational websites about a variety of job.
Creating Web Documents XHTML Project II topics should be posted Start Forms Homework: Forms not required for midterm or project 2. At some point, read.
Click on surfer mouse to catch a wave. The Internet is a worldwide network of _______ that are connected by wires and cables. Click the picture below.
Chapter 5: XHTML, Part 2 CIS 275—Web Application Development for Business I.
Title, meta, link, script.  The title looks like:  The tag defines the title of the document in the browser toolbar.  It also: ◦ Provides a title for.
 Popularity of browsers:  Popularity of search.
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Fourth Edition Discovering the Internet Discovering the Internet Complete Concepts and Techniques, Second Edition Chapter 3 Searching the Web.
MS FrontPage 1: Developing a web site for the Sunny Morning Products Yong Choi CSU Bakersfield.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Search Engine Optimization. Definition  Search engine optimization or SEO, is the process of increasing the amount of visitors to a website by ranking.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 3 1 Searching the Web Using Search Engines and Directories Effectively Tutorial.
McLean HIGHER COMPUTER NETWORKING Lesson 7 Search engines Description of search engine methods.
CSC 8560Fall 2000 Computer NetworksBhargavi Balasubramanian & Bob Viola Project 1 Description: E-Commerce Objective:Build a web storefront to sell videos.
ITCS373: Internet Technology Lecture 5: More HTML.
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
Multimedia & The World Wide Web winny HCI 201 Multimedia and the www.
Stop Searching and Start FINDING: Strategies for Effective Web Research.
TODAY’S Lesson   Searching on the Internet . VOCABULARY  Search Engine  Web site  Spider  String/Indexer  Server  Link  Boolean  Query.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Web Design Guidelines by Scott Grissom 1 Designing for the Web  Web site design  Web page design  Web usability  Web site design  Web page design.
Programming games Show shaking screen, quiz show. Calculations Homework: (Finish basic Javascript Projects) Make proposal. Work on project.
SEO. SEO Market Store Best Practice “The Rakuten Merchant Package for SEO will aid in improving the visibility of your store in search.” Getting Started.
Creating Web documents Questions on JavaScript Hints calendar example "Great homepages really suck" Homework: Project 3.
CPT 499 Internet Skills for Educators Session Three Class Notes.
Creating Web Documents catch-up JavaScript slide show tools redirection.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
Unit 1—Computer Basics Lesson 3 The Internet and Research.
SEO Friendly Website Building a visually stunning website is not enough to ensure any success for your online presence.
Search Engine Know- How: How To Optimize Your Content, Navigation Pages, & Documents For Search Engines.
Chapter 1 Getting Listed. Objectives Understand how search engines work Use various strategies of getting listed in search engines Register with search.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
How to find a specific topic on a Web site with many links.
Internet Search Operators Richard Goldman January 26, 2000.
SEARCH ENGINES The World Wide Web contains a wealth of information, so much so that without search facilities it could be impossible to find what you were.
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.
Third Edition Discovering the Internet Discovering the Internet Complete Concepts and Techniques, Second Edition Chapter 3 Searching the Web.
Creating Web Documents CSS examples (do more later) Lab/Homework: Read chapters 15 & 16. Work on Project 3, do postings.
Basic concepts of web design
Search Engine Optimization
Electronic Communication
Objective % Explain concepts used to create websites.
Lesson Objectives Aims You should know about: – Web Technologies
Computer communications
Objective Explain concepts used to create websites.
Presentation transcript:

Creating Web Documents Questions on JavaScript (lecture, text)? Work on JavaScript examples and/or Project III Calculations Homework: experiment, research on search engines

Getting to your site People (your audience) get to your web site through –Off-line information –Links on other sites (paid or not-paid) portals –Search ‘engines’ Yahoo (now uses google) Google Metacrawler Ask Jeeves Overture –(Guessing at name)

Search /portal sites Some require registration –Some take money for ads or special placement. Some use programs to find sites (bots, spiders). These make use of –meta tags (see next) –titles (titles are also what gets put in book marks) –words on page (visible and not visible) –words on links to page

Meta tags Go in head section. Various types. One use is for browsers and search engines.

Calculations Form input: calculate bill –simple one using text (no special formatting) –one using select & radio buttons PLUS formats money Need to extract, do calculations, and then display values.

Computation test function total(f) { var chocolateprice = 2.50; var cocoaprice = 3.00; var chocolatecost = chocolateprice * f.choc.value; var cocoacost = cocoaprice*f.cocoa.value; var taxrate =.06; var totalcost = chocolatecost + cocoacost; var totalpay = totalcost + taxrate*totalcost; var totals = "Total is " + totalcost + " with tax is " + totalpay; f.cost.value=totalcost; f.wtax.value=totalpay; return false; }

Application Form for Chocolate Enter number of goods in each category. Boxes of Chocolate: Boxes of Cocoa: Total:

More complex example Need to extract the select value and the radio checked value What if the calculated total is: 2.7 or ? UGLY!!!

Calculation function addup(f) { var total; var taxrate =.08; var drinkbase; opts=f.drink; drinkbase = f.drink[opts.selectedIndex].value; var sizefactor; var i; var totals; var dp; for (i=0;i<f.sizef.length;i++) { if (f.sizef[i].checked) { sizefactor = f.sizef[i].value; } }

total = sizefactor * drinkbase; total = total*(1 + taxrate); f.label.value="Total with tax"; f.totalf.value=total; totals = f.totalf.value + "00"; dp = totals.indexOf("."); if (dp<0) { f.totalf.value = "$" + f.totalf.value+".00"; } else {totals = "$" + totals.substr(0,dp+3); f.totalf.value = totals; } return false; }

Coffee shop Coffee Hot Cocoa Chai Tall Grand Super

Money formatting The code looks for a decimal point (".") dp = totals.indexOf("."); If there isn't one (dp<0 indicates none found, then code adds a dollar sign and ".00" to what was placed in f.totalf.value If there is one, then code places a dollar sign plus the string up to and including where the decimal point is plus 2 more places. The code says dp+3 because dp gives the index, not the length and substr expects length.

Money formatting Note: the example as posted doesn't check all the cases for money--that is, the case of whole dollars won't occur. rachel.ns.purchase.edu/~Jeanine/chocolatesimple.html rachel.ns.purchase.edu/~Jeanine/chocolate.html

Homework Identify two topics (with more than one keyword) –One corresponding to your project 2 or project 3 –An academic or personal (not too personal) interest Research / find sites using two different search engines (your favorite and one you haven’t used very much) Determine how the search engines get their lists, determine hit order Report on CourseInfo

Project III Make posting on topic, team. Include purpose & audience. Use keywords & (terse) description. Review style text. Work on quality of layout. Remember –Project III must have multiple uses of JavaScript and use of form for visitor feedback. –Include also at least one use of tables and one use of frames –Include image map or image slicing –An animation (animated gif) –Use lists (ul or ol), centering, changes of text size, as appropriate, images and links –use of styles (to be discussed more. Read in text.) –use of meta tags (keywords and description) –Sign your project, including link