• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Creating a User Interface > Displaying HTML in Bridge

Displaying HTML in Bridge

There are three mechanisms you can use to display an HTML UI within Bridge:

  • A top or bottom NavBar displays HTML when navBar.file is set to the path of the HTML file, and navBar.type="html".

  • A Dialog object always displays HTML UI controls (as opposed to a ScriptUI dialog object, which displays ScriptUI controls). You specify the HTML file to display as the argument when creating the Dialog object. For example:

    var myDialog = new
    Dialog("/C/BridgeScripts/HTML/dialogUI.html");
  • When you set thumbnail.displayPath to the path of an HTML file, and thumbnail.displayMode= "web", then selecting that thumbnail in the Folders or Favorites pane displays the HTML page in the Content pane.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint