Recent Questions
Q: I'm trying deluxe-menu, but when I'm making my own menu, I often get error messages.
It will not work. I get these messages when I use individual styles.It is a very nice program, but I think with a few bugs.
A: You have errors in your data file.
["|De Groese Til","", , , , , , "0", , ],
["|De Supermarkt","", , , , , , "0", , ],
In this items you assigned menu styles, but there is no menu style in your parameters. You have only item style.
You should write them so:
["|De Groese Til","", , , , , "0", , , ], ["|De Supermarkt","", , , , , "0", , , ],
Q: IHow can i make that the background-color will be standing behind the click in this part of dhtml menu slide?
A: Deluxe Menu has only two states normal and mouseover, but
you can highlight menu items by default in two ways:
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.htmlQ: Can I replace your button graphic with my button graphic?
Is there any problem in integrating your software into Microsoft Expression Web?
A: > Can I replace your button graphic with my button graphic?
Yes, of course. You can use your own images in the menu.
Please, try the trial version.
Use Deluxe Tuner application to create your menu.
> Is there any problem in integrating your software into Microsoft Expression Web?
Deluxe Menus weren't developed as Microsoft Expression Web/Dreamweaver/Frontpage and others webdesign programs extension,BUT you can use it as standard Javascript files. To install the menuinto your html page:
1. open the page in your program
2. open html source code of the page
3. add several rows of code (<script> tags), For info see:
http://deluxe-tree.com/installation-info.html
Q: Please advise on how to install a created js popup window to an html page linked to text.
A: For example you want to open your popup window when you click the link on your page.
You should do the following:
1) Open your page (for example index.html page) in any text editor.
Add link in the place where you want to have it and specify the ID (for example: win1) for it, for example:
<a href="javascript:;" id="win1">Click Here to see a window</a>
2) Create a popup window in Deluxe Tuner. Add your content.
You can use HTML content, Iframe (url) or any object on your page as popup windows
content - Object ID.
For example select HTML content (winContent parameter in the 'Common' section) and add
the content in HTML Content window,
for example:
<div style="text-align:center;"><b>Sample content</b></div>
This is a simple HTML code for content. Here you may also set link to content page or ID of some element.
3) In the 'Actions' section specify the id of your link (win1) for the onClick event.
4) Select the template you want to use.
5) Export your popup window to HTML page. File -> Export -> To HTML. Save it in any testfolder.
So, you'll have:
deluxe-popup-window.files/
deluxe-popup-window.html
deluxe-popup-window.js
6) Open the generated deluxe-popup-window.html file in any text editor.
Copy all code for Popup window and paste it in the beginning of the <body> tag:
<!-- Deluxe Popup Window -->
<noscript><a href="http://deluxepopupwindow.com">menu drop down by DeluxePopupWindow.com</a></noscript>
<script type="text/javascript" src="deluxe-popup-window.files/dpopupwindow.js"></script>
<script type="text/javascript" src="deluxe-popup-window.js"></script>
<!-- (c) 2009, DeluxePopupWindow.com -->
7) Copy 'deluxe-popup-window.files/' folder and deluxe-popup-window.js file into the same
folder with your index.html (root folder of your website).