Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
dongxun #1
Dynamically update treenode doesn't work in DW8 floaterpanel.
I'm trying to write a DW8 floater panel with a tree control to allow users to
load and view XML schema structure in it. The problem is that I don't know how
to trigger a tree refresh.
The attachment is the source code I use. Any problems or things I didn't
notice?
Thanks,
Alex
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>XML Data Schema</title>
<script language="JavaScript">
function selectionChanged(){
// pass
}
function refreshSchemaTree() {
var schemaTree = document.schemaTree;
schemaTree.innerHTML = schemaTree.innerHTML + '<mm:treenode
value="campaign" state="expanded"><mm:treenode value="publishing_date"
state="expanded"></mm:treenode><mm:treenode value="tracking_number"
state="expanded"></mm:treenode><mm:treenode value="fullname"
state="expanded"></mm:treenode><mm:treenode value="home_airport"
state="expanded"></mm:treenode><mm:treenode value="travel_history"
state="expanded"><mm:treenode value="domestic"
state="expanded"></mm:treenode><mm:treenode value="international"
state="expanded"></mm:treenode></mm:treenode></mm:treenode>';
}
</script>
</head>
<body>
<mm:treecontrol name="schemaTree" style="height:100%;width:100%" size="15">
</mm:treecontrol>
<input type="file" onchange="refreshSchemaTree()" />
</body>
</html>
dongxun Guest
-
Disable TreeNode (Flex 1.5)
Can I disable some TreeNode in Flex 1.5(Not the whole tree)? Thanks for your help -
questions about TreeNode
Thanks for the help of friends here.I am new to Flex.So I meet a lot of problems every day.Here is a problem about TreeNode. According to the... -
extending Treenode: how?
In the documentation it says that the Treenode should not be inherited: why? I want to create a treenode that the checbox has 3 states (off, on,... -
Best way to update a value dynamically
I may be posting to completely the wrong newsgroup, but I need to ask. Basically I have created a shop cart that displays the current running... -
Dynamically update web content
Hi, Could you give me some hints on the ways of reloading or updating one web page from another web page? For example, I have a main page is...



Reply With Quote

