Recent Questions Tree Menu CssQ:
I am trying to figure out how to specify the css for the top css dropdown menu.
I saw this in some of the example code, but there was nothing similar in Deluxe Tuner
var itemStyles = [
var menuStyles = [
I tried adding the above to my js code, but it didn't work. I can get it to work in non-css through Deluxe Tuner.
I am trying to draw a white border around the blue css dropdown menu
/* Style for submenus */
/* Style for top items: normal state */
FONT-FAMILY: Verdana, Arial;
} A: var itemStyles = [
var menuStyles = [
The following code is Individual Styles. You can edit them in DeluxeTuner.
Open your data file, click "Edit Individual Styles..." button on themain window. And create individual item style and individual submenustyle. Then you should assign these styles to your items.
See more info about Individual Styles here:
var smSmartScroll = 1;
var topSmartScroll = 1; (works if var menuWidth isn't empty)
You can also specify height and width for each separate submenu using the following menu parameters:
var smWidth = "100px";
var smHeight = "300px";
I’ve tried every configuration available—absolute and relativepositioning and so on. I can’t get the menus to display correctly.
I have to offset the topDX by -150 and so on just to fudge it into a CLOSE position…it certainly doesn’t mirror the preview window 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" 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;"
So, you'll have:
<DIV id=navholder style="position:absolute;">
I am in the final stages of testing and need some advice and help.
I have two problems I am trying to address.
1) Arrows on dropdown menu select.
2) Load time.
Please notice, I have to use absolute paths for the dropdown menu select to work.
1) I can't get the arrows to show, so I tried to add the code for images in the first bold sentence below.
2) I tried to add the second line for absolute paths for links to increase load time in the second bold sentence. It appears that the load time is increased by about 3 seconds and that the menu is the last to load, even though I have tried to have this as the first html to load.
Neither one of my commands appear to work.
This site has over 10,000,000 items on it, and I can't wait to get this up and running. Your program is the perfect solution for anybody with a website.A: 1) Now you have:
You should set your arrows in the following way:
2) Your menu is very large. I advise you to us AJAX like technology.
You can also try the following things:
move all <script> calls into <head>, but delete dm_init() function from mainmenu.js file -- move them instead offiles calls, i.e.:
It this case data will be loaded when <head> will load, but after thatdropdown menu select must be shown quickly.
Let me know about results.