Cieloa.
<div class="container"> <?php echo $notes ?> </div>
これを
<?php echo $body ?>
この下に移動(要するに『body』の中に入れている)
<script type="text/javascript"> jQuery(document).ready(function(){ jQuery('a[href^=http]') // フルパスの時 .not('[href*="'+location.hostname+'"]') .addClass("external-link") // アイコン付与 .attr({target:"_blank"}) // 別窓で開く ;}) </script>
.scrollTable .style_table { overflow-x: scroll; white-space: nowrap; -webkit-overflow-scrolling: touch; }