on 02-07-2005 8:57 AM
Hi
How can I use treenode to show a perticular htm page inside a tray rather than redirecting the whole page of the browser or frame, when I click a treenode. if I am not clear enough, I want a perticular tray of my screen should change whenever I click on different treenodes
regards
Ashutosh
you have to use the clientclick to run javascript to achieve this.
Example:
set your table2-clientclick value to something like below.
javascript:window.open('targetpage.htm', target="anotherframe");
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You said that you wanted to show a different page inside the tray based on user action. right?
if yes
your tray body should have an iframe and the name of the iframe should be passed in the target attribute of the window.open method.
This will open the new page within the tray body.
If my answer is still not clear, kindly let us know.
Regards
Raja
Hi,
I am not sure if I understand your question. Do you really want no page reload? Or do you mean that you want a menu on the left side and on the right side the new pages should be displayed? I guess that your motivation behind all this is that you want to create the menu only once?
bye
Thomas
yes Thomas, you are right. I want my menu should be loaded once rather than eachtime I click on the treenode. I thing iFrame solution from Raja might be the solution because in html this kind of situation is handled using Frame. I will try this and post the result on this topic after some time.
I thaught it may be possible to use tray id or something like that to directly update tray without using iFrame.
regards
Ashutosh
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.