My Blog Title Here

November 19, 2008

I make some css pull down menu based on Arabic language, but it does not work.

Filed under: Uncategorized — Tags: , — admin @ 9:25 pm

Q:

Could you please tel me : How to use UN-Code on the item. I make some
css pull down menu based on Farsi language ( Arabic) , but it does not work.

A:

You’re able to use any characters for Deluxe Menu in the same way as
you use them for standard html page.
The only issue is that submenus can be shown in incorrect position
when you’re using dir=rtl for your page.

var dmRTL = 0;
Set this parameter to 1 if you’re using right-to-left direction of html page <HTML dir=rtl>.

Use also
var smViewType = 2;
for right-to-left languages.

Please, see example:
http://deluxe-menu.com/ways-showing-submenus-sample.html

This examples demonstrates how the css pull down menu can change a submenus
direction. Use var smViewType parameter to change a submenus
direction:

var smViewType = 0..3;

Values:
0 - from left to right;
1 - from left to right + upwards;
2 - from right to left;
3 - from right to left + upwards;

In Deluxe Menu when you call data .js file you can try to specify the encoding:

<script src=”data.js” charset=”utf-8″></script>

Unfortunately, you can’t use arabic characters in Deluxe Tuner application.
You should manually correct your code.

October 13, 2008

The css pull down menu sub-menus drop down off to the side in a layout heavy on CSS

Filed under: Uncategorized — Tags: , — admin @ 6:20 pm

Q:

We’ve been using Deluxe Menu for a couple of years now and we’re very
pleased with it. Recently, we switched to a layout heavy on CSS, and
when we insert the css pull down menu code into an absolutely-positioned div, the menu
appears where it should, but the sub-menus drop down off to the side in
both Firefox and IE. I’ve tried adjusting the x-offsets in the
configuration file with negative values to bring them closer to the
top-level menu item, but this doesn’t seem to do the trick completely.

I also went through a number of sample questions in the support section
of the Deluxe Menu site, but I haven’t been able to find any sort of
resolution.

If you have any suggestions, I’d be very appreciative.

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; TOP: 0px”

to the

<div id=div_name>

So, you’ll have:

<DIV id=div_name style="POSITION: absolute; TOP: 0px">aaspot_US~.Hration…M&Project Tool Configuration.
Try that.

August 19, 2008

I’m interested in in the actual css pulldown menu selection opening in frame 2

Filed under: Uncategorized — Tags: , — admin @ 11:20 pm

Q:

Your frameset FAQ/examples seem to tackle scenarios where submenus open
in frame 2. I’m interested in in the actual css pulldown menu selection opening in
frame 2 (menus being in frame 1). Is there some documentation I’ve
missed?

A:

All info about installation of the menu in the cross-frame mode you
can find here:

http://deluxe-menu.com/cross-frame-mode-sample.html

August 10, 2008

How can I make paths in my css pulldown menu absolute?

Filed under: Uncategorized — Tags: , — admin @ 3:15 pm

Q:

How I can make paths for images and links in my css pulldown menu absolute?

A:

You can use additional parameters to make menu paths absolute:

var pathPrefix_img = “http://domain.com/images/”;
var pathPrefix_link = “http://domain.com/pages/”;

These parameters allow to make images and links paths absolute.
For example:

var pathPrefix_img = “http://domain.com/images/”;
var pathPrefix_link = “http://domain.com/pages/”;

var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];

So, link path will be look so:
http://domain.com/pages/index.html

Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif

Please, try to use these parameters in your css pulldown menu.

Powered by WordPress