I am having some trouble placing the cascading drop down menu in frontpage.
Does your company have some kind of tech support for the frontpage material?A: See, you should do the following things.
1. Create your menu in Deluxe Tuner.
2. Export the menu into html file "File/Export/To HTML".
3. Copy generated folder with all engine .js files and images("deluxe-menu.files/" by default) and data-deluxe-menu.js (by default)
into the same folder with you index.html page (created inFrontPage).4. Now you should add several rows of code into your index.html file.
You can do it in FrontPage (open HTML source of the page and edit it)
or in any text editor. Open your index.html page and edit it.
Notice that you'll have errors in the Preview. But you won't get errors if you open this page in the browser.5. Add the following code in the <head>tag:
in the place where you want to have the menu.
You can paste it in <table>, <div> tags. For example.
6. Save your index.html page and open it in any browser.
I tried the following for subitem and it worked but not working with the "Title item" (Group or header item), is there a way to process onclick for the title item? Thanks again.
var tmenuitems = [
But you can do the following:
var tmenuitems = [
["<div onclick='your_code_here'>title text</div>"]
But one of my big questions... can I use an include to pull the script for menu in? A: If you don't want to create your menu on each page you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.
You can use cross frame menu.
It allows you to build full-featured menus on the pagesthat use frame-based structure. And it's not necessary to insert any code into all the pages -just specify the additional parameters of the menu and initialize it.
To install the menu in a cross-frame mode, see more info here:
However, when I place it inside a CSS-defined div element (for absolute page placement) the submenu's all drop down a couple hundred pixels. A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="POSITION: absolute;"
So, you'll have:
<DIV id="menu" style="POSITION: absolute;">