|
|
(同じ利用者による、間の6版が非表示) |
1行目: |
1行目: |
− | <addhtml><html>
| |
− | <head>
| |
− | <script type="text/javascript" src="http://namo.hongwan.net/jsr_class.js"></script>
| |
| | | |
− | <style type="text/css">
| |
− | <!--
| |
− | .disp2{ cursor:move;margin:0 0 0 0;lr-tb;direction:ltr; writing-mode:tb-rl; height:360px;width:100%; line-height: 1.8;
| |
− | font-size:100%;
| |
− | overflow: scroll;
| |
− | background-color: #f0f0f0;
| |
− | padding: 1em 0.1em 0.5em 0;
| |
− | }
| |
− | 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>
| |
− |
| |
− | </head>
| |
− | <body>
| |
− | <!--表示部分-->
| |
− | <div id = "disp" class="disp2"></div>
| |
− |
| |
− |
| |
− | </body>
| |
− | </html></addhtml>
| |