Hi Guys, I am using Geo-Mashup on a wordpress project. I have this code:
I am loading this script at the beginning of the page
function tabSwitch_2(active, number, tab_prefix, content_prefix) {
for (var i=1; i < number+1; i++) {
document.getElementById(content_prefix+i).style.display = 'none';
document.getElementById(tab_prefix+i).className = '';
}
document.getElementById(content_prefix+active).style.display = 'block';
document.getElementById(tab_prefix+active).className = 'active';
}
My problem is the content it doesn't query again clicked. I want each click to load different map category pretty much. any help appreciated.