Yandex.Widgets Quick start
|
|
|
- Martin Harris
- 10 years ago
- Views:
Transcription
1
2 .. Version 2 Document build date: This volume is a part of Yandex technical documentation. Yandex helpdesk site: Yandex LLC. All rights reserved. Copyright Disclaimer Yandex (and its applicable licensor) has exclusive rights for all results of intellectual activity and equated to them means of individualization, used for development, support, and usage of the service. It may include, but not limited to, computer programs (software), databases, images, texts, other works and inventions, utility models, trademarks, service marks, and commercial denominations. The copyright is protected under provision of Part 4 of the Russian Civil Code and international laws. You may use or its components only within credentials granted by the Terms of Use of or within an appropriate Agreement. Any infringements of exclusive rights of the copyright owner are punishable under civil, administrative or criminal Russian laws. Contact information Yandex LLC Phone: [email protected] Headquarters: 16 L'va Tolstogo St., Moscow, Russia
3 Contents About the Quick Start Guide... 4 Hello, world!... 4 Distance Units Converter... 7 Index... 17
4 4 About the Quick Start Guide The Quick Start guide includes several examples that can help you get started working with widgets. Document structure This document consists of the following sections: 1. "Hello, world!" widget: an example that guides you through widget basics, from creating a widget to adding it to the widget catalog. You will need to have some basic HTML knowledge to work with the example. Knowing CSS is a plus. 2. Distance Units Converter widget: an example that demonstrates how to create widgets that dynamically process information. This widget will convert distance or length between various units of measurement (millimeters, centimeters, meters, inches and feet). The example also describes how to store the widget body on a designated server. You will need to have some basic HTML, JavaScript and CSS knowledge to work with the example. How to create a widget using a constructor Hello, world! This example demonstrates how to create a widget that prints the "Hello, world!" string on the screen. It describes how to upload the widget and how to add it to the catalog. What is inside a widget? Let's consider the following code: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns=" xmlns:widget=" ns/" > <head> <!-- Widget properties --> <meta name="title" content="hello, World!" /> <meta name="description" content="displays Hello, world!"/> </head> <body style="margin:0"> <!-- The widget body --> <p>hello, world!</p> </body> </html> This is a ready-made widget. The XHTML file contains: Widget description The description contains widget properties including the name, a short description of the functionality, etc. A widget should contain at least the title property (its name) which is required to upload the widget to Yandex: <meta name="title" content="hello, World!" />
5 5 Note: Additionally, the description can contain settings, which are described in the Distance Units Converter example. Widget body The widget body consists of HTML code, scripts and the table of styles, which implement the widget functions. In our example, the body consists of a single line: <p>hello, world!</p> The lines at the top of the file contain metadata: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns=" xmlns:widget=" ns/" >... </html> Attention! You should specify UTF-8 encoding. Please do not change these lines unless you clearly understand what you are doing. Inside a widget Widget properties Widget preferences How to create your own "Hello, world!" widget Create an empty file with the *.html extension and copy the widget code provided above to this file. Save the file. Now you can display the file in your browser. Note: Your browser opens files with the *.html extension by default. To allow editing of the file content, right-click the file and choose the context menu option Open with -> Select program... Select your text editor from the list of available programs. Right now our widget looks pretty dull. Add the following attribute to the tag <body>: <body style="background-color:#ffcc00; color:blue; margin:0;"> Now the text "Hello, world!" is displayed in blue letters on a bright yellow background. Now let's play with the widget properties. For example, the default widget height is 300 pixels. This is obviously too much for displaying a single text line. To solve this problem you can use the widget property height. Add the following line to the widget properties: <meta name="height" content="60" /> After the widget is uploaded to Yandex it will be displayed with a height of 60 pixels. The file contents should look like this:
6 6 <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns=" xmlns:widget=" ns/" > <head> <meta name="title" content="hello, World!" /> <meta name="description" content="displays the string Hello, world!"/> <meta name="height" content="60" /> </head> <body style="background-color:#ffcc00; color:blue; margin:0;"> <p>hello, world!</p> </body> </html> At this point, your browser should be displaying a yellow page with the text in the upper left corner. Now the widget is ready; you just need to upload it to the Yandex server in order to display the page you have created in a special designated frame (<iframe>). Creating a widget from scratch Widget template How do I upload a widget to Yandex? 1. Log in to the Developer Dashboard located at You should provide your Yandex login and password in order to access the dashboard. 2. Click the Create widget link. 3. Accept the user agreement. 4. Upload the widget data: The XHTML file for the widget. An icon for the catalog. If the upload is successful, you will be redirected to the widget editing page, where you can: Get a direct link for adding the widget. Send a request to add the widget to the shared catalog. Get code to insert into your blog. How to create a widget using a constructor How to add your widget to the widget catalog How can users install my widget? If you already know who your users are, you can just share the link to your widget with them. Users can add your widget on their pages by clicking this link. If the widget has already been added to the widget catalog, any user can find it and install it on their page. Information about the widget catalog How to add your widget to the widget catalog How does it work? When a user installs a widget, the <iframe> element is added to the page and the widget body is loaded into the element. The widget created in this example will look like this:
7 7 Distance Units Converter Developer's guide Distance Units Converter This example demonstrates how to create a widget which dynamically processes information using JavaScript. We will consider two different approaches to storing the widget body. Preparing the widget body The Distance Units Converter should convert between the following units: millimeters centimeters meters inches feet Create an HTML file implementing the widget interface: <html> <head> <style type="text/css"> body { background-color:#ffcc00; text-align:center; #toval{ color:blue; </style> </head> <body style="margin:0"> <table> <input type="text" id="fromval" style="width:80px"/> <select id="fromsystem"> <option value="mm">millimeters</option> <option selected="selected" value="cm">centimeters</option> <option value="m">meters</option> <option value="foot">feet</option> <option value="inch">inches</option> </select> <td colspan="2" align="center">= <input type="text" disabled="true" id="toval" style="width:80px"/></
8 8 td> <select id ="tosystem"> <option value="mm">millimeters</option> <option value="cm">centimeters</option> <option value="m">meters</option> <option selected="selected" value="foot">feet</option> <option value="inch">inches</option> </select> </table> </body> </html> This code creates two drop-down lists containing distance units of measurement, a field for entering the value to be converted, and an area for displaying the result. Simple style sheets are also provided. To convert data from one measurement system to another, let's use the millimeter as a base unit for distance and express all other units in terms of millimeters. We get the following ratio: Unit of measurement millimeter 1 centimeter 10 meter 1000 inch 25,4 foot 304,8 Let's express these relationships using a JavaScript object: var metrics = { "mm" : 1, "cm" : 10, "m" : 1000, "inch" : 25.4, "foot" : ; Then we can add the following conversion function: function convert(){ var val = document.getelementbyid("fromval").value; <!-- check if the entered value is correct --> if(isnan(val)){ return; <!-- if the value is correct let's convert it --> document.getelementbyid("toval").value = val * metrics[document.getelementbyid("fromsystem").value] / metrics[document.getelementbyid("tosystem").value]; The corresponding value in millimeters Now we need to make the function run each time the user changes the input value or chooses a new measurement unit. To do this we need to add the following event handlers: <input type="text" id="fromval" onfocus="watchchanges()" onblur="watchchanges()" />... <select id="fromsystem" onchange="convert()" />... <select id="tosystem" onchange="convert()" /> The fromval input field now has the events onfocus and onblur which call the function watchchanges. This function starts a timer, which monitors changes to the input field. Thus we can handle any changes, including pasting a value from the context menu. Here is the function code:
9 9 var interval = null; function watchchanges(){ interval == null? setinterval("convert()", 500) : clearinterval(interval); Now the page capable of handling the required conversions is ready. Here is the complete code: <html> <head> <style type="text/css"> body { background-color:#ffcc00; text-align:center; #toval{ color:blue; </style> <script type="text/javascript"> <!-- var metrics = { "mm" : 1, "cm" : 10, "m" : 1000, "inch" : 25.4, "foot" : ; function convert(){ var val = document.getelementbyid("fromval").value; if(isnan(val)){ return; document.getelementbyid("toval").value = val * metrics[document.getelementbyid("fromsystem").value] / metrics[document.getelementbyid("tosystem").value]; var interval = null; function watchchanges(){ interval == null? setinterval("convert()", 500) : clearinterval(interval); //--> </script> </head> <body style="margin:0"> <table> <input type="text" id="fromval" style="width:80px" onfocus="watchchanges()" onblur="watchchanges()"/> <select id="fromsystem" onchange="convert()"> <option value="mm">millimeters</option> <option selected="selected" value="cm">centimeters</option> <option value="m">meters</option> <option value="foot">feet</option> <option value="inch">inches</option> </select> <td colspan="2" align="center">= <input type="text" disabled="true" style="width:80px" id="toval"/></ td> <select id ="tosystem" onchange="convert()">
10 10 <option value="mm">millimeters</option> <option value="cm">centimeters</option> <option value="m">meters</option> <option selected="selected" value="foot">feet</option> <option value="inch">inches</option> </select> </table> </body> </html> Inside a widget Preparing the widget description The file containing the widget description must contain valid XHTML. For this reason, you should use the following format for the file where you create the widget description: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <html xmlns=" xmlns:widget=" ns/">... </html> Attention! You should specify UTF-8 encoding. The more detailed the properties section is, the easier it will be to find the widget in the shared catalog. Add the following fragment to the <head> block of the document: <meta name="title" content="distance Units Converter" /> <meta name="description" content="the Distance Units Converter can convert between various units used for measuring distance."/> This is where you provide information about the name of the widget and a description of its functionality. Custom settings (called preferences) are like variables where you can store information and use it, for example, to customize the widget's appearance. For example, you can add a preference that restricts operations to only work with certain measurement units. Add the following fragment to the <head> block: <widget:preferences> <preference name="mm" type="boolean" defaultvalue="true" label="millimeters" / > <preference name="cm" type="boolean" defaultvalue="true" label="centimeters" / > <preference name="m" type="boolean" defaultvalue="true" label="meters" /> <preference name="foot" type="boolean" defaultvalue="true" label="feet" /> <preference name="inch" type="boolean" defaultvalue="true" label="inches" /> </widget:preferences>
11 11 Note: To use the preferences, you should declare the namespace xmlns:widget=" wdgt.yandex.ru/ns/". Each preference is defined in a separate <preference> tag; all preferences are wrapped into the <widget:preferences> container tag. Note: The total size of the preferences should not exceed 1 kb. This is because the preferences are sent via the browser's address line (using an HTTP GET request). The following preferences form can be generated based on the code provided above: To display this form, users can click on the gear icon in the upper right corner of the widget when viewing the Yandex home page in Settings mode. Add the logic for handling preferences to the widget body: <script type="text/javascript" src=" widget.onload = function(){ widget.adjustiframeheight(); var metricnames = ["m", "cm", "mm", "foot", "inch"]; var metrics = ""; for(var i = 0; i < metricnames.length; ++i){ if(widget.getvalue(metricnames[i]) == "true"){ metrics += ("," + metricnames[i] + ","); function delothervaluesfromlist(list, values){ for(var i = 0; i < list.options.length;){ values.indexof("," + list.options[i].value + ",") == -1? list.remove(i) : + +i;
12 12 Note: This example uses the widget JavaScript API. To use this example you will need to include the file WidgetApi.js. For more information on the API, see the JS API reference. The widget event onload, which fires when the widget loads, uses the JS API method getvalue to receive the preferences that were added to the <widget:preferences> tag earlier. Note: For more information, see the section User preferences in the Developer's Guide. Then we call the delothervaluesfromlist function for both drop-down lists to remove any values that the user has not selected in the preferences form. Adding commas before and after values assures that they will be unique when you call the indexof function (otherwise, the index for meters "m" in the preferences string containing millimeters "mm" would be positive). For onload we also call the JS API method adjustiframeheight which adjusts the height of the <iframe> element so that the whole widget content is displayed without a vertical scroll bar. Widget properties Widget preferences Where to store widgets Widgets can be autonomous or server-side. The body of an autonomous widget is stored in the same file as its description. The body of server-side widgets is stored on a separate server (defined by the widget author) and the description file contains an additional src property which specifies the location of the body. Distance Units Converter as an autonomous widget To create an autonomous Distance Units Converter widget, put the widget body into the description file: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <html xmlns=" xmlns:widget=" ns/" > <head> <meta name="title" content="distance Units Converter" /> <meta name="description" content="the Distance Units Converter can convert between various units used for measuring distance."/> <widget:preferences> <preference name="mm" type="boolean" defaultvalue="true" label="millimeters" /> <preference name="cm" type="boolean" defaultvalue="true" label="centimeters," /> <preference name="m" type="boolean" defaultvalue="true" label="meters" /> <preference name="foot" type="boolean" defaultvalue="true" label="feet" /> <preference name="inch" type="boolean" defaultvalue="true" label="inches" / > </widget:preferences> <style type="text/css"> body { background-color:#ffcc00; text-align:center; #toval{
13 13 color:blue; </style> <script type="text/javascript" src=" WidgetApi.js"> </script> <script type="text/javascript"> <!-- var metrics = { "mm" : 1, "cm" : 10, "m" : 1000, "inch" : 25.4, "foot" : ; function convert(){ var val = document.getelementbyid("fromval").value; if(isnan(val)){ return; document.getelementbyid("toval").value = document.getelementbyid("fromval").value * metrics[document.getelementbyid("fromsystem").value] / metrics[document.getelementbyid("tosystem").value]; widget.onload = function(){ widget.adjustiframeheight(); var metricnames = ["m", "cm", "mm", "foot", "inch"]; var metrics = ""; for(var i = 0; i < metricnames.length; ++i){ if(widget.getvalue(metricnames[i]) == "true"){ metrics += ("," + metricnames[i] + ","); delothervaluesfromlist(document.getelementbyid("fromsystem"), metrics); delothervaluesfromlist(document.getelementbyid("tosystem"), metrics); function delothervaluesfromlist(list, values){ for(var i = 0; i < list.options.length;){ values.indexof("," + list.options[i].value + ",") == -1? list.remove(i) : ++i; var interval = null; function watchchanges(){ interval == null? setinterval("convert()", 500) : clearinterval(interval); //--> </script> </head> <body style="margin:0"> <table> <input type="text" id="fromval" style="width:80px" onfocus="watchchanges()" onblur="watchchanges()"/> <select id="fromsystem" onchange="convert()"> <option value="mm">millimeters</option> <option selected="selected" value="cm">centimeters</option> <option value="m">meters</option> <option value="foot">feet</option> <option value="inch">inches</option> </select>
14 14 <td colspan="2" align="center">= <input type="text" style="width:80px" disabled="true" id="toval"/></ td> <select id ="tosystem" onchange="convert()"> <option value="mm">millimeters</option> <option value="cm">centimeters</option> <option value="m">meters</option> <option selected="selected" value="foot">feet</option> <option value="inch">inches</option> </select> </table> </body> </html> Distance Units Converter as a server-side widget The body of a server-side widget should be hosted somewhere as a normal Internet page (in this example, the widget body is stored at Add the src property to the widget description: <meta name="src" content=" /> So the widget file will look like this: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns=" xmlns:widget=" ns/" > <head> <!-- Widget properties --> <meta name="title" content="distance Units Converter" /> <meta name="description" content="the Distance Units Converter can convert between various units used for measuring distance."/> <meta name="src" content=" /> <!-- Widget preferences --> <widget:preferences> <preference name="mm" type="boolean" defaultvalue="true" label="millimeters" /> <preference name="cm" type="boolean" defaultvalue="true" label="centimeters" /> <preference name="m" type="boolean" defaultvalue="true" label="meters" /> <preference name="foot" type="boolean" defaultvalue="true" label="feet" /> <preference name="inch" type="boolean" defaultvalue="true" label="inches" / > </widget:preferences> </head> <body style="margin:0"> </body> </html> The file will look like this:
15 15 <html> <head> <!-- Cascading style sheets --> <style type="text/css"> body { background-color:#ffcc00; text-align:center; #toval{ color:blue; </style> <script type="text/javascript" src=" WidgetApi.js"> </script> <script type="text/javascript"> <!-- var metrics = { "mm" : 1, "cm" : 10, "m" : 1000, "inch" : 25.4, "foot" : ; function convert(){ var val = document.getelementbyid("fromval").value; if(isnan(val)){ return; document.getelementbyid("toval").value = document.getelementbyid("fromval").value * metrics[document.getelementbyid("fromsystem").value] / metrics[document.getelementbyid("tosystem").value]; widget.onload = function(){ widget.adjustiframeheight(); var metricnames = ["m", "cm", "mm", "foot", "inch"]; var metrics = ""; for(var i = 0; i < metricnames.length; ++i){ if(widget.getvalue(metricnames[i]) == "true"){ metrics += ("," + metricnames[i] + ","); delothervaluesfromlist(document.getelementbyid("fromsystem"), metrics); delothervaluesfromlist(document.getelementbyid("tosystem"), metrics); function delothervaluesfromlist(list, values){ for(var i = 0; i < list.options.length;){ values.indexof("," + list.options[i].value + ",") == -1? list.remove(i) : ++i; var interval = null; function watchchanges(){ interval == null? setinterval("convert()", 500) : clearinterval(interval); //--> </script> </head> <body style="margin:0"> <table> <input type="text" id="fromval" style="width:80px" onfocus="watchchanges()" onblur="watchchanges()"/> <select id="fromsystem" onchange="convert()">
16 16 <option value="mm">millimeters</option> <option selected="selected" value="cm">centimeters</option> <option value="m">meters</option> <option value="foot">feet</option> <option value="inch">inches</option> </select> <td colspan="2" align="center">= <input type="text" style="width:80px" disabled="true" id="toval"/></ td> <select id ="tosystem" onchange="convert()"> <option value="mm">millimeters</option> <option value="cm">centimeters</option> <option value="m">meters</option> <option selected="selected" value="foot">feet</option> <option value="inch">inches</option> </select> </table> </body> </html> Autonomous and server-side widgets What is the result? The widget we have created looks like this: How to create a widget using a constructor How to add your widget to the widget catalog Developer's guide
17 Index example 7 Hello, World! 4 widget 4 example 4
18
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
Further web design: HTML forms
Further web design: HTML forms Practical workbook Aims and Learning Objectives The aim of this document is to introduce HTML forms. By the end of this course you will be able to: use existing forms on
Script Handbook for Interactive Scientific Website Building
Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step
Website Login Integration
SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2
JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript
Yandex.Translate API Developer's guide
5.08.2015 .. Version 1.5 Document build date: 5.08.2015. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2015 Yandex LLC. All rights reserved.
Web Development 1 A4 Project Description Web Architecture
Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:
JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.
1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,
PLAYER DEVELOPER GUIDE
PLAYER DEVELOPER GUIDE CONTENTS CREATING AND BRANDING A PLAYER IN BACKLOT 5 Player Platform and Browser Support 5 How Player Works 6 Setting up Players Using the Backlot API 6 Creating a Player Using the
Introduction to Web Design Curriculum Sample
Introduction to Web Design Curriculum Sample Thank you for evaluating our curriculum pack for your school! We have assembled what we believe to be the finest collection of materials anywhere to teach basic
Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?
Question 1. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? (b) Briefly identify the primary purpose of the flowing inside the body section of an HTML document: (i) HTML
Portals and Hosted Files
12 Portals and Hosted Files This chapter introduces Progress Rollbase Portals, portal pages, portal visitors setup and management, portal access control and login/authentication and recommended guidelines
BizFlow 9.0 BizCoves BluePrint
BizFlow 9.0 BizCoves BluePrint HandySoft Global Corporation 1952 Gallows Road Suite 100 Vienna, VA USA 703.442.5600 www.handysoft.com 1999-2004 HANDYSOFT GLOBAL CORPORATION. ALL RIGHTS RESERVED. THIS DOCUMENTATION
How to Deploy Custom Visualizations Using D3 on MSTR 10. Version 1.0. Presented by: Felipe Vilela
How to Deploy Custom Visualizations Using D3 on MSTR 10 Version 1.0 Presented by: Felipe Vilela Table of Contents How to deploy Custom Visualizations using D3 on MSTR 10... 1 Version 1.0... 1 Table of
Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is.
Intell-a-Keeper Reporting System Technical Programming Guide Tracking your Bookings without going Nuts! http://www.acorn-is.com 877-ACORN-99 Step 1: Contact Marian Talbert at Acorn Internet Services at
Website Planning Checklist
Website Planning Checklist The following checklist will help clarify your needs and goals when creating a website you ll be surprised at how many decisions must be made before any production begins! Even
JISIS and Web Technologies
27 November 2012 Status: Draft Author: Jean-Claude Dauphin JISIS and Web Technologies I. Introduction This document does aspire to explain how J-ISIS is related to Web technologies and how to use J-ISIS
ACCESSING THE PROGRESS OPENEDGE APPSERVER FROM PROGRESS ROLLBASE USING JSDO CODE
ACCESSING THE PROGRESS OPENEDGE APPSERVER FROM PROGRESS ROLLBASE USING JSDO CODE BY EDSEL GARCIA, PRINCIPAL SOFTWARE ENGINEER, PROGRESS OPENEDGE DEVELOPMENT 2 TABLE OF CONTENTS Introduction 3 Components
Usage Tracking for IBM InfoSphere Business Glossary
Usage Tracking for IBM InfoSphere Business Glossary InfoSphere Business Glossary Version 8.7 and later includes a feature that allows you to track usage of InfoSphere Business Glossary through web analytics
Virtual Exhibit 5.0 requires that you have PastPerfect version 5.0 or higher with the MultiMedia and Virtual Exhibit Upgrades.
28 VIRTUAL EXHIBIT Virtual Exhibit (VE) is the instant Web exhibit creation tool for PastPerfect Museum Software. Virtual Exhibit converts selected collection records and images from PastPerfect to HTML
JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. [email protected] www.javapassion.com
JavaScript Basics & HTML DOM Sang Shin Java Technology Architect Sun Microsystems, Inc. [email protected] www.javapassion.com 2 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee
Dynamic Web-Enabled Data Collection
Dynamic Web-Enabled Data Collection S. David Riba, Introduction Web-based Data Collection Forms Error Trapping Server Side Validation Client Side Validation Dynamic generation of web pages with Scripting
Client-side Web Engineering From HTML to AJAX
Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions
SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual
2013 SPHOL326: Designing a SharePoint 2013 Site Hands-On Lab Lab Manual This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web site references,
Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2
Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry
ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014
ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014 What is Angular Js? Open Source JavaScript framework for dynamic web apps. Developed in 2009 by Miško Hevery and Adam Abrons.
Visualization: Combo Chart - Google Chart Tools - Google Code
Page 1 of 8 Google Chart Tools Home Docs FAQ Forum Terms Visualization: Combo Chart Overview Example Loading Data Format Configuration Options Methods Events Data Policy Overview A chart that lets you
Novell Identity Manager
AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with
Madison Area Technical College. MATC Web Style Guide
Madison Area Technical College MATC Web Style Guide July 27, 2005 Table of Contents Topic Page Introduction/Purpose 3 Overview 4 Requests for Adding Content to the Web Server 3 The MATC Public Web Template
JavaScript and Dreamweaver Examples
JavaScript and Dreamweaver Examples CSC 103 October 15, 2007 Overview The World is Flat discussion JavaScript Examples Using Dreamweaver HTML in Dreamweaver JavaScript Homework 3 (due Friday) 1 JavaScript
HTML TIPS FOR DESIGNING
This is the first column. Look at me, I m the second column.
Integrating Luceo with your Website Using iframes. Version 4.1 Jan 15, 2013
Integrating Luceo with your Website Using iframes Version 4.1 Jan 15, 2013 Table of Contents Table of Contents... 2 Preface... 3 Confidential Information... 3 Intellectual Property... 3 Quick Start Guide...
HTML Forms and CONTROLS
HTML Forms and CONTROLS Web forms also called Fill-out Forms, let a user return information to a web server for some action. The processing of incoming data is handled by a script or program written in
Login with Amazon. Getting Started Guide for Websites. Version 1.0
Login with Amazon Getting Started Guide for Websites Version 1.0 Login with Amazon: Getting Started Guide for Websites Copyright 2016 Amazon Services, LLC or its affiliates. All rights reserved. Amazon
HTML Tables. IT 3203 Introduction to Web Development
IT 3203 Introduction to Web Development Tables and Forms September 3 HTML Tables Tables are your friend: Data in rows and columns Positioning of information (But you should use style sheets for this) Slicing
CS412 Interactive Lab Creating a Simple Web Form
CS412 Interactive Lab Creating a Simple Web Form Introduction In this laboratory, we will create a simple web form using HTML. You have seen several examples of HTML pages and forms as you have worked
Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY
Advanced Web Development Duration: 6 Months SCOPE OF WEB DEVELOPMENT INDUSTRY Web development jobs have taken thе hot seat when it comes to career opportunities and positions as a Web developer, as every
Microsoft Expression Web
Microsoft Expression Web Microsoft Expression Web is the new program from Microsoft to replace Frontpage as a website editing program. While the layout has changed, it still functions much the same as
Hello World RESTful web service tutorial
Hello World RESTful web service tutorial Balázs Simon ([email protected]), BME IIT, 2015 1 Introduction This document describes how to create a Hello World RESTful web service in Eclipse using JAX-RS
Introduction to XHTML. 2010, Robert K. Moniot 1
Chapter 4 Introduction to XHTML 2010, Robert K. Moniot 1 OBJECTIVES In this chapter, you will learn: Characteristics of XHTML vs. older HTML. How to write XHTML to create web pages: Controlling document
WHITEPAPER. Skinning Guide. Let s chat. 800.9.Velaro www.velaro.com [email protected]. 2012 by Velaro
WHITEPAPER Skinning Guide Let s chat. 2012 by Velaro 800.9.Velaro www.velaro.com [email protected] INTRODUCTION Throughout the course of a chat conversation, there are a number of different web pages that
WebSphere Business Monitor V7.0 Script adapter lab
Copyright IBM Corporation 2010 All rights reserved IBM WEBSPHERE BUSINESS MONITOR 7.0 LAB EXERCISE WebSphere Business Monitor V7.0 Script adapter lab What this exercise is about... 1 Changes from the previous
... Asbru Web Content Management System. Getting Started. Easily & Inexpensively Create, Publish & Manage Your Websites
Asbru Ltd Asbru Ltd wwwasbrusoftcom info@asbrusoftcom Asbru Web Content Easily & Inexpensively Create, Publish & Manage Your Websites 31 March 2015 Copyright 2015 Asbru Ltd Version 92 1 Table of Contents
Step by step guides. Deploying your first web app to your FREE Azure Subscription with Visual Studio 2015
Step by step guides Deploying your first web app to your FREE Azure Subscription with Visual Studio 2015 Websites are a mainstay of online activities whether you want a personal site for yourself or a
Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5
Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5 Jason Clark Head of Digital Access & Web Services Montana State University Library pinboard.in #tag pinboard.in/u:jasonclark/t:lita-html5/
LAB MANUAL CS-322364(22): Web Technology
RUNGTA COLLEGE OF ENGINEERING & TECHNOLOGY (Approved by AICTE, New Delhi & Affiliated to CSVTU, Bhilai) Kohka Kurud Road Bhilai [C.G.] LAB MANUAL CS-322364(22): Web Technology Department of COMPUTER SCIENCE
STATGRAPHICS Online. Statistical Analysis and Data Visualization System. Revised 6/21/2012. Copyright 2012 by StatPoint Technologies, Inc.
STATGRAPHICS Online Statistical Analysis and Data Visualization System Revised 6/21/2012 Copyright 2012 by StatPoint Technologies, Inc. All rights reserved. Table of Contents Introduction... 1 Chapter
Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect
Introduction Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect This document describes the process for configuring an iplanet web server for the following situation: Require that clients
UH CMS Basics. Cascade CMS Basics Class. UH CMS Basics Updated: June,2011! Page 1
UH CMS Basics Cascade CMS Basics Class UH CMS Basics Updated: June,2011! Page 1 Introduction I. What is a CMS?! A CMS or Content Management System is a web based piece of software used to create web content,
Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)
Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) [This is the second of a series of white papers on implementing applications with special requirements for data
Blackboard 9.1 Basic Instructor Manual
Blackboard 9.1 Basic Instructor Manual 1. Introduction to Blackboard 9.1... 2 1.1 Logging in to Blackboard... 3 2. The Edit Mode on... 3 3. Editing the course menu... 4 3.1 The course menu explained...
Apple Applications > Safari 2008-10-15
Safari User Guide for Web Developers Apple Applications > Safari 2008-10-15 Apple Inc. 2008 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
Making Web Application using Tizen Web UI Framework. Koeun Choi
Making Web Application using Tizen Web UI Framework Koeun Choi Contents Overview Web Applications using Web UI Framework Tizen Web UI Framework Web UI Framework Launching Flow Web Winsets Making Web Application
Direct Post Method (DPM) Developer Guide
(DPM) Developer Guide Card Not Present Transactions Authorize.Net Developer Support http://developer.authorize.net Authorize.Net LLC 2/22/11 Ver. Ver 1.1 (DPM) Developer Guide Authorize.Net LLC ( Authorize.Net
Lab 5 Introduction to Java Scripts
King Abdul-Aziz University Faculty of Computing and Information Technology Department of Information Technology Internet Applications CPIT405 Lab Instructor: Akbar Badhusha MOHIDEEN Lab 5 Introduction
Visualizing a Neo4j Graph Database with KeyLines
Visualizing a Neo4j Graph Database with KeyLines Introduction 2! What is a graph database? 2! What is Neo4j? 2! Why visualize Neo4j? 3! Visualization Architecture 4! Benefits of the KeyLines/Neo4j architecture
DocuSign for Salesforce Administrator Guide v6.1.1 Rev A Published: July 16, 2015
DocuSign for Salesforce Administrator Guide v6.1.1 Rev A Published: July 16, 2015 Copyright Copyright 2003-2015 DocuSign, Inc. All rights reserved. For information about DocuSign trademarks, copyrights
Fortigate SSL VPN 4 With PINsafe Installation Notes
Fortigate SSL VPN 4 With PINsafe Installation Notes Table of Contents Fortigate SSL VPN 4 With PINsafe Installation Notes... 1 1. Introduction... 2 2. Overview... 2 2.1. Prerequisites... 2 2.2. Baseline...
Taleo Enterprise. Career Section Branding Definition. Version 7.5
Taleo Enterprise Career Section Branding Definition Version 7.5 March 2010 Confidential Information It shall be agreed by the recipient of the document (hereafter referred to as the other party ) that
IMRG Peermap API Documentation V 5.0
IMRG Peermap API Documentation V 5.0 An Introduction to the IMRG Peermap Service... 2 Using a Tag Manager... 2 Inserting your Unique API Key within the Script... 2 The JavaScript Snippet... 3 Adding the
JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved.
1 10 JavaScript: Arrays 2 With sobs and tears he sorted out Those of the largest size... Lewis Carroll Attempt the end, and never stand to doubt; Nothing s so hard, but search will find it out. Robert
Slide.Show Quick Start Guide
Slide.Show Quick Start Guide Vertigo Software December 2007 Contents Introduction... 1 Your first slideshow with Slide.Show... 1 Step 1: Embed the control... 2 Step 2: Configure the control... 3 Step 3:
Programming the Web 06CS73 SAMPLE QUESTIONS
Programming the Web 06CS73 SAMPLE QUESTIONS Q1a. Explain standard XHTML Document structure Q1b. What is web server? Name any three web servers Q2. What is hypertext protocol? Explain the request phase
Dashbuilder Documentation Version 6.1.0.Final
Dashbuilder Documentation Version 6.1.0.Final by The JBoss Dashbuilder team [http://dashbuilder.org/team.html] ... v 1. Introduction... 1 1.1. What is Dashbuilder?... 1 1.2. How to install and run it...
Spectrum Technology Platform
Spectrum Technology Platform Version 8.0.0 SP2 RIA Getting Started Guide Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or
Advanced Web Design. Zac Van Note. www.design-link.org
Advanced Web Design Zac Van Note www.design-link.org COURSE ID: CP 341F90033T COURSE TITLE: Advanced Web Design COURSE DESCRIPTION: 2/21/04 Sat 9:00:00 AM - 4:00:00 PM 1 day Recommended Text: HTML for
Job Ready Assessment Blueprint. Web Design. Test Code: 2750 / Version: 01. Copyright 2011. All Rights Reserved.
Job Ready Assessment Blueprint Web Design Test Code: 2750 / Version: 01 Copyright 2011. All Rights Reserved. General Assessment Information Blueprint Contents General Assessment Information Written Assessment
Appspace 5.X Reference Guide (Digital Signage) Updated on February 9, 2015
Appspace 5.X Reference Guide (Digital Signage) Updated on February 9, 2015 1 TABLE OF CONTENTS 2 What is Appspace For Digital Signage... 4 3 Access Appspace... 4 4 Best Practices and Notes... 4 5 Appspace
Integration Guide. Integrating Extole with Adobe Target. Overview. Before You Begin. Advantages of A/B Testing
Integrating Extole with Adobe Target Overview Extole partners with Adobe Target so that marketers can easily deploy Extole tags and test your referral program to improve its performance. A/B testing will
<option> eggs </option> <option> cheese </option> </select> </p> </form>
FORMS IN HTML A form is the usual way information is gotten from a browser to a server HTML has tags to create a collection of objects that implement this information gathering The objects are called widgets
Creating Online Surveys with Qualtrics Survey Tool
Creating Online Surveys with Qualtrics Survey Tool Copyright 2015, Faculty and Staff Training, West Chester University. A member of the Pennsylvania State System of Higher Education. No portion of this
InPost UK Limited GeoWidget Integration Guide Version 1.1
InPost UK Limited GeoWidget Integration Guide Version 1.1 Contents 1.0. Introduction... 3 1.0.1. Using this Document... 3 1.0.1.1. Document Purpose... 3 1.0.1.2. Intended Audience... 3 1.0.2. Background...
Sitecore Dashboard User Guide
Sitecore Dashboard User Guide Contents Overview... 2 Installation... 2 Getting Started... 3 Sample Widgets... 3 Logged In... 3 Job Viewer... 3 Workflow State... 3 Publish Queue Viewer... 4 Quick Links...
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
Developing Web Views for VMware vcenter Orchestrator
Developing Web Views for VMware vcenter Orchestrator vcenter Orchestrator 5.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced
2- Forms and JavaScript Course: Developing web- based applica<ons
2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements
Umbraco v4 Editors Manual
Umbraco v4 Editors Manual Produced by the Umbraco Community Umbraco // The Friendly CMS Contents 1 Introduction... 3 2 Getting Started with Umbraco... 4 2.1 Logging On... 4 2.2 The Edit Mode Interface...
Xtreeme Search Engine Studio Help. 2007 Xtreeme
Xtreeme Search Engine Studio Help 2007 Xtreeme I Search Engine Studio Help Table of Contents Part I Introduction 2 Part II Requirements 4 Part III Features 7 Part IV Quick Start Tutorials 9 1 Steps to
VMware vcenter Operations Manager Administration Guide
VMware vcenter Operations Manager Administration Guide Custom User Interface vcenter Operations Manager 5.6 This document supports the version of each product listed and supports all subsequent versions
A Tale of the Weaknesses of Current Client-side XSS Filtering
A Tale of the Weaknesses of Current Client-side XSS Filtering Sebastian Lekies (@sebastianlekies), Ben Stock (@kcotsneb) and Martin Johns (@datenkeller) Attention hackers! These slides are preliminary!
Visualizing an OrientDB Graph Database with KeyLines
Visualizing an OrientDB Graph Database with KeyLines Visualizing an OrientDB Graph Database with KeyLines 1! Introduction 2! What is a graph database? 2! What is OrientDB? 2! Why visualize OrientDB? 3!
Caldes CM12: Content Management Software Introduction v1.9
Caldes CM12: Content Management Software Introduction v1.9 Enterprise Version: If you are using Express, please contact us. Background Information This manual assumes that you have some basic knowledge
Uploaded images filter evasion for carrying out XSS attacks
February 25, 2007 Uploaded images filter evasion for carrying out XSS attacks Digitаl Security Research Group (DSecRG) Alexander Polyakov [email protected] http://dsecrg.ru Table of contents Introduction...3
5.1 Features 1.877.204.6679. [email protected] Denver CO 80202
1.877.204.6679 www.fourwindsinteractive.com 3012 Huron Street [email protected] Denver CO 80202 5.1 Features Copyright 2014 Four Winds Interactive LLC. All rights reserved. All documentation
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
About Google Analytics
About Google Analytics v10 OmniUpdate, Inc. 1320 Flynn Road, Suite 100 Camarillo, CA 93012 OmniUpdate, Inc. 1320 Flynn Road, Suite 100 Camarillo, CA 93012 800.362.2605 805.484.9428 (fax) www.omniupdate.com
Fortigate SSL VPN 3.x With PINsafe Installation Notes
Fortigate SSL VPN 3.x With PINsafe Installation Notes Table of Contents Fortigate SSL VPN 3.x With PINsafe Installation Notes... 1 1. Introduction... 2 2. Overview... 2 2.1. Prerequisites... 2 2.2. Baseline...
Installation and Integration Manual TRANZILA Secure 5
Installation and Integration Manual TRANZILA Secure 5 Last update: July 14, 2008 Copyright 2003 InterSpace Ltd., All Rights Reserved Contents 19 Yad Harutzim St. POB 8723 New Industrial Zone, Netanya,
Cascade Server. End User Training Guide. OIT Training and Documentation Services OIT TRAINING AND DOCUMENTATION. oittraining@uta.
OIT Training and Documentation Services Cascade Server End User Training Guide OIT TRAINING AND DOCUMENTATION [email protected] http://www.uta.edu/oit/cs/training/index.php 2013 CONTENTS 1. Introduction
Salesforce Customer Portal Implementation Guide
Salesforce Customer Portal Implementation Guide Salesforce, Winter 16 @salesforcedocs Last updated: December 10, 2015 Copyright 2000 2015 salesforce.com, inc. All rights reserved. Salesforce is a registered
Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server
Paper 10740-2016 Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server ABSTRACT Romain Miralles, Genomic Health. As SAS programmers, we often develop listings,
Internet Technologies
QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department [email protected] http://ce.qu.edu.az/~aadamov What are forms?
