<< Prev Example Index Next >>
Parameters Frame Example Javascript Tips Applet Index


apMagicMenu Frame Example

This example demonstrates:

  • Using the target parameter with frames
  • Javascript calls - "Change all" item allows to change the contents of all frames by single click. See also "Javascript tips"
  • Inactive items
  • Label text aligned to center
  • Fade type 4
  • Vertical menu direction
  • User defined background symbol to create rain - "backWords" param
  • Fade type 5 - the background flows down

HTML Source


<FRAMESET cols=135,85%>
<FRAME name = left_wnd scrolling=no src="leftpage.html">
<FRAMESET rows=15%,85%>
<FRAME name = top_wnd scrolling=no src="toppage.html">
<FRAME name = main_wnd scrolling=yes src="mainpage.html">


<APPLET code=apMagicMenu.class height=260 width=115 mayscript>
<a href=>Apycom Java Applets</a>
<param name="Copyright" value="">
<param name="solidArrows" value="true">
<param name="backColor" value="eeeef0">
<param name="backHighColor" value="c0c0c0">
<param name="fontColor" value="0000ee">
<param name="fontHighColor" value="ffffff">
<param name="fadeType" value="5">
<param name="fadeDalay" value="10">
<param name="fadeSteps" value="20">
<param name="maxWords" value="100">
<param name="maxbfsize" value="5">
<param name="backWords" value="|">
<param name="alignText" value="center">
<param name="font" value="Courier,12,0">
<param name="menuItems" value="
     {Main in Main,mainpage.html,main_wnd}
     {Top in Main,toppage.html,main_wnd}
     {Left in Main,leftpage.html,main_wnd}
     {Top in Top,toppage.html,top_wnd}
     {Main in Top,mainpage.html,top_wnd}
     {Left in Top,leftpage.html,top_wnd}
     {Change All,javascript:changeAll(),_}

<script language="Javascript">
function changeAll()

How to setup the menu


Copyright (c) 1998-2009, Apycom Software