XML Tutorial Frames Support
Version 1.6

This is the archives. For the latest Bambookit GUI 2.0, XML GUI Demos & Tutorials visit: www.bambookit.com/_demo.html

This feature is very useful if you need to enhance your web page with Bamboo Suite 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. It is very easy to do with Bamboo Suite. First you will name your frames in the Frameset tags as you usually do in the HTML pages. Then you supply the name of the frame as a parameter in your applet tags:
<param name="target" value="main">

In the example below index page was created with the frameset of two columns. The right column was named 'main'. Now you can create any other html page with applet in it that contains the param line above (in the example below it is leftframe.html file). Applet will call the XML file. XML file may contain one or many actions that will load url links. These links will always be loaded in the frame named 'main', as it specified in the applet tags. If you want your html page to be loaded in a new window, just specify in your applet tags any undefined previously value for name="target".
HTML source of the index.html page:
<frameset columns="120,*" frameborder=0 framespacing=0>
<frame src="leftframe.html">
<frame src="rightframe.html" name="main">

HTML Source of the leftframe.html:
<applet archive="bamboo_1_5.jar" code="Loader.class" width=160 height=500>
<param name="loadgui" value="tree.xml">
<param name="target" value="main">

[Home][Tutorial] [Demo]