Recent Questions Tree Extjs Horizontal Menu
Q: I cannot find the parameter in deluxe tabs file "data.js" for umlaute a, u. I want it to set manually.
A: You can save your data file in UTF-8 in Windows version of DeluxeTuner v3.2.9.
You should turn on "Tools/Use utf8 encode" property.In that case your data file will be saved in UTF-8 encode.
Enter these symbols and save your data file.
If you don't want to use UTF-8 encode on your page you should turn off"Tools/Use utf8 encode" property, save your data file and manuallychange your letters in any text editor.
You can also replace your letters with special sets, for example
ä
ü
var menuItems = [
["ä....","testlink.html", "", "", "", "", "", "", "", ],
["ü....","testlink.html", "", "", "", "", "", "", "", ],
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 dhtml popup from the page loaded within the iframe?
A: You can close the 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: Hello, Could you please help me with an alignnment issue with my website. If you go to mt website you will see the problem. I set the x alignment to=266 but the y alignment is left blank because I would like to keep the menu centered on the site.
A: If you want to center the menu paste itwithin the <div> or <table> with a static position and specify a center alignment for it, for example:
<DIV align=center>
<SCRIPT src="data/data.js" type=text/javascript>
</SCRIPT>
</DIV>
Please, set exact value for var menuWidth parameter, for example:
var menuWidth = "300px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;
Try that.
Q: What I would like to achieve is a separator in the main menu list of a vertical menu.
I can get the separator to show in submenus but not the main menu.
A: You should write so:
var separatorImage="menu.files/sep_blue.gif";
var separatorWidth="90%";
var separatorHeight="3";
var separatorAlignment="center";
var separatorVImage="menu.files/sep_blue.gif";
var separatorVWidth="90%";
var separatorVHeight="3";
var separatorPadding="0px";