The Web Viewer

The Web Viewer is at the core of all BlackBoxes. When deciding how to build a BlackBox component, you will need to know a few important things about how the Web Viewer works.


Web Viewer Basics

For starters, the Web Viewer uses your web browser to render the page. If you are using Windows, it will ALWAYS use your installed version of Internet Explorer to render the page. If you are using a Mac, the Web Viewer will ALWAYS use your installed version of Safari - It doesn't matter what your 'Default' web browser application is, FileMaker will always use either Internet Explorer or Safari.

When building a BlackBox, you need to remember to test on both Internet Explorer and Safari, but not only that, you need to think about testing on the different versions of these browsers, as they can all behave differently.

Internet Explorer

Internet Explorer requires special consideration, especially if you are planning on supporting the different browser versions. Each version of Internet Explorer renders some content quite differently - If the user has IE 8 installed however, be aware that the web viewer will never use IE 8 Standards mode, unless forced to - find out here.

Web Viewer Options

In the lower part of the Web Viewer Setup dialogue, you are given several checkbox options which affect how the Web Viewer displays and behaves on your layout.
Checkbox Name Effect
Alllow interaction with web viewer content When checked, this will allow the user to click, drag, type and otherwise effect items in the web viewer (provided you have written the appropriate code to enable these controls).

If unchecked, regardless of your code, the user will not be able to interact with the web viewer in any way, This includes scrolling, selecting text etc. Useful if you want a quick easy way to provide a Display Only control.
Display content in Find mode When checked, the web viewer will load its content while in find mode. If unchecked, it will stay blank. Note that this is the only time that the web viewers background color (as defined by FileMaker in layout mode) is used.
Display progress bar Shows a progress bar at the bottom of the web viewer. Useful if loading an external site, or something that may take a while to load.
Display status messages Shows an area below the progress bar at the bottom of the web viewer. This area will display loading, and other status messages, similar to what would appear in a web browser.


Comments

/groups/bbdocs/search/index.rss?tag=hotlist/groups/bbdocs/search/?tag=hotWhat’s HotHotListHot!?tag=hot1/groups/bbdocs/sidebar/HotListcraigCraig Saunders2010-02-05 09:25:07+00:002010-02-05 09:25:07updated12wendyWendy Wethey2009-10-29 20:58:53+00:002009-10-29 20:58:53updated11samSam Sehnert2009-08-24 00:09:09+00:002009-08-24 00:09:09updated10Added tag - hotsamSam Sehnert2009-08-24 00:09:07+00:002009-08-24 00:09:07addTag9Added tag - parameterssamSam Sehnert2009-08-24 00:08:52+00:002009-08-24 00:08:52addTag8Added tag - functionssamSam Sehnert2009-08-24 00:08:52+00:002009-08-24 00:08:52addTag7Added tag - buildersamSam Sehnert2009-08-24 00:08:52+00:002009-08-24 00:08:52addTag6Added tag - blackboxsamSam Sehnert2009-08-24 00:08:52+00:002009-08-24 00:08:52addTag5samSam Sehnert2009-08-24 00:07:52+00:002009-08-24 00:07:52updated4Added link to 'Parameter Data Types' docsamSam Sehnert2009-08-24 00:06:52+00:002009-08-24 00:06:52updated3robertRobert Sinton2009-08-14 05:19:30+00:002009-08-14 05:19:30updated2First additionrobertRobert Sinton2009-08-14 05:18:57+00:002009-08-14 05:18:57created1wiki2010-02-05T09:25:07+00:00groups/bbdocs/wiki/6d11cFalseBuilding your own BlackBoxes/groups/bbdocs/wiki/6d11c/Building_your_own_BlackBoxes.htmlCraig Saunders12 updatesBuilding your own BlackBoxes The BlackBox Builder is a special database that you can use to build your own BlackBoxes. You can then use these B...Falsecraig2010-02-05T09:25:07+00:00hot/groups/bbdocs/search/index.rss?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomelist/groups/bbdocs/search/?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomeRecent ChangesRecentChangesListUpdates?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcome0/groups/bbdocs/sidebar/RecentChangesListmodifiedDateallRecent ChangesRecentChangesListUpdateswiki/welcomeNo recent changes.reverse5search