Recent Questions Get Css Tree From Xslt
Q: Both arrow types are visible when my intranet first loads and when I select a top item that is a direct link to a page.
But, as soon as I select any item from a list of sub items that includes subitems with arrows,
the arrow images disappear from vertical menu until I refresh the site.
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.Q: I was wondering why when I add the code below the flash disappears in safari, but now works in Firefox, when the dropdown menu is rolled over? Can it work in both Safari and Firefox?
function dm_ext_ruleObjectHide()
{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
else
return false;
}
A: The following code in this function
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
hides flash in Safari.
JavaScript Tree Menu can't drop down over an object correctly in Safari that iswhy the latter will be hidden for a time when the submenu is shown.
You can try to delete this code.
Q: Hi there. I am evaluating your tabs before I purchase and I ran into a small problem. If I can get this resolved I am ready to purchase.
I need to be able to execute some javascript when I click on a tab. What I am planning on doing is I want to dynamically set the location.href property of an iFrame located inside of a content div.
I can't figure out how to do it. Any help will go a long way for me to decide to purchase. Thanks!
A: You can use your own javascript functions in the menu items.
You should paste "javascript:some_function()" into item's link field, for example:
["tab text","javascript: window.open('test.html', 'frameName')", ...],
or
["tab text","javascript: getURLForFrame()", ...],
Try that.
Q: The dhtml css drop down menu hides under the flash videos an the flash header in firefox, it works alright in IE and I hae been on your FAQs an followed the transparent code to add to the flash to make the menu appear and adding the code to the data file but it still doesnt work. Could you look at the source code of the site and show me an example of how it would work and what edits I need to make as it’s very frustrating that I cant launch the site without this.
A: See how you should install the menu with flash for Firefox here:
http://deluxe-menu.com/objects-overlapping-sample.html
You should set "opaque" parameter for your flash, set the followingparameter
var dmObjectsCheck=1;
and add
function dm_ext_ruleObjectHide()
{
return false;
}
in the beginning of your dhtml css drop down menu data file.