20

Oct 10

How to open in new window after clicking tree menu?

Node event not only can be a link, but also can be JavaScript. Following are two samples.

A. Open a customer defined window

1. Create a node;
2. In Node Settings > General, choose “_self” in the Target box;3. In link box, input code as follows:
javascript:window.open(“http://www.sothink.com”,”_blank”,
“width=800,height=600,status=yes,toolbar=no,”)

B. Open a user-defined function window.

Note: It supports only Internet Explorer.

1. Add user-defined function into in web page like this:
2. In Node Settings > General, choose “_self” in the Target box;3. In Link box, input code as follows:
javascript:myaddFavorite()