Recent Questions
Q: Ich habe Kauf Ihr Produkt vor einer Weile, aber ich habe eine Frage. Wenn es einen submenu gibt, den die Software collaps ein + Knopf der submenu hinzufügt. Meine Frage ist, kann ich dem Hauptpunkt eine Verbindung hinzufügen, damit wenn der Verbraucher es, das Menü Wille collaps ebenso anklickt?
Zum Beispiel wenn Sie anschauen Sie Beispiel das es gibt eine Funktion „Produktinfo“ die ich collaps jenesMenu" durch Anklicken vom + Symbol kann, aber ist es auch möglich, ihm collaps zu lassen, wenn ich„Produktinfo“ sich klicken würde.
Es wäre ein nettes Kennzeichen.
Ein:Dank für Ihr Interesse in unseren Produkten.
Sie sollen den Folgenden Parameter setzen:
var texpandItemClick = 1;
>Kehren Sie zu Neuen Fragen zurückQ: Drop down menus I have created with your product DHTML Tuner don't look too good in FireFox... is there something I can do different or do you have a newer/better solution that would work for both IE and FireFox?
A: And what exact problems do you have in Firefox? Actually Deluxe Menu works fine inFirefox. But notice that filters and transitional effect are supported by IE5.5.5+ only.
http://deluxe-menu.com/filters-and-effects-sample.htmlQ: I want to use
function dtreet_ext_userRightClick(itemID) {
alert(itemID[0]); ???
return false;
}
But how do I refer to tmenuItems array using itemID in the javascript?
For example, if I want to pop a link text, should I use alert(itemID[0]))?
It doesn't work.
Please let me know how I refer to the menu.
A: You should use the following function to get item's info:
dtreet_ext_getItemParams (0, itemID);
For example:
<script type="text/javascript">
function dtreet_ext_userRightClick(itemID)
{ var link = [];
link = dtreet_ext_getItemParams (0, itemID);
//Returns item parameters in the array:
// [item_id, index_within_submenu, parentID, level, has_child, child_count, expanded, text, link, target, tip, align, icons, hidden, disabled, visible]
alert(link[7]);
return false;
}
</script>
Q: Earlier today I bought your Deluxe Tabbed Menu software. I "nearly" have the menu I want working, but my problem is that the sub menus I have created in my java script tabs disappear very quickly after being clicked. I want these sub-menus to stay when.
The website that I have developed the menu for can be seen at www.domain.ie/index.php I have sub menus created for the About, Courses & Contact Us items, but as mentioned these disappear very quickly.
FYI, I call the data.js menu file from an include file in the webpages. I don't know if this has anything to do with my problem.
A: That is happen because you have links for the top items with subitems:
About Us
Courses
Contact Us
Actually it is not correctly to use links for items with subitems. Youshould use these items to open subitems only.
But if you want to use links for them you should set the correctpressed item for this page, for example for
http://www.domain.ie/about.php
you should set
var bselectedItem=2;
http://www.domain.ie/courses.php
you should set
var bselectedItem=6;
Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, forexample:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>