Recent Questions Mouseover Event In Componentart Treeview
Q: I need current page highlighted on javascripts tab menu.
what I do the change on data.js file.
A: 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> Q: You have been great help, but this will not work for me. All I want is the dropdown menu javascript I have attached to have these colors on the seperate top items. I just cannot make the software work . As soon as I get this done I promise to leave you alone
#0000ff Find Out Who We Are
#FF00FF Apply for a Fellowship
#00ffff Fellow'sCorner
#00ff00 Enroll in a Course
#FFFF00 Engage in a Discussion
#FF0000 Read the Bulletin
A: You should create 6 Individual Styles and assign them to you topitems.
var itemStyles = [
["itemBackColor=#0000ff,#0000ff","showByClick=0"], //style 0
["itemBackColor=#FF00FF,#FF00FF","showByClick=0"], //style 1
["itemBackColor=#00ffff,#00ffff","showByClick=0"], //style 2
["itemBackColor=#00ff00,#00ff00","showByClick=0"], //style 3
["itemBackColor=#FFFF00,#FFFF00","showByClick=0"], //style 4
["itemBackColor=#FF0000,#FF0000","showByClick=0"], //style 5
];
["Find out Who we are","http://www.humanscience.org/", "", "", "", "", "0", "0", "", "", "", ], //style 0
["Apply For Fellowship","http://www.humanscience.org/infoSnippets.cfm", "", "", "", "_blank", "1", "", "", "", "", ], //style 1
["Fellows Corner","", "", "", "", "", "2", "", "", "", "", ], //style 2
["Enroll in a course","", "", "", "", "", "3", "", "", "", "", ], //style 3
["Engage in a discussion","", "", "", "", "", "4", "", "", "", "", ], //style 4
["Read The Bulletin","", "", "", "", "", "5", "", "", "", "", ], //style 5
You can also set
var itemSpacing=0;
to delete spacing around the dropdown menu javascript.
Q: http://deluxe-tabs.com/file/templates/deluxe-tabs-style-5.html I like the transitional fade of onclick tab data between tabs of this menu, but I don't see anything in Transitional Effect variables to manipulate this.
A: You can set transitional effects in the "Transitional Effects"section in Deluxe Tuner.
//--- Transitional Effects
var btransition=24;
var btransOptions="";
var btransDuration=300;
Notice that Transitional Effects are supported by IE5.5+ only.Q: My name is Wayne Dekmar, I am a registered user. I have a question when using your javascript browser menu with Frames. In the Item Parameter box, Link, I would select the page that I want open. Target, would I select custom then add below : Target='main'. Is this correct? Can you give me an example of how to do this.
A: You can set target parameter for all items:
var itemTarget="main";
Where main - is the name of the frame where you want to open the link.
or for each item individually:
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],