setTarget="string" [string] any alphanumeric value is valid.
One of the ways of using frames is to open each Bambookit XML scripted application view in a different frame on the web page.
This feature is very useful if you need to enhance your web page with Bambookit controls. Let's say you created a tree to
be used to navigate your web site and placed the tree in the left frame. As you click on the nodes in the tree you want
the new page to be loaded in the right frame so you can continue to navigate through your site from the tree on the left.
In this example we will be creating a Web page containing four frames: top frame, and a,b,c frames placed as a columns
below. We will be placing the Bambookit main application in the top frame. This application will contain three buttons
(Frame A,B,C), clicking on each of them will open application views (a,c) in frames A,C, and html page in Frame B.
First we will create HTML page containing frames:
The HTML page will appear as following:
The top.html file source:
View the top.xml source. Note the setTarget method set for each button. The setTarget name is the same as the Frame's name
set in the frameset above:
Button "Frame A" calls the HTMl file "frameA.html". View frameA.html source:
frameA.html calls frameA.xml file. View frameA.xml source:
Button "Frame B" calls url address: www.google.com. Button "Frame C" calles html file "frameC.html", which in turn calls
xml file "frameC.xml".
View frameC.html source: