The most basic form of a web page showing a single register value looks like this in raw HTML code form:

Similar documents
HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Using The HomeVision Web Server

Joomla Article Advanced Topics: Table Layouts

Dreamweaver Tutorials Creating a Web Contact Form

ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat

This tutorial assumes that you are familiar with ASP.Net and ActiveX controls.

Enterprise Web Developer : Using the Emprise Javascript Charting Widgets.

Caldes CM12: Content Management Software Introduction v1.9

The Essential Guide to HTML Design

CREATING EXCEL PIVOT TABLES AND PIVOT CHARTS FOR LIBRARY QUESTIONNAIRE RESULTS

jquery Tutorial for Beginners: Nothing But the Goods

WEB DEVELOPMENT IA & IB (893 & 894)

HTML Fails: What No One Tells You About HTML

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module.

Designing and Implementing Forms 34

Web Authoring. Module Descriptor

Joomla! 2.5.x Training Manual

Coding HTML Tips, Tricks and Best Practices

Applying the Corporate Identity to the Web WEB GUIDELINES

This document will describe how you can create your own, fully responsive. drag and drop template to use in the creator.

An overview of designing HTML s for Hotmail, Yahoo, Outlook, Lotus Notes and AOL

Advanced Online Media Dr. Cindy Royal Texas State University - San Marcos School of Journalism and Mass Communication

Microsoft FrontPage 2003

WEB DESIGN COURSE CONTENT

JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

Chapter 1 Introduction to web development and PHP

Excel Tutorial. Bio 150B Excel Tutorial 1

Create interactive web graphics out of your SAS or R datasets

IE Class Web Design Curriculum

User Guide for Smart Former Gold (v. 1.0) by IToris Inc. team

Overview. How It Works

Dreamweaver CS3 THE MISSING MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

Web Design Course. Home Page. Join in. Home. Objectives. Course Content. Assignments & Discussion. Grades. Help. Contact Me aab43@uakron.

JJY s Joomla 1.5 Template Design Tutorial:

Note; Sample Analysis, names and product type changed to protect privacy

Fast track to HTML & CSS 101 (Web Design)

Virto SharePoint Gantt Chart Web Part for SharePoint 2013 Release User and Installation Guide

Voluntary Product Accessibility Template Blackboard Learn Release 9.1 April 2014 (Published April 30, 2014)

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course.

Links Getting Started with Widgets, Gadgets and Mobile Apps

Form And List. SuperUsers. Configuring Moderation & Feedback Management Setti. Troubleshooting: Feedback Doesn't Send

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella

Google AdWords TM Conversion Tracking Guide

Differences between HTML and HTML 5

Creating a Website with MS Publisher

The Essential Guide to HTML Design

Campaign Guidelines and Best Practices

Joomla 1.0 Extension Development Training. Learning to program for Joomla

understand how image maps can enhance a design and make a site more interactive know how to create an image map easily with Dreamweaver

Contents. Downloading the Data Files Centering Page Elements... 6

OPENTABLE GROUP SEARCH MODULE GETTING STARTED ADD RESERVATIONS TO YOUR WEBSITE

Web Performance Boot Camp. Speed It Up

Secure Testing Service

Developer Tutorial Version 1. 0 February 2015

Support/ User guide HMA Content Management System

Responsive Web Design Creative License

DESIGNING MOBILE FRIENDLY S

PE Content and Methods Create a Website Portfolio using MS Word

CREATE A WEB PAGE WITH LINKS TO DOCUMENTS USING MICROSOFT WORD 2007

HTML5 & CSS3. ( What about SharePoint? ) presented

Virto SharePoint Gantt Chart App for Office 365 Release User and Installation Guide

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Dreamweaver and Fireworks MX Integration Brian Hogan

Introduction to Web Development

Make a Joomla Template in 5 Easy Steps A Beginners Guide

HTML Tables. IT 3203 Introduction to Web Development

FORMS. Introduction. Form Basics

Adding web interfaces to complex scientific computer models brings the following benefits:

Quick and Easy Web Maps with Google Fusion Tables. SCO Technical Paper

Appendix H: Cascading Style Sheets (CSS)

<Insert Picture Here>

How To Use Mugeda Content

Integrating Luceo with your Website Using iframes. Version 4.1 Jan 15, 2013

Microsoft Expression Web Quickstart Guide

CONTENTM WEBSITE MANAGEMENT SYSTEM. Getting Started Guide

Starting User Guide 11/29/2011

Dashboard Builder TM for Microsoft Access

Turning Data into Information Tools, Tips, and Training

Further web design: HTML forms

HTML Forms and CONTROLS

How To Contact The Author Introduction What You Will Need The Basic Report Adding the Parameter... 9

How to make a custom Joomla template!

WebCenter User experience. John

Adobe Dreamweaver CC 14 Tutorial

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers

Web Development 1 A4 Project Description Web Architecture

Lab 2: Visualization with d3.js

If you have any questions about the recommendations we have made, please feel free to contact us at

CLASSROOM WEB DESIGNING COURSE

Chapter 5 Configuring the Remote Access Web Portal

Visualizing a Neo4j Graph Database with KeyLines

How to build Dashboard - Step by Step tutorial/recipe

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Creating Web Pages with Netscape/Mozilla Composer and Uploading Files with CuteFTP

Web Developer Jr - Newbie Course

How To Customize A Forum On Vanilla Forum On A Pcode (Forum) On A Windows (For Forum) On An Html5 (Forums) On Pcode Or Windows 7 (Forforums) On Your Pc

Transcription:

User HTML for Control Solutions Web Servers The following is a brief introduction to the sample web sites that can be downloaded to an AddMe III or AddMe Jr. web server. Each sample directory includes a screen shot of the page constructed, and a directory named upload. The entire contents of the upload directory should be loaded into the /FLASH0 directory of the server. Simple Text Example #1 The most basic form of a web page showing a single register value looks like this in raw HTML code form: <html> <head></head> <body> <p>my register is: <input type="text" name="reg1001" value="%.1f" readonly size="10" /></p> </body> </html> The resulting page looks pretty simple, like this: Note that this example includes no buttons, and is a read only page meaning we are not able to input anything back to the server.

Blackberry Example #2 This sample page is designed to fit on a Blackberry screen. It looks a little odd on a PC s browser, but fits cleanly on the Blackberry screen. This page still consists of only a single page, and is read only, not accepting input back to the browser. This page does illustrate the technique for building a tabular representation of data. You start by placing an HTML table on the page in your web authoring tool, then add input boxes with the readonly tag selected. The resulting page should come out looking something like this on the PC browser: You could easily convert this page to accept input. Remove the readonly tag from each input box to be enabled, and add a second submit type button named submitchange with a value of Change.

Building Monitor Example #3 This is a subset of what you might have for a building monitoring site, but it illustrates a few points worth knowing about. This page includes a submit button that does accept changes. Values are sent back to the same local registers that they came from when the page was served. This page illustrates linking both to additional user pages, and to accessing the preprogrammed pages in the server. The additional user pages in this sample site illustrate the alternate form of input, the drop box, referred to in HTML as a <select>. When the pages in this example are served, you will see a picture with input boxes and drop boxes appearing to be superimposed on the picture. The trick for doing this is to create a table with many rows and columns, and place the input box in the desired cell of the table to position it over the picture. Set the table s border to zero to get rid of any visible hint of a table. Please note that learning basic HTML is beyond the scope of this write-up or any tutorial that Control Solutions plans to offer. Your local book store has many books on the subject.

Test System Example #4 This sample is where we really start to have some fun. The data is indicated by red and green lights. The submit button is a graphic button. The page is self-refreshing. The web authoring tool s layout view of the page looks something like this: The large violet block represents the area we have allocated to an inline frame that will be our input frame. The purpose of separating this frame is to avoid repainting the entire page each time we click the submit button.

The small violet block is the inline frame for the page that contains nothing but hidden variables. This page is set to be self refreshing using the reload timer. Since it is invisible, it will have minimal impact on the view of the page. The graphic lights in the normal and test columns will turn on red or green as provided by register data mapped to the hidden variables in the invisible frame. A JavaScript function set to be called periodically will reassign the image source based on register data. By selecting red, green, or gray images, the lights will appear to turn on and off. The submit button in the input frame is a graphic image of a yellow button. Clicking it does not normally do anything; however, by adding a little more JavaScript, we can make it act as a button. Better yet, we can make it mimic the submitchange=change button. Inside the form, we include this HTML: <input type="hidden" name="submitchange" value="change"> <img src="specialbutton.gif" onclick="sendmeaway();" alt="" height="25" width="133" border="0"> Outside the form but still within the body, we include this JavaScript: <script type="text/javascript"><!-- function sendmeaway() { document.userform.submitchange.value="change"; document.userform.submit(); //--></script> The onclick included in the image reference causes the JavaScript function sendmeaway() to be executed when the image is clicked. The function sets up a hidden variable that will produce the return value submitchange=change in the post, and then initiates a submit (or post). Important: Part of the functionality in this page is actually provided by threshold rules found in the BootConfig.xml file. Here is where the content of register 101 determines the state of registers 201 and 301. Registers 201 and 301 in turn decide what color the Normal and Test lights are. This pattern continues for 1 through 10. (The sample provided is actually for an AddMe Jr.) One more note you need to refer to the CGI overview document to see how to obtain data from local registers in real time. You have access to the register contents and the register name, and it is up to you to decide whether to allow the users to change or only view the data. You can also access the system description to use as a site name, allowing the same HTML template to be used for multiple sites. The automated page resulting from the multiple page set viewed simultaneously via the inline frames should appear as follows.

Live Gauges - Example #5 All of the examples so far required no additional licensed software libraries. Live gauges are a popular item to display on web pages, so we are providing an example and information about obtaining the necessary JavaScript library. Our live gauge demo looks like this: The needles on our gauges move in real time as data changes. In this case, data is being obtained from inputs on a AddMe Jr. The scale, labels, etc., may be changed and you may have any number of gauges on the page. This demo is based on the Emprise JavaScript Chart package from Emprise Corporation. You may buy this package online at www.ejschart.com. You can also find numerous live demos at their web site. The only code written for this demo is shown on the following 2 pages. The rest is contained in the library packages purchased from Emprise.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- User.html --> <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="adobe GoLive"> <title>gauge demo</title> <script type="text/javascript" src="/fs/flash0/ejschart.js"></script> <script type="text/javascript" src="/fs/flash0/ejschart_gauges.js"></script> <script type="text/javascript" src="/fs/flash0/code.js"></script> <style type="text/css"> #mychart1 { height: 250px; width: 250px; position: absolute; top: 50px; left: 50px; #mychart2 { height: 250px; width: 250px; position: absolute; top: 50px; left: 350px; </style> </head> <body bgcolor="#ffffff"> <div id="mychart1" class="chart"></div> <div id="mychart2" class="chart"></div> <script type="text/javascript" id="script1"> var chart1 = new EJSC.Chart( "mychart1", { show_titlebar: false, show_x_axis: false, show_y_axis: false, show_legend: false, show_messages: false ); var chart2 = new EJSC.Chart( "mychart2", { show_titlebar: false, show_x_axis: false, show_y_axis: false, show_legend: false, show_messages: false ); var mygauge1 = new EJSC.AnalogGaugeSeries( new EJSC.ArrayDataHandler( [ [40,'Oil Pressure'] ] ), { ranges: [ [ 70, 90, 'rgb(255,255,0)' ], [ 90, 100, 'rgb(255,0,0)' ] ] ); var mygauge2 = new EJSC.AnalogGaugeSeries( new EJSC.ArrayDataHandler( [ [40,'Air Pressure'] ] ),

); { ranges: [ ] [ 10, 30, 'rgb(255,255,0)' ], [ 0, 10, 'rgb(255,0,0)' ] </html> chart1.addseries(mygauge1); mygauge1. points[0].x = 55; chart1. dodraw(); chart2.addseries(mygauge2); mygauge2. points[0].x = 55; chart2. dodraw(); function updatechart() { var x = parseint(phantom.document.userform.reg101.value); var y = parseint(phantom.document.userform.reg102.value); mygauge1. points[0].x = x; chart1. dodraw(); mygauge2. points[0].x = y; chart2. dodraw(); window.setinterval(updatechart, 1000); </script> <iframe name="phantom" src="usergetdata.html" frameborder="0" height="50" width="50"></iframe> </body> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- UserGetData.html --> <html> </html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="adobe GoLive"> <title>untitled Page</title> <meta http-equiv="refresh" content="2"> </head> <body bgcolor="#ffffff"> <form id="userform" action="/ue/icanform" method="post" name="userform"> <div align="left"> <input type="hidden" name="reg101" value="%d"> <input type="hidden" name="reg102" value="%d"> </div> </form> <p></p> </body>