I am trying to use two tabbed menus on my website. With the coding I have, their is interferance between the two I believe in part of the code, causing one of them not to work. Here is part of the JavaScript Code:
<!--
function show_table( table_id ) {
if ( document.getElementById ) {
var tbl_qb = document.getElementById( 'qb' );
var tbl_rb = document.getElementById( 'rb' );
var tbl_wr = document.getElementById( 'wr' );
if ( table_id == 'qb' ) {
tbl_qb.style.display = 'block';
tbl_rb.style.display = 'none';
tbl_wr.style.display = 'none';
}
if ( table_id == 'rb' ) {
tbl_qb.style.display = 'none';
tbl_rb.style.display = 'block';
tbl_wr.style.display = 'none';
}
if ( table_id == 'wr' ) {
tbl_qb.style.display = 'none';
tbl_rb.style.display = 'none';
tbl_wr.style.display = 'block';
}
}
}
show_table( 'qb' );
remove_duplicate_games( 'qb', "" );
remove_duplicate_games( 'rb', "" );
remove_duplicate_games( 'wr', "" );
-->
I believe the problem has to do with the term "block" that I have in the coding. Does anyone know a word I can use to replace it on one of the codes? Or are there any other solutions?