hi this is just css to fix
<style>
.tabContentTabs a {
background:none repeat scroll 0 0 #94BBD5;
color:#FFFFFF;
display:block;
font-size:11px;
font-weight:bold;
padding:4px 22px;
text-decoration:none;
}
.tabContentTabs a:visited {
background:none repeat scroll 0 0 #94BBD5;
}
.tabContentTabs a:hover {
background:none repeat scroll 0 0 #8EA4BE;
}
.tabContentTabs a:active {
background:none repeat scroll 0 0 #DBEAF5;
}
</style>
<script>
function showonlyone(thechosenone) {
var newboxes = document.getElementsByTagName("div");
for(var x=0; x<newboxes.length; x++) {
name = newboxes
if (name == 'newboxes') {
if (newboxes
newboxes
}
else {
newboxes
}
}
}
}
</script>
<table >
<tr>
<td>
<div class="tabContentTabs">
<a href="javascript:showonlyone('newboxes1');">Select 1st Form</a>
</div>
</td>
<td>
<div class="tabContentTabs">
<a href="javascript:showonlyone('newboxes2');">Select 2nd Form</a>
</div>
</td>
</tr>
</table>
<div name="newboxes" id="newboxes1" style=" display: none;"> Hi this is 1st Form</div>
<div name="newboxes" id="newboxes2" style=" display: block;"> Hi this is 2nd Form </div>
tha code above has two tabs in which second tab is default to show first , but i need to shade the second tab when it loads as it is default one and when u click on first tab it has to be shaded to show difference to users.
this is not working properly in Mozilla and IE
i need some suggestions to fix this.
Thanks.
