Better HTML Widget

A more capable HTML Viewer Widget is included in this Release.

Overview:

A more capable HTML Viewer Widget is included in this Release. This widget can display full web pages (with or without controls), flash files, media files and can also act as an HTML Editor.

Defining the new HTML Widget

Define a field on your image, then use the GUI Attributes to set the Control type to 'Label'. Fill in the other attributes as desired and at the end of the Tooltip, add the string @SHTML=<value>. Possible values are:

  • Blank. The control will display the web page indicated by the value in your field. The web page will be displayed without any controls (ie, no location field, back buttons, etc).
  • BROWSE. Same as Blank, except the widget will have controls for the user to enter a web address, go back a page, reload the current page, etc.
  • EDIT. The control will become an HTML editor, complete with a toolbar for changing fonts, sizes, colours, alignment, indentation, etc, etc.
  • FLASH. The control will play the flash file indicated by the value in your field.
  • MEDIA. The control will play the Media file indicated by the value in your field (Windows platforms only).
  • VLC. Same as MEDIA, except it also runs on non-Windows Platforms (?)
  • CODEJS. The control will display the contents of your field with javascript syntax highlighting.
The @SHTML technique will be replaced with Widget attributes in the final release (?).

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 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-06-21 - JeanNeron
 
  • 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