Thanks Ralph, I tried that already but no difference?.
I am in that "too close to spot things mode" so In case anyone sees a flaw I post the code . The code below works when in an html module. I have tried playing with the selectors and as Ralph pointed out using dnn_div_Grid and _div_Grid etc
Panes in skin.
<div class="wsc_pane FullWidePane targetDiv" id="div_Grid" runat="server"></div>
<div class="wsc_pane FullWidePane targetDiv" id="div_Map" runat="server"></div>
Selector
<a class="showSingle" target="_Grid" data-placement="left" data-rel="tooltip" data-original-title="Show Grid Only"><i class="fa fa-th fa-2x" aria-hidden="true"></i></a>
<a class="showSingle" target="_Map" data-placement="left" data-rel="tooltip" data-original-title="Show Map Only"><i class="fa fa-map-marker fa-2x" aria-hidden="true"></i></a>
<a class="showall" target="_List" data-placement="left" data-rel="tooltip" data-original-title="Show All"><i class="fa fa-refresh fa-2x" aria-hidden="true"></i></a>
JQuery
$(document).ready(function () {
jQuery('.showall').click(function () {
jQuery('.targetDiv').show();
});
jQuery('.showSingle').click(function () {
jQuery('.targetDiv').hide();
jQuery('#div' + $(this).attr('target')).show();
});
jQuery('#div' + $(this).attr('_Map')).hide();
});