縦書
提供: Book
<script type="text/javascript" src="http://namo.hongwan.net/jsr_class.js"></script> <style type="text/css"> <!-- .disp2{ cursor:move;margin:10px 0 0 0;lr-tb;direction:ltr; writing-mode:tb-rl; height:360px;width:98%; line-height: 1.8; font-size:140%; overflow: scroll; background-color: #f0f0f0; padding: 1em 1em 1em 1em; } span.itiawase a:link { font-size:xx-small;} span.itiawase a:visited { font-size:xx-small;} span.itiawase a:active { font-size:xx-small;} span.itiawase a:hover { font-size:xx-small;} .dtitle{ writing-mode:tb-rl;font-size: 24px;font-family:HG正楷書体-PRO,HG正楷書体,DF行書体,MS 明朝,Osaka ; filter: shadow(color=#B0B0B0,direction=55);color:#000000;width:100%; } --> </style> <script type="text/javascript"> <!--// JoinReload(); function JoinReload() { var oJsr = new JSONscriptRequest('http://namo.hongwan.net/ScriptServerWIKI.php?type=client'); oJsr.buildScriptTag(); oJsr.addScriptTag(); } function gototop(){ document.getElementById('disp').scrollTop = 0; document.getElementById('disp').scrollLeft = 35000; //document.getElementById('disp').scrollTo(5000,0); } function hundler(data) { var text=''; var post; post = data[0]; // 将来複数送るかも知れない text = "<p />"; text += '<span class="dtitle">' + post.title +'</span>'; text += "<p />"; text += post.text; if (post.next =="1"){ text += '<br/><br/><a href="' + post.jumpurl + '" target=\"_blank\"">' + 'この法話の続きを読む' + '</a>'; } text +='<form><input type="button" value="次の法話" onclick="JoinReload()"></form>'; text += '<p /><hr /><a href="' + post.jumpurl + '" target=\"_blank\"">' + 'この法話へ' + '</a>'; text += '<br /><a href="' + post.sitelink + '" target=\"_blank\">' + '法話の提供先へ' + '</a>'; text += '<div style="text-align: right;font-size: small;line-height: 1">' + '公開日' + post.published + '</div>'; if (post.siteimg){ text += '<img src="' + post.siteimg + '">'; } text +='<br /><br /><br /><br />'; maindisp = document.getElementById("disp"); maindisp.innerHTML = text; gototop(); oJsr.removeScriptTag(); } //--> </script> <!--表示部分--> <div id = "disp" class="disp2"></div>