ページへ戻る
印刷
HypCommonFunc 更新 (Ver. 20110904) スマートフォン対応関連
をテンプレートにして作成 ::
XOOPS マニア
UsersWiki
:nao-pon/blog/2011-09-04 をテンプレートにして作成
開始行:
#navi
RIGHT:&rsslink(../);
#boxdate
* HypCommonFunc 更新 (Ver. 20110904) スマートフォン対応関...
RIGHT:&tag(HypCommonFunc,携帯対応レンダラー,HypCommonPreL...
HypCommonFunc を更新して、Ver. 20110904 としました。
''&font(#0000ff){ダウンロード};''は、&font(140%){HypCommo...
** 主な更新内容
- html側のテーマ変更
-- theme.html に "<{$xoops_module_header}>" を挿入。(前回...
-- smart.css に、ビデオ表示を画面幅に合わせる CSS を追加...
--- ビデオ表示する <iframe>, <object>, <embed> を class="...
--- 表示例~
&ref(http://www.youtube.com/watch?v=IV2I_RYrVDE);
--- ビデオエレメントが画面横幅にフィットする様子 (端末 De...
&ref(http://www.youtube.com/watch?v=aqIRTtSkUL8);
- XOOPS Cube Legacy 2.2.0 で標準になった jQuery 読み込み...
-- したつもり。本当はスマフォアクセス時は、jQuery 読み込...
- Google Adsense のタグが、<div data-role="content"> の外...
- 定数 HYP_K_TAI_RENDER に jQuery mobile 使用時は 2、通常...
-- このサイトでは、スマートフォンに基本は携帯テンプレート...
-- メインメニュー ( block : system_block_mainmenu.html ) ...
#code(html){{
<{if ($smarty.const.HYP_K_TAI_RENDER == 2)}>
<a href="<{$xoops_url}>/" id="mainmenu" data-role="button...
<ul data-role="listview">
<!-- start module menu loop -->
<{foreach item=module from=$block.modules name=main}>
<li data-role="list-divider" role="heading">
<a href="<{$xoops_url}>/modules/<{$module.directory}>/"><...
<{if $module.sublinks}>
<{foreach item=sublink from=$module.sublinks name=sub}>
<li class="ui-li-divider"><a href="<{$sublink.url}>"><{$s...
<{/foreach}>
<{/if}>
</li>
<{/foreach}>
</ul>
<!-- end module menu loop -->
<{else}>
<a href="<{$xoops_url}>/" id="mainmenu"><{$blo...
<!-- start module menu loop -->
<{foreach item=module from=$block.modules name=main}>
<{if ($smarty.foreach.main.last)}>└<{else}>├<{/if}> <a hr...
<{foreach item=sublink from=$module.sublinks name=sub}>
│<{if ($smarty.foreach.sub.last)}>└<{else}>├<{/if}> <a hr...
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
<{/if}>
}}
** 更新ファイル
- 2011-09-04 22:04 nao-pon
-- preload/hyp_preload.php (1.84)
--- Include Ads in '<div data-role="content">'.
- 2011-09-04 20:51 nao-pon
-- version.php (1.124)
--- Version 20110904.
- 2011-09-04 20:51 nao-pon
-- html/themes/ktai_default/smart.css (1.5)
--- Image, video width adjustment. It need to wrap by <di...
- 2011-09-04 17:27 nao-pon
-- preload/hyp_preload.php (1.83)
--- Defined "HYP_K_TAI_RENDER" to "2" when jQuery mobile ...
--- Correction for XCL 2.2.0.
- 2011-09-04 17:23 nao-pon
-- html/themes/ktai_default/smart.css (1.4)
--- Image, video width adjustment. It need to wrap by div...
- 2011-09-04 17:04 nao-pon
-- html/themes/ktai_default/theme.html (1.9)
--- Insert "<{$xoops_module_header}>".
RIGHT:&font(90%){&page_comments;};
#navi
終了行:
#navi
RIGHT:&rsslink(../);
#boxdate
* HypCommonFunc 更新 (Ver. 20110904) スマートフォン対応関...
RIGHT:&tag(HypCommonFunc,携帯対応レンダラー,HypCommonPreL...
HypCommonFunc を更新して、Ver. 20110904 としました。
''&font(#0000ff){ダウンロード};''は、&font(140%){HypCommo...
** 主な更新内容
- html側のテーマ変更
-- theme.html に "<{$xoops_module_header}>" を挿入。(前回...
-- smart.css に、ビデオ表示を画面幅に合わせる CSS を追加...
--- ビデオ表示する <iframe>, <object>, <embed> を class="...
--- 表示例~
&ref(http://www.youtube.com/watch?v=IV2I_RYrVDE);
--- ビデオエレメントが画面横幅にフィットする様子 (端末 De...
&ref(http://www.youtube.com/watch?v=aqIRTtSkUL8);
- XOOPS Cube Legacy 2.2.0 で標準になった jQuery 読み込み...
-- したつもり。本当はスマフォアクセス時は、jQuery 読み込...
- Google Adsense のタグが、<div data-role="content"> の外...
- 定数 HYP_K_TAI_RENDER に jQuery mobile 使用時は 2、通常...
-- このサイトでは、スマートフォンに基本は携帯テンプレート...
-- メインメニュー ( block : system_block_mainmenu.html ) ...
#code(html){{
<{if ($smarty.const.HYP_K_TAI_RENDER == 2)}>
<a href="<{$xoops_url}>/" id="mainmenu" data-role="button...
<ul data-role="listview">
<!-- start module menu loop -->
<{foreach item=module from=$block.modules name=main}>
<li data-role="list-divider" role="heading">
<a href="<{$xoops_url}>/modules/<{$module.directory}>/"><...
<{if $module.sublinks}>
<{foreach item=sublink from=$module.sublinks name=sub}>
<li class="ui-li-divider"><a href="<{$sublink.url}>"><{$s...
<{/foreach}>
<{/if}>
</li>
<{/foreach}>
</ul>
<!-- end module menu loop -->
<{else}>
<a href="<{$xoops_url}>/" id="mainmenu"><{$blo...
<!-- start module menu loop -->
<{foreach item=module from=$block.modules name=main}>
<{if ($smarty.foreach.main.last)}>└<{else}>├<{/if}> <a hr...
<{foreach item=sublink from=$module.sublinks name=sub}>
│<{if ($smarty.foreach.sub.last)}>└<{else}>├<{/if}> <a hr...
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
<{/if}>
}}
** 更新ファイル
- 2011-09-04 22:04 nao-pon
-- preload/hyp_preload.php (1.84)
--- Include Ads in '<div data-role="content">'.
- 2011-09-04 20:51 nao-pon
-- version.php (1.124)
--- Version 20110904.
- 2011-09-04 20:51 nao-pon
-- html/themes/ktai_default/smart.css (1.5)
--- Image, video width adjustment. It need to wrap by <di...
- 2011-09-04 17:27 nao-pon
-- preload/hyp_preload.php (1.83)
--- Defined "HYP_K_TAI_RENDER" to "2" when jQuery mobile ...
--- Correction for XCL 2.2.0.
- 2011-09-04 17:23 nao-pon
-- html/themes/ktai_default/smart.css (1.4)
--- Image, video width adjustment. It need to wrap by div...
- 2011-09-04 17:04 nao-pon
-- html/themes/ktai_default/theme.html (1.9)
--- Insert "<{$xoops_module_header}>".
RIGHT:&font(90%){&page_comments;};
#navi
ページ名: