Sample page

Here is HTML code that includes the PowerBuilder window plug-in showing a window with master and detail DataWindow controls. Note the use of the Embed element to specify the PowerBuilder window plug-in.

Opening element

<HTML>

Document head

<HEAD>
<TITLE>Master-Detail window</TITLE>
</HEAD>
<BODY>

A small image

<IMG SRC="undercon.gif" BORDER=0 HEIGHT=38 WIDTH=40>

H1 heading

<H1>Master-detail in a PB window plug-in</H1>

Horizontal rule

<P><HR></P>

Paragraph

<P>This window accesses the PB demo database to display a list of departments. When the user clicks a department row, the second DataWindow displays the employees in that department.</P>

Embed element in a paragraph

<P><EMBED SRC=plugin_tree.pbd WIDTH=370 HEIGHT=320 WINDOW=w_emp_by_dept>
</P>

Link to site’s home page

<LI>Back to <A HREF="http://www.mycompany.com/index.html">Home Page</A> </LI>

Closing elements

</BODY>
</HTML>