/* Move the Table number and description to the top */ /* Remove the colon from TABLE number */ if ($("div[data-block_type='tb_v6']").length) { $("div[data-block_type='tb_v6']").each(function() { /* Remove colon at the end of table number */ var the_text = $(this).children("div[data-type='table_text']").children("span[data-type='number']").text() ; var ind = the_text.indexOf(":") ; the_text = the_text.substr(0, ind) + " " ; $(this).children("div[data-type='table_text']").children("span[data-type='number']").text(the_text) ; $(this).children("table").css("margin-left","6px") ; /* Align Table title */ $(this).children("div[data-type='table_text']").children("span[data-type='number']").css("margin-left", "5px").css("padding-left", "10px").css("background-color", "#ebf3fb").css("border-bottom", "0px solid #000000") ; /* Extend width of title div */ $(this).children("div[data-type='table_text']").css("width", "700px") ; var the_div = $(this).children("div[data-type='table_text']").detach() ; $(this).before(the_div) ; }) ; } /* if */ /***********************************************/ /** Add blue stripes next to TABLE number **/ if ($("div[data-type='table_text']").length) { $("div[data-type='table_text']").each(function() { var hght = "44" ; if ((/Firefox/.test(navigator.userAgent)) || (/Chrome/.test(navigator.userAgent))) { $(this).before("
" + num + "
" + title + "