Recent Questions
Q: I've been playing with this product and it does exactly what I need so far!.
My problem question is this:-
The menu I have created shows a several icons that activate cgi code on the web server. What I want to know is can these drop down menus change the image when an icon is actually pressed?
I trying to find how I can present the user with a button pressed in image when the icon is clicked and maintain that image until another icon in that menu is pressed?
Can this be done? If not is it something you can do for me at a cost?
A: See more info about pressed item here:
http://deluxe-menu.com/highlighted-items-sample.htmlQ: I have been trying for months to find an answer to my submenu problem using your FAQ and Recent Questions.
The only thing that comes close to an answer is from one of your Recent Questions below, but I don't understand the answer. Will you please give me specific code or info to fix? Please refer to my frameset code and data.js info, which I've provided further down this message.
I am using cross frame menu dropdown. I have three frames: Top, Left and main (middle).
I am using the script and data from your sample file, it works fine. Only problem is submenu is offset to the right. It does not show up exactly down below the top javascript hide menu.
A: Yes, I suppose that the reason is in your frame structure. For examplenow you have:
top -------------------
**MENU**
left--|main------------
|
| **submenus**
|
Try to add additional frame in your top frame with the same width asyour left frame has:
l-top-|right-top-----------------
| **MENU**
left--|main----------------------
|
| **submenus**
|Q: I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the onmouseover popup from the page loaded within the iframe? Something like "parent.document.getElementById('windowid').hide();". Any help would be appreciated.
A: You can close the onmouseover popup using the following function:document.getElementById('win').hide();
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot accessdocument.getElementById('win').hide();
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situatedon the same page so you can access document.getElementById('win') element and hide it.
There is a workaround.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>
Your link will work in that case.Q: I have found (was it like this before??) that if I right-mouse-click over a menuitem then I do not see any option to open the URL in new window....
I do not get any options at all to open the URL in new window (or same window), in the browser context menu (both IE and Firefox).
A: No, Deluxe Menu doesn't have such a feature. This is only text, not alink. And we won't change it. Because now you're able to paste anyhtml code within menu item.
var menuItems = [
["<div>Arbeidsplaner</div>","cp_workplan.php",,,,"_self","0","0"],
You can write your links in the following way:
["Channels","", , , , , , , , ],
["|<a class='menu' href='http://google.com/'>google</a>","", , , , "_self", , , , ],
["|<a class='menu' href='http://google.com'>Market</a>","", , , , "_", , , , ],
And create a style:
A.menu {
color: #000;
text-decoration: none;}
A.menu:hover {
color: #000;
text-decoration: underline;}