| apTabMenu Example #4
Apycom Home | Applets' Home | Purchase | Download | FAQ | Contact
<< Prev | Example Index | Next >>
Parameters | Frame Example | Javascript Tips | Applet Index
apTabMenu Example #4
This example demonstrates: Javascript calls. For more info see "Javascript tips" Line wrapping Text aligned to left Default selected tab not defined, but the toggle mode is active (pressedItem=0) Tab type 2 - bold borders HTML Source <applet Code=apTabMenu Archive=apTabMenu.jar Width=572 Height=30 MAYSCRIPT> <param name="Copyright" value="Apycom Software - www.apycom.com"> <param name="bottomLine" value="false"> <param name="pressedItem" value="0"> <param name="tabType" value="2"> <param name="backColor" value="d0f0d0"> <param name="tabColor" value="e0ffe0"> <param name="tabHighColor" value="b0d0b0"> <param name="fontColor" value="707060"> <param name="fontHighColor" value="ffffff"> <param name="alignText" value="left"> <param name="font" value="TimesRoman,11,1"> <param name="menuItems" value=" {Message box,javascript:alert('Hello world!'),_} {Confirmation\dialog,javascript:confirm('Do you want to confirm?'),_} {Open 'JS Tips'\in 680x600 window, javascript:open('javascript.html','_blank','scrollbars,width=680,height=600'),_} {Open 'JS Tips'\in 300x200 window, javascript:open('javascript.html','_blank','scrollbars,width=300,height=200'),_} {Launch js\function,javascript:my_js_function(),_} "> </applet> <script language="Javascript"> function my_js_function() { alert('Click to continue...'); if (confirm('Do you want to open two small windows?')) { open('javascript.html','_blank','width=150,height=150'); open('javascript.html','_blank','width=100,height=100'); } else { alert('Canceled...'); } } </script>
<< Previous Example | Example Index | Next Example >>
Copyright (c) 1998-2002, Apycom Software