This topic describes the sendPopupHtml function.
The sendPopupTable command displays a pop-up window on the desktop of the operator.
Note
Using the htmlData is a string containing HTML 4 compliant data causes a pop-up window to be displayed on the desktop of the operator.
You can use HTML <a> tags within the HTML to specify actions that are taken. Actions are attached to <a> tags in the href attribute. When you click on a link in the HTML popup, the defined action will be executed. The defined actions are described in the Action detail notes topic.
When you need to specify an attribute on an HTML element (for example, an href attribute on an element), you must use single quotes. This will make your code easier to read.
Example
htmlText = "<div style='font-family:san-serif;margin-left:18px'>"
htmlText = htmlText & "<h2>HTML Test</h2>"
htmlText = htmlText & "<br/>"
htmlText = htmlText & "<a href='send_rdl_command:traceon()'>Start Trace</a> <br/>"
htmlText = htmlText & "<a href='send_rdl_command:traceoff()'>Stop Trace</a> <br/>"
htmlText = htmlText & "<a href='send_rdl_command:trace("Hello World" magenta)'>Trace Test</a> <br/>"
htmlText = htmlText & "<a href='os_command:notepad C:/Users/auser/Desktop/notes.txt'>Notepad</a> <br/>"
htmlText = htmlText & "<a href='browser:http://www.bmc.com'>Browser</a> <br/>"
htmlText = htmlText & "<a href='start_emulator'>Session Viewer</a> <br/>"
htmlText = htmlText & "<a href='start_tn3270emulator:IBM-3278-4-E,ioc2.bmc.com,IOC2,23,0,IOC2 Session'>TSO</a> <br/>"
htmlText = htmlText & "<a href='filter:SIMCON01_CON00'>Filter CON00</a> <br/>"
htmlText = htmlText & "<a href='filter:SIMCON01_CON01'>Filter CON01</a> <br/>"
htmlText = htmlText & "<a href='filter:HMCSIM'>Filter HMCSIM</a> <br/>"
htmlText = htmlText & "<a href='start_emulator:SIMCON01_CON00'>Session CON00</a> <br/>"
htmlText = htmlText & "<a href='start_emulator:SIMCON01_CON01'>Session CON01</a> <br/>"
htmlText = htmlText & "</div>"
sendPopupHtml("HTML Test Example", htmlText)