Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual

Page 103

Advertising
background image

Publication ENET-UM527E-EN-P - October 2006

Create Custom Web Pages 103

Remove the newlines from the alert text or shorten the alert text to
one line.

If you copy the following example, you must either shorten the
example alert text or remove the newlines (carriage returns or
linefeeds) that appear when you paste the code into your text editor.
For example, either of these alert statements follows correct syntax.

alert("You need Internet Explorer 5.5 or greater with XML support.");

or

alert("Creating/editing a data view requires Internet Explorer 5.5 or greater with\

XML support. Please upgrade your browser or load the appropriate patches to support

XML.");

5. Save the edited code as an html file, such as xmlSample.html.

6. FTP the file Transfer xmlSample.html to the web server module.

7. Test http://ip_address/user/Web/xmlSample.html.

You can download application example files from the RA
Knowledgebase. See Technote A142365164 - Example files for
1756-EWEB module.

IMPORTANT

In alert statements, the text of the alert must be one complete line (that can wrap
within your text editor) or you must enter line continuation characters to separate
lines. All data view and tag names are case sensitive.

Advertising
This manual is related to the following products: