Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

Click Link with Javascript

All examples are included with download of MBS FileMaker Plugin.

Click Link with Javascript.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts0
Value Lists0
Custom Functions0
Custom Menus32
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Click Link with Javascript
1 field defined, 1 record
Click Link with Javascript

Fields

Table Name: Click Link with Javascript - 1 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
dNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German

          Layout Objects: Click Link with Javascript

          Group Buttons

          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Home
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 24 pt
          • Left: 6 pt
          • Bottom: 49 pt
          • Right: 85 pt
          • Anchoring: Left, Top
          Set Web Viewer [ Object Name: "web"; URL: "http://www.monkeybreadsoftware.de/" ]

          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Click FileMaker link
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 24 pt
          • Left: 94 pt
          • Bottom: 49 pt
          • Right: 213 pt
          • Anchoring: Left, Top
          Set Variable [ $dummy; Value:MBS( "WebView.RunJavaScript" ; "web"; "window.location.href=document.links[4];") ]

          Button PropertiesCoordinatesScript/Script Step
            Type:
          • Text: Load Apple.com using Javascript
            Additional Properties:
          • Change to hand cursor over button
          • Rectangular
          • Top: 24 pt
          • Left: 225 pt
          • Bottom: 49 pt
          • Right: 418 pt
          • Anchoring: Left, Top
          Set Variable [ $dummy; Value:MBS( "WebView.RunJavaScript" ; "web"; "location.href='http://www.apple.com';" ) ]

          Web Viewer Controls

          Web Viewer Control PropertiesCoordinatesWeb Address
            Object Name:
          • web
            Additional Properties:
          • Allow interaction with web viewer content
          • Display progress bar
          • Display status messages
          • Automatically encode URL
          • Top: 54 pt
          • Left: 6 pt
          • Bottom: 649 pt
          • Right: 553 pt
          • Anchoring: Left, Top
          "http://www.monkeybreadsoftware.de/"

          Download example: Click Link with Javascript

          Used functions: