Difference between revisions of "HTML Properties"

From Mea Wiki
Jump to navigation Jump to search
(307130)
Line 1: Line 1:
The HTML presentation object can be used to store and display HTML pages inside QPR MobileDashboard (as a contrast to the [[External_Content_Properties|External Content presentation object, which shows content from some other website).
+
The HTML presentation object can be used to store and display custom HTML content inside QPR MobileDashboard. Difference to [[External_Content_Properties|External Content]] presentation object are follows:
 +
* External content is just a link to the web page that must reside outside QPR MobileDashboard. HTML presentation object contain the HTML code so it's stored to QPR MobileDashboard and transfered when exportin and importing views. Still, the HTML code may refer to external resources in web.
 +
* External content presentation object is not able to draw outside its content area. This is because External content presentation object is tecnically an iframe, and the browsers don't allow iframes to draw to its parent window. HTML presentation object is able to draw outside its content area.
  
 
__TOC__
 
__TOC__

Revision as of 13:48, 30 August 2017

The HTML presentation object can be used to store and display custom HTML content inside QPR MobileDashboard. Difference to External Content presentation object are follows:

* External content is just a link to the web page that must reside outside QPR MobileDashboard. HTML presentation object contain the HTML code so it's stored to QPR MobileDashboard and transfered when exportin and importing views. Still, the HTML code may refer to external resources in web.
* External content presentation object is not able to draw outside its content area. This is because External content presentation object is tecnically an iframe, and the browsers don't allow iframes to draw to its parent window. HTML presentation object is able to draw outside its content area.

Properties Tab

The following properties can be set on the Properties tab:

  • Name: Name of the HTML presentation object.
  • Description: Description for the HTML presentation object.

Presentation Tab

The HTML Code text field is where you can define the HTML that will make up the displayed HTML page. Using CSS and JavaScript is supported.

  • By using JavaScript, it's possible to create HTML content that reacts when the HTML presentation object's effective context changes or when the HTML presentation object's container (panel or repeater) changes size.
  • You can also use context variables in the HTML code.

The Scrolling Mode selections define the CSS overflow properties for the HTML content.