My Blog Title Here

December 5, 2008

I’ve been trying to get the down javascript menu to stay highlighted when clicked

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

Q:

Is it possible that when a main button on the home page is
clicked and the viewer goes to the subpage, that the navbar will
expand to the correct subpage submenu? For example, I click on Agent
and when the subpage loads the submenu is expanded under Agent.

I’ve been trying to get the down javascript menu to stay highlighted
when clicked on and directed to that page. For example when clicked
on Agent, then Agent Home, once that page loads the whole down javascript menu
for Agent Home stays highlighted in orange. I haven’t been
successful, any suggestions?

A:

Tree Menu doesn’t save a pressed
item as it saves a tree state. It works within 1 page only and if you
reload the page you should set a pressed item using Javascript API.

You can find more info on our website:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html

September 6, 2008

I’m using the Navigation BAR TABS. What should I do in order to link one of the down javascript menu tabs to the following object ‘BLOG’…

Filed under: Uncategorized — Tags: , — admin @ 1:50 am

Q:

For the last two days I’ve been trying the above product, and I’m
very impressed with its flexibility and features, and I’m about to
buy it, I have only one question that I couldn’t figure out the
answer.

I’m using the Navigation BAR TABS. What should I do in order to
link one of the down javascript menu tabs to the following object ‘BLOG’ as in the
following example / piece of code. (When the user selects one
specific tab, a blog should be displayed.

I’m looking towards your reply, as it seems your product is quite
fit to perform the job in a straightforward manner.

A:

See in Deluxe Tabs there is two modes:

1. var tabMode=0;
You can create only one level of tabs and assign Object Id’s of the
DIV’s to show when you click on the tab.

["XP Tab 1","content1", "", "", "", "", "", "", "", ],
["XP Tab 2","content2", "", "", "", "", "", "", "", ],
["XP Tab 3","content3", "", "", "", "", "", "", "", ],
["XP Tab 4","content4", "", "", "", "", "", "", "", ],

2. var tabMode=1;
You can assign only links in this mode.
You should create top level down javascript menu items with subitems.

["XP Tab 1","", "", "", "", "", "", "", "", ],
["|Link 1_1","http://deluxe-tabs.com", "", "", "", "", "0", "", "", ],
["|Link 1_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 2","", "", "", "", "", "", "", "", ],
["|Link 2_1","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 3","", "", "", "", "", "", "", "", ],
["|Link 3_1","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_5","testlink.htm", "", "", "", "", "0", "", "", ],

You can use Object ID as well as Link in both modes. Use the following prefixes within item’s link field:
“object:” - means that there is object id after it;
“link:” - means that there is a link after it.
“javascript:” - means that there is a javascript code after it, for example:javascript:alert(\’Hello!\’)

So, you should write for example:

["|Link 1_1","object:Content1_1", "", "", "", "", "0", "", "", ],

August 28, 2008

I need to create a down javascript menu triggered from a flash movie button.

Filed under: Uncategorized — Tags: , — admin @ 8:00 am

Q:

I need to create a pop-up down javascript menu triggered from a flash movie
button. Is this possible, and if so, do you have any documentation
on this? (coding for flash button, etc)

A:

Unfortunately you cannot assign OnClick or OnContextMenu event for
flash file.

August 21, 2008

Is there a parameter in down javascript menu to force the menu text to wrap

Filed under: Uncategorized — Tags: , — admin @ 2:55 pm

Q:

Is there a parameter in Tree Menu I can add and/or adjust in data.js to
force the menu text to wrap and add here to a set menu width?

A:

You should use tags, for example:

var tmenuItems = [
["line 1line 2"],
];

Width of the down javascript menu you can set so:
var tmenuWidth = “500px”;
Try that.

Try to specify units in “px”.
var tmenuWidth = “182px”;
It’s necessary to specify exact value for Mozilla browsers. It helps
to position menus correctly.

You should set this parameter:
var tmenuHeight = “auto”;

August 16, 2008

Why the down menu button submenu alignment changes depending on the browser window size?

Filed under: Uncategorized — Tags: , — admin @ 9:45 am

Q:

I’m still having the issue with the sub-menus not being in the proper
place, however I was able to fix the issue with down menu button now showing up in
IE at all, it turns out I forgot a tag.

So do you know why the sub-menu alignment changes depending on the
browser window size? Either of the links below should give an example.

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;”

to the

<DIV id=navholder>

So, you’ll have:

<DIV id=navholder style=”position:absolute;”>

Powered by WordPress