DHTML Menu Examples / Templates
- Horizontal DHTML Menu Ex.#1 - relative position, transparency, shadow, "fade in" transition
- Vertical DHTML Menu Ex.#2 - absolute menu position, movable - you can drag-n-drop it
- DHTML Drop Down Menu Ex.#3 - Win95 style, absolute position, floatable menu
- DHTML Dropdown Menu Ex.#4 - absolute position, disabled item, individual style for item
- DHTML Expandable Menu Ex.#5 - absolute position, animated icons, separators
- DHTML Cascading Menu Ex.#6 - MS Office style, relative position, "fade in" transition, shadow
- Javascript Navigation Menus Ex.#7 - several menus on one page, different transition effects
- Javascript Context Menu Ex.#8 - dhtml popup menu mode
- CSS Menu Ex.#9 - CSS drop down menu, XP style
- Transition Collapse Menu Ex.#10 - DirectX effects collapsable menu
- Dynamic Menu Ex.#11 - setting pressed item dynamically via javascript
- Cross Frame Menu #1 - horizontal frame menu
- Cross Frame Menu #2 - vertical frame menu
- Crossframe Menu #3 - multiple/nested javascript frame menu
- Crossframe Menu #4 - multiple/nested dhtml frame menu
- Floating Menu Ex.#12 - menu floats on scrolling
- Sliding Menu Ex.#13 - menu slides when you scroll a page
- DHTML Menu Example #14
- DHTML Menu Example #15
- DHTML Menu Example #16
- DHTML Menu Example #17
- DHTML Menu Example #18
How to Setup
Apycom DHTML Menu comes with two files that can be found in the "js/" subdirectory in this download:
apymenu.js - menu engine and
data.js - data file with menu parameters (this file may be renamed, but must include the '.js' extension)
Place these files to any folder of your html project and add a reference to the files within your HTML page.
You can use both absolute and relative coordinates to position the menu.Absolute position
Paste the following code into <head> tag
<!-- Apycom DHTML Menu -->
<noscript><a href=http://dhtml-menu.com/>DHTML Menu, (c)2004 Apycom</a></noscript>
<script type="text/javascript" language="JavaScript1.2"
src="yourdir/apymenu.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="yourdir/data.js"></script>
<!-- Apycom DHTML Menu, dhtml-menu.com -->
and set coordinates of top-left menu corner in the data file, example
var absolutePos=1;
var posX=30;
var posY=110;
Relative position
Paste the following code into <head> tag
<!-- Apycom DHTML Menu -->
<noscript><a href=http://dhtml-menu.com/>DHTML Menu, (c)2004 Apycom</a></noscript>
<script type="text/javascript" language="JavaScript1.2"
src="yourdir/apymenu.js"></script>
<!-- Apycom DHTML Menu, dhtml-menu.com -->
and paste the following code within your html page in a position you want the
menu to appear
<script type="text/javascript" language="JavaScript1.2" src="yourdir/data.js"></script>
for example into a table cell
<table><tr>
<td><script type="text/javascript" language="JavaScript1.2" src="yourdir/data.js"></script></td>
</tr></table>
*** Crossframe mode ***
Paste following code into <head> tag of page with top menu
<!-- Apycom DHTML Menu -->
<noscript><a href=http://dhtml-menu.com/>DHTML Menu, (c)2004 Apycom</a></noscript>
<script type="text/javascript" language="JavaScript1.2"
src="yourdir/apymenu.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="yourdir/data.js"></script> <!-- Apycom DHTML Menu, dhtml-menu.com -->
Be sure you have frameset "ID" and frame "NAME" properties in your frameset. Example:
<frameset id="fset" rows="130,*">
<frame id="frm1" name="frm1" src="topmenu.html">
<frame id="frm2" name="frm2" src="content.html">
</frameset>
Then replace the standard apy_init(); function at the end of data.js file by the apy_initFrame function:
apy_initFrame (framesetID, mainFrameInd, subFrameInd, orientation);
Where:
framesetID - id of <frameset> tag;
mainFrameInd - number of top menu frame (frame where the top menu will be placed) >=0;
subFrameInd - number of submenus' frame >=0;
orientation - 0 - horizontal frame orientation; 1 - vertical frame orientation.
Example, based on the previous frameset example:
apy_initFrame ("fset", 0, 1, 0);
That's all. Notice you DO NOT need to insert any additional code to pages in other frames!
Menu Parameters
For more info about menu parameters see parameter info
Purchase
This trial version of
Apycom DHTML menu may be used for evaluation purposes only for a
period of 30 days.
Evaluation use includes the review and or customization of the software on one
local computer. This software may not be placed on the internet or a local
intranet site for viewing and or use by multiple persons.
The purchased version includes a license to place the software on publicly accessible web pages and
does not display the trial version reminder. Also you can purchase the Java source code of the software.
For more information see order page and
License Agreement.
|