Course contents7 lessons
Course overview
  1. Export to Excel
  2. Built-in Stylesheets
  3. 03Embedding SpreadsheetWEB Applications Using iframe
  4. 04Custom Actions
  5. 05Runtime Text Editor
  6. 06Editing Stylesheets
  7. 07Import from Excel

Lesson 3 of 7

Embedding SpreadsheetWEB Applications Using iframe

You can use an inline frame (iframe) to embed a web application created with SpreadsheetWEB into your own website. All of the application features will be…

1 min read

You can use an inline frame (iframe) to embed a web application created with SpreadsheetWEB into your own website. All of the application features will be available in the embedded web application.

If you embed a restricted application (Restricted or Restricted with Registration), you will see the SpreadsheetWEB login screen if you are not authenticated in the system. You will be able to use the application once you log in. Unrestricted applications will load automatically when a user goes to the page with the embedded code.

Code

An inline frame, or an iframe is marked up as,

The

The code above will pack the web application into a frame with the specified ratios in the height and width properties. Entering only a number will indicate that the value is in pixels, whereas the percentage sign will fit into a percentage of the occupying area.

In an iframe, the use of properties can be very important for the aesthetic and accessibility. You might want to add and adjust these parameters accordingly, so that the application will not overlap with other elements and be clearly visible. For example, if the “width” and the “height” do not match the size of the outer container, the scroll bars will appear even if the overflow is disabled.