DHTML Menu, DHTML Menu Builder, Drop Down Menu, JavaScript Menu, DHTML Menus, Sothink DHTML Menu

 

Open link in customized window

 

Menu item 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 menu item;
  2. In General of Menu Item, 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.

  1. Add user-defined function into 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 General of Menu Item Settings, choose "_self" in the Target box;
  3. In Link box, input code as follows:
    javascript:myaddFavorite()

 

 

Sothink is a trademark of SourceTec Software Co.,LTD
Flash Decompiler, SWF Decompiler, Flash Animation Software, DHTML Menu, Tree Menu, JavaScript Web Scroller, Flash Album
DHTML Menu, DHTML Menu Builder, Drop Down Menu, JavaScript Menu, DHTML Menus, Sothink DHTML Menu