What Sothink Tree Menu Can Do for You?
Back | Home | Next |
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("https://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 <head></head> in web page like this:
<script language="javascript1.2" type="text/javascript">
function myaddFavorite()
{
if(window.external)
external.AddFavorite("https://www.sothink.com","www.sothink.com");
}
</script>
2. In Node Settings > General, choose "_self" in the Target box;
3. In Link box, input code as follows:
javascript:myaddFavorite()
General Samples
Advanced Samples