Better HTML Widget

More capable HTML Viewer Widget types are included in this Release.

Overview:

More capable HTML Viewer Widget types are included in this Release. This is in addition to the standard HTML VIEWER control. This new widget types can display full web pages (with or without controls), flash files, media files and can also act as an HTML Editor.

Using the new HTML Widget Types

Put a text field on your image as usual, then in GUI Attributes, select one the following Widget Types:

  • WEB BROWSER to display a web page in a browser. The text field should contain the web address to display. At runtime, you can set --- WIDGET SHOW DECORATE to Y or N to control whether or not the browser controls should be displayed.
  • CODE VIEWER to display code with syntax highlighting. The text field should contain the code to display. At runtime you can also set --- WIDGET CONTENT TYPE to indicate the type of code (javascript, PHP, etc).
  • HTML EDITOR to display HTML code that the user can also edit. The text field should contain the HTML code to edit/display.
  • FLASH PLAYER to play a Flash file. The text field should contain the name of the flash file to play.
  • MEDIA PLAYER to play a media file. The text field should contain a path to a media file (avi, mp3, mp4, etc). For non Windows clients, you will need the VLC Video player installed on the client in order for this option to work. You can download the viewer from http://www.videolan.org/vlc.
The WEB BROWSER type also supports the ability to fire user options via HTML code such as "<a href="1">Click here for User 1</a>", same as the HTML VIEWER control.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2012-06-21

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2012-09-19 - SteveFrizzell
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback