Advertisement
| 10.13.2008 at 07:46AM PDT, ID: 23809605 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: |
<!--#INCLUDE file= "../TabControl/TabControl.asp"-->
<%
'See if the default tab is passed to us
DefaultTab = Request.QueryString("Tab")
if DefaultTab = "" then
DefaultTab = 2
else
DefaultTab = cint(DefaultTab)
end if
' Declare and create our TabControl Object in memory
Dim MyTabControl, DefaultTab
Set MyTabControl = New TabControl
MyTabControl.TabType = TabTypeDynamic
MyTabControl.TabSelected = DefaultTab
MyTabControl.ControlImagePath = "../tabcontrol/"
MyTabControl.ControlScriptPath = "../tabcontrol/"
MyTabControl.TabWidth = "100"
MyTabControl.Width = "90%"
MyTabControl.Height = "800"
MyTabControl.OnClick = "countClicks('{0}');"
'We will just use the default value for the below properties
'MyTabControl.BGColor = "#F7F7F8"
%>
<head>
<title>tabbed pages</title>
</head>
<script language="javascript">
var intClicks = 0;
function countClicks(strIndex) {
intClicks +=1;
document.getElementById("ClickCounter").innerHTML = intClicks +" (tab="+ strIndex +")";
}
</script>
<body topmargin="0" leftmargin="0" rightmargin="0">
<br>
<center>
<%
'Add Tabs
MyTabControl.AddTab "INTAKE","icon_company.gif","tab1"
MyTabControl.AddTab "SUP","icon_user.gif","tab2"
MyTabControl.AddTab "PARTNERS","icon_activity.gif","tab3"
MyTabControl.AddTab "ADMIN","admin_icon.png","tab4"
MyTabControl.AddTab "REPORTS","reportEx.gif","tab5"
MyTabControl.AddTab "SEARCH","icon_search.gif","tab6"
MyTabControl.AddTab "LOGOUT","logout.png","tab7"
'Draw Tab Control
MyTabControl.Draw
'Add your content to div's which have the corresponding tab id as passed to AddTab
%>
<div id='tab1'>
<!--#INCLUDE FILE="tab_tab1.asp"-->
</div>
<div class=TabContent id="tab2">
<!--#INCLUDE FILE="tab_tab2.asp"-->
</div>
<div id="tab3">
<!--#INCLUDE FILE="tab_tab3.asp"-->
</div>
<div id='tab4'>
<!--#INCLUDE FILE="tab_tab4.asp"-->
</div>
<div class=TabContent id="tab5">
<!--#INCLUDE FILE="tab_tab5.asp"-->
</div>
<div id="tab6">
<!--#INCLUDE FILE="tab_tab6.asp"-->
</div>
<div id='tab7'>
<!--#INCLUDE FILE="tab_tab7.asp"-->
</div>
<font face='arial' size='2'>Optional tab width is set to make the tabs the same size and OnClick event used in this demo.<br>
OnClick event counter: <span id="ClickCounter">0</span>
</font>
</center>
</body>
</html>
|
Advertisement