Recent Questions Tree Menus In Yii Extension
Q: Firstly I'd like to say it looks like a great product. Something that would definitely be of use for our corporate intranet. But first! I have a problem with the evaluation.
I'm trying to get a click/context menu from clicking an image but no matter what I try the following .htm file errors with object required on line 15. I've read your examples / source over and over again but no joy - If I just display the menu with the usual <script> menu.js etc. entry it works but not with a popup?
Please please help if you can?
PS I've set the popupMode variable to 1 in the menu definition file.
A: The installation of your Popup menu is not correct.
If you have only one menu on your page you should write
<img src='images/note.gif' oncontextmenu='return dm_popup(0 ,2000 ,event );'>
You should also copy dmenu_popup.js file into the same folder withdmenu.js file.
More info you can find here:
http://deluxe-menu.com/popup-mode-sample.html
Q: I've spent the last 30 minutes or so looking for samples on how to create a simple pop up window. I downloaded the trial, put in the html, saved the js file, etc etc. But there is no sample so I can't see exactly how to do the html.
Like, in the tuner it says to enter the ID of the link. What is this? where do I put the onClick code? where can I find the onClick code? There is a lot of info missing here.
Please send a simple template so I can see how a popup is done. Not a menu, just a popup.
A: > But there is no sample so I can't see exactly how to do the html.
You should create the pop up window in Deluxe Tuner and export it in the HTML page "File/Export/To HTML".
See more info about installation here:
http://deluxepopupwindow.com/window-installation-info.html
> where can I find the onClick code?
See you can show the popup window when you hover, click or mouseout on some elements on yourpage. For example you've added an image in your html page. You should specify the ID for it, for example:
<p><img id="open_popup" border="0" src="images/submenu-bg.gif" width="170" height="29"></p>
So, in the Deluxe Tuner you should enter 'open_popup' object ID in the onMouseOver,onClick or onMouseOut fields.
Actually you can assign id to any object on your page manually. You should specify ID's - id="xxxx"for <a>, <div>, <img> ... tags.
If you want to show the popup when your page loads you should leave these fields empty:
onMouseOver:"",
onMouseOut:"",
onClick:"",Q: I am trying to make the tab menu to work correctly and after extensive testing and I have come across a problem that I can seem to get resolved. I am using images for the tab menu with no text and <divs> to display information about each javascript new menu tab. However while the page loads I can see all the content from all the <div> javascript new menu tabs and when the page if fully loaded, the web page then displays the content correctly with all the content hidden until the correct tab is selected. Mind you this is the only thing on the webpage so there shouldn’t be any load time problems.
Please advice what is happen to resolve this issue.
A: Try to set display: none; property for the style of your DIV, forexample:
<div id="content1" style="display: none;" class="tabPage">
<br><br><br>
<p align=center><img src="../image/img/logo_DM.gif" width=262 height=56 alt="Deluxe-Menu.com"></p>
</div>
<div id="content2" style="display: none;" class="tabPage">
<br><br><br>
<p align=center><img src="../image/img/logo_DT.gif" width=262 height=56 alt="Deluxe-Tree.com"></p>
</div>
Q: I'm looking for a menu system that can be placed in a cell. I think is easy and fast way to make pages. Is is possible with your product?
A: Thanks for your interest in our products.Yes you can paste the menu inside the <div> or <table> tag.