Re: ポップアップ機能(jpg)実装

投稿ツリー

  • なし Re: ポップアップ機能(jpg)実装 (yamanba, 2021/8/29 9:58)
  • なし Re: ポップアップ機能(jpg)実装 (なーお, 2021/8/29 10:27)
  • なし Re: ポップアップ機能(jpg)実装 (yamanba, 2021/8/29 12:31)
  • なし Re: ポップアップ機能(jpg)実装 (yamanba, 2021/8/29 16:40)
  • なし Re: ポップアップ機能(jpg)実装 (なーお, 2021/9/1 4:17)
  • なし Re: 像ポップアップ機能(jpg)実装 (yamanba, 2021/9/1 11:58)
  • なし Re: 像ポップアップ機能(jpg)実装 (なーお, 2021/9/1 20:40)

  • このトピックの投稿一覧へ

    なし Re: ポップアップ機能(jpg)実装

    msg# 1.1.1.1
    depth:
    3
    前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2021/8/29 10:27 | 最終変更
    なーお  長老   投稿数: 1832 オンライン

    yamanbaさん、こんにちは。

    先ほど、yamanbaさんの山行サイトを見ましたが、正常にポップアップされていました。他のモジュールを表示して戻ってきても出てましたよ。(firefoxで)

    HypCommonの設定 のxpWikiレンダラー設定で、サイトワイドwikiヘルパーを有効にして、Wiki ヘルパー無効 選択にd3diaryのチェックを外した状態にし必要ないモジュールはチェックを入れた場合の説明です。

    テンプレート detail.htmlの例です。Altsysを使って編集してください。(modules/xpwikiの部分はご自身の環境に応じて編集してください。)

    今までサイトワイドwikiヘルパーを使っていない状況からスイッチすると、多くの場合は過去の記事の表示が相当に乱れると思います。ですのでこの案は参考程度に。
    その他の方法については、ご自身で同様個所のテンプレート編集をトライしてください。(私はprettyPhotoなど他の方法を試したことがありません)

    Everything is expanded.Everything is shortened.
      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    
    <link rel="stylesheet" type="text/css" media="all" href="/modules/xpwiki/skin/loader.php?charset=Shift_JIS&amp;skin=default&amp;r=1&amp;src=main.css" charset="Shift_JIS" />
    <script type="text/javascript" src="/modules/xpwiki/skin/loader.php?src=default.ja.js"></script> 
    <link rel="stylesheet" type="text/css" media="all" href="/modules/xpwiki/skin/loader.php?skin=default&amp;r=1&amp;src=lightbox.css" /> 
    <script type="text/javascript" src="/modules/xpwiki/skin/loader.php?src=lightbox.js"></script> 
     
    <{if $mod_config.show_breadcrumbs}>
    <div id="d3d_breadcrumbs">
        <a href="<{$xoops_url}>/">TOP</a>
        <{foreach from=$xoops_breadcrumbs key="i" item="item"}>
            <{* if $i!=0 *}>
            &nbsp;>&nbsp;
            <{if $item.url}>
                <a href="<{$item.url}>"><{$item.name}></a>
            <{else}>
                <{$item.name}>
            <{/if}>
            <{* /if *}>
        <{/foreach}>
    </div>
    <{/if}>
     
     
    <div id="d3dWrap">
    <{if $yd_layout=="left"}>
      <div id="d3dMainRight">
      <div id="d3dMainBodyRight">
    <{elseif $yd_layout=="right"}>
      <div id="d3dMainLeft">
      <div id="d3dMainBodyLeft">
    <{else}>
      <div id="d3dMainNoside">
      <div id="d3dMainBodyNoside">
    <{/if}>
     
    <!-- start module contents -->
    <div class="item" style="border:0px ;">
        <p><a href="<{$xoops_url}>/userinfo.php?uid=<{$yd_uid}>">
        <{if $mod_config.use_name==1 && $yd_name}><{$yd_name}>
        <{else}><{$yd_uname}>
        <{/if}></a><{$smarty.const._MD_DIARY_PERSON}>
    </p>
    <div class="itemInfo" style="text-align:left;">
    <img src="<{$xoops_url}>/modules/<{$mydirname}>/images/open<{$yd_openarea}>.gif" border=0 style="float:right;" />
    <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?req_uid=<{$yd_uid}><{$base_qstr}>" title="<{$smarty.const._MD_NEWDIARY}>" class="d3dlinkEntry" style="float:left;" ></a>
    <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?page=photolist&amp;req_uid=<{$yd_uid}><{$base_qstr}>" class="d3dlinkImage" title="<{$smarty.const._MD_NEWPHOTO}>" style="float:left;" ></a>
    <{if $yd_day>0}>[<{$yd_year}>-<{$yd_month}>-<{$yd_day}>]&nbsp;
    <{elseif $yd_month>0}>[<{$yd_year}>-<{$yd_month}>]&nbsp;<{/if}>
    <{if $yd_param.mode=="category"}><{$smarty.const._MD_CATEGORY}>&nbsp;[<{$yd_param.cname}>]&nbsp;<{/if}>
    <{if $yd_param.tag}><{$smarty.const._MD_TAG}>&nbsp;[<{$yd_param.tag}>]&nbsp;<{/if}>
    <div>&nbsp;</div>
    </div><!-- /itemInfo -->
    </div><!-- /item -->
     
    <div class="boxdate_base" style="clear:both;">
    <span class="boxdate">
    <div class="itemHead"><span class="itemTitle"><{$yd_data.year}><{* $smarty.const._MD_DATE_YEAR *}></span></div>
    <div class="itemInfo"><span class="itemText"><{$yd_data.b_month}><{ *$smarty.const._MD_DATE_MONTH *}></span>
    <span class="<{$yd_data.dclass}>"><{$yd_data.day}><{* $smarty.const._MD_DATE_DAY *}></span></div>
    <div class="itemHead"><span class="<{$yd_data.wclass}>">(<{$yd_data.week}>)</span></div>
    <{* div class="itemFoot"><span class="itemText" *}><{$yd_data.time}><{* /span></div *}>
    </span>
    </div><!-- /boxdate_base -->
     
    <div class="diaryHead">
    <div class="item">
     
    <div class="itemHead">
    <span class="itemTitle">
    <{$yd_data.title|escape}>
    </span>
    </div><!-- /itemHead -->
     
    <div class="itemInfo" style="text-align:left;">
    <span class="itemPermaLink" style="float:right;">
    <{if $yd_before.bid >0}>
    <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?page=detail&amp;bid=<{$yd_before.bid}>&req_uid=<{$yd_uid}><{$base_qstr}>" title="<{$yd_before.title}>">
    <img src="<{$xoops_url}>/modules/<{$mydirname}>/images/arrow2.png" border=0 style="vertical-align:middle;" /><{$smarty.const._MD_DIARY_LAST}>
    </a>
    <{/if}>
     
    <{if $yd_after.bid >0}>
    <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?page=detail&amp;bid=<{$yd_after.bid}>&req_uid=<{$yd_uid}><{$base_qstr}>" title="<{$yd_after.title}>">
    <{$smarty.const._MD_DIARY_NEXT}><img src="<{$xoops_url}>/modules/<{$mydirname}>/images/arrow1.png" border=0 style="vertical-align:middle;" />
    </a>
    <{/if}>
    </span>
     
    <{$smarty.const._MD_CATEGORY}>&nbsp;
    <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?req_uid=<{$yd_uid}>&amp;mode=category&amp;cid=<{$yd_data.cid}>">
    <{$yd_data.cname}></a>
     
    <{if $mod_config.use_tag>0}>
    <br />
    <{$smarty.const._MD_TAG}>&nbsp;
    <{foreach from=$bTagArr item=tags}>
        <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?req_uid=<{$yd_uid}>&amp;tag_name=<{$tags.tag_urlenc}>" style="font-size:<{$tags.size}>%"><{$tags.tag}></a> 
    <{/foreach}>
    <{/if}>
    </div><!-- /itemInfo -->
     
    </div> <!--end item -->
    </div><!-- /diaryHead -->
     
    <div class="itemDiary" style="clear:both;">
    <div class="item">
     
    <div class="itemInfo" style="text-align:left;">
    <{$smarty.const._MD_DIARY_TEXT}>
    </div><!-- /itemInfo -->
     
    <div class="itemBody">
    <div class="itemText">
     
    <{$yd_data.diary}>
     
    <{if $yd_photo.0.pid|count_characters>0}>
    <div class="PhotoBox" style="clear:both;">
     <{foreach from=$yd_photo key="num" item="photo" name="list"}>
      <{if $photo.body_in != true}>
       <{if $yd_photo|@count==1}>
        <div class="d3dPhotoCenter">
       <{elseif ($yd_photo|@count==2)&&$num==1}>
        <div class="d3dPhotoRight">
       <{else}>
        <div class="d3dPhotoLeft">
       <{/if}>
      <a href="<{$xoops_url}>/modules/<{$mydirname}>/upimg/<{$photo.pname}>" type="img" rel="stack" title="<{$photo.info|escape}>" >
      <img src="<{$xoops_url}>/modules/<{$mydirname}>/upimg/<{$photo.thumbnail}>" style="border:1px solid gray;" title="<{$smarty.const._MD_PHOTO}><{$num+1}>"/></a>
      <p><{$smarty.const._MD_PHOTO}><{$num+1}></p>
      <{if $mod_config.photo_useinfo==1 && $photo.info}><p><{$photo.info}></p><{/if}>
      </div>
      <{if $num==2 || $num==5 }><div class="clear"></div><{/if}>
      <{* <{if $num==1 || $num==3 || $num==5 || $num==7 }><div class="clear"></div><{/if}> *}>
      <{/if}>
    <{/foreach}>
    </div><!-- /PhotoBox -->
     
    <{/if}>
    </div><!-- /itemText -->
    </div><!-- /itemBody -->
     
    <div class="itemFoot" style="clear:both;">
    <span class="itemPermaLink">
     
    <{* <{attachfile_attach_download dirname=attachfile target_id=$yd_data.bid}>&nbsp;|&nbsp; *}>
     
    <{if $yd_editperm==1}>
    <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?page=edit&amp;bid=<{$yd_data.bid}><{$query_req_uid}>">
    <{$smarty.const._MD_T_EDIT}></a>&nbsp;|&nbsp;
    <{/if}>
    <{$smarty.const._MD_T_VIEW}>(<{$yd_data.view}>)
    </span>
    </div><!-- /itemFoot -->
     
    <{if $yd_data.can_disp!=true}>
        <font color="#FF0000"><{$smarty.const._MD_DIARY_NOPERMBODY}></font>
    <{/if}>
    </div> <!--end item -->
    </div> <!--end itemDiary -->
     
    <{if $yd_data.can_disp==true || $yd_data.can_disp_com==true }>
    <!-- start comment area -->
    <div class="d3d_d3com">
    <{if $mod_config.comment_dirname}>
        <a name="comment"></a>
        <{d3comment mydirname=$mydirname id=$yd_data.bid subject=$yd_data.title class="d3diaryD3commentContent" posts_num=$mod_config.comment_posts_num}>
    <{else}>
        <a name="viewcomment"></a>
      <{if $mod_config.use_simplecomment == 0}>
        <{$commentsnav}>
        <center><{$lang_notice}></center>
        <{if $comment_mode == "flat"}>
          <{include file="db:system_comments_flat.html"}>
        <{elseif $comment_mode == "thread"}>
          <{include file="db:system_comments_thread.html"}>
        <{elseif $comment_mode == "nest"}>
          <{include file="db:system_comments_nest.html"}>
        <{/if}>
     
      <{else}>
        <{if $comments.0.id >0}>
        <table class="outer"><tr><th>
        <{$smarty.const._MD_CATEGORY}>
        </th></tr><tr><td>
        <div style="margin: 1px; padding: 1px;">
        <!-- start comments loop -->
        <{include file="db:system_comments_flat.html"}>
        <!-- end comments loop -->
        </div>
        </td></tr></table>
        <br />
        <{/if}>
        <!-- start comment form -->
        <table class="outer"><tr><th>
        <{$smarty.const._MD_COM_WRITE}>
        </th></tr><tr><td>
        <{if $xoops_isuser==1}>
        <{$yr_comment_form}>
        <{else}>
        <{$smarty.const._MD_COM_HOWTOWRITE1}><a href="<{$xoops_url}>/user.php"><{$smarty.const._MD_COM_HOWTOWRITE2}></a><{$smarty.const._MD_COM_HOWTOWRITE3}><br />
        <{/if}>
        </td></tr></table>
        <!-- end comment form -->
        <!-- end comment area -->
      <{/if}>
    <{/if}>
    </div><!-- /d3d_d3com -->
    <{/if}>
    </div>
    </div>
     
    <{if $yd_layout=="left"}>
      <div id="d3dSideLeft">
      <{include file="db:`$mydirname`_rightarea.html"}>
      </div><!-- /d3dSidexxxx --> 
    <{elseif $yd_layout=="right"}>
      <div id="d3dSideRight">
      <{include file="db:`$mydirname`_rightarea.html"}>
      </div><!-- /d3dSidexxxx --> 
    <{/if}>
     
    </div><!-- /d3dWrap --> 
    <div class="clear"></div> 
     
    <{include file='db:system_notification_select.html'}>
     
    <{if $debug_time}>
     <{foreach from=$debug_time item="debug"}>
        <{$debug.time}>:<{$debug.caller}><br />
     <{/foreach}>
    <{/if}>
    投票数:0 平均点:0.00
    返信する

    この投稿に返信する

    題名
    ゲスト名
    投稿本文

      条件検索へ


    ログイン

    メインメニュー

    テーマ選択
    Cube