button2.html

    <head><title>button2.html</title>
    <script src=../window.js></script>
    <script src=../examples.js></script>
    </head>

    <body>
    <script>

    function act() {
    	alert("pushed")
    }

    var b1 = new button("<span style='font-size:20pt;background-color:green'>text1</span>",act)
    var b2 = new button("<a style='font-size:30pt;background-color:white' href=http://mapserver.gis.umn.edu>MapServer</a>",null)
    var m = new menu()
    m.addButton(b1)
    m.addButton(b2)
    m.realSticky(true)
    m.showAt(50,50)

    </script>
    </body>