Hi everybody,
I have an application that works for IE. I used treeview.htc to create
a tree view. And I want my client side code to work with linux based
operating systems. So the code should work on firefox or other gecko
browsers. Sample code for IE is like the following:
<HTML XMLNS:mytree >
<HEAD><?IMPOR T NAMESPACE="mytr ee" IMPLEMENTATION= "./treeview.htc"/>
<TITLE>Somethin g</TITLE>
</HEAD>
<BODY>
<mytree:treevie w id="gTree" style="FONT-SIZE: 8pt; LEFT: 1px;
OVERFLOW: scroll; COLOR: fuchsia; BACKGROUND-REPEAT: repeat; FONT-
FAMILY: Verdana; TOP: 5px; HEIGHT: 100%;WIDTH: 100%"
onselectedindex change="tvChang e('T')" onexpand="tvExp and()"
DEFAULTSTYLE="c olor:black;font-size:8pt;font-family:Verdana"
border="1" NAME="UNIQTree" oncontextmenu=" contextMenuCrea te();return
false;"></mytree:treeview >
</BODY>
</HTML>
Populating the tree is being done by methods at treeview.htc with
using jscript like:
function addDummyChild(p arentNode)
{
var newNode = gTree.createTre eNode();
newNode.setAttr ibute("text", "DUMMY CHILD");
parentNode.add( newNode);
}
I have an entire application which uses treeview.htc methods. So I
want it run on other browsers with changing the code as little as
possible.
Many thanks for any reply...
I have an application that works for IE. I used treeview.htc to create
a tree view. And I want my client side code to work with linux based
operating systems. So the code should work on firefox or other gecko
browsers. Sample code for IE is like the following:
<HTML XMLNS:mytree >
<HEAD><?IMPOR T NAMESPACE="mytr ee" IMPLEMENTATION= "./treeview.htc"/>
<TITLE>Somethin g</TITLE>
</HEAD>
<BODY>
<mytree:treevie w id="gTree" style="FONT-SIZE: 8pt; LEFT: 1px;
OVERFLOW: scroll; COLOR: fuchsia; BACKGROUND-REPEAT: repeat; FONT-
FAMILY: Verdana; TOP: 5px; HEIGHT: 100%;WIDTH: 100%"
onselectedindex change="tvChang e('T')" onexpand="tvExp and()"
DEFAULTSTYLE="c olor:black;font-size:8pt;font-family:Verdana"
border="1" NAME="UNIQTree" oncontextmenu=" contextMenuCrea te();return
false;"></mytree:treeview >
</BODY>
</HTML>
Populating the tree is being done by methods at treeview.htc with
using jscript like:
function addDummyChild(p arentNode)
{
var newNode = gTree.createTre eNode();
newNode.setAttr ibute("text", "DUMMY CHILD");
parentNode.add( newNode);
}
I have an entire application which uses treeview.htc methods. So I
want it run on other browsers with changing the code as little as
possible.
Many thanks for any reply...
Comment