:::
所有書籍
「[1061] XOOPS佈景設計」目錄
MarkDown
7-1 tad2017/config.php
1. HTML5的開發環境與基礎
1-1 index.html
2. 用CSS3美化版面
2-1 index.html
2-2 style.css
3. 自適應CSS排版
3-1 index.html
3-2 style.css
3-3 index.html 動態標題背景
3-4 style.css 動態標題背景
4. BootStrap響應式框架
4-1 bootstrap/index.html
5. 同上週~
6. XOOPS可調式佈景開發(上)
6-1 tad2017/theme.tpl
6-2 tad2017/css/style.css
7. XOOPS可調式佈景開發(下)
7-1 tad2017/config.php
7-2 tad2017/theme.tpl
7-3 tad2017/css/style.css
7-4 tad2017/config2.php
8. 現有網頁改製為XOOPS佈景
8-1 themes/eElectronics/theme.html
8-2 themes/eElectronics/config.php
8-3 themes/eElectronics/css/style.css
8-4 themes/photography/theme.html
8-5 themes/photography/config.php
8-6 themes/photography/xotpl/logo.tpl
8-7 themes/photography/css/style.css
9. XOOPS佈景運作原理
9-1 themes/eElectronics/theme.html
9-2 themes/eElectronics/css/style.css
9-3 themes/eElectronics/config2.php
9-4 themes/eElectronics/xotpl/slider.tpl
9-5 themes/eElectronics/xotpl/system.tpl
9-6 themes/photography/xotpl/footer.tpl
9-7 themes/eElectronics/modules/system/system_siteclosed.tpl
7-3 tad2017/css/style.css
\[1061\] XOOPS佈景設計 ================== ``` <pre class="brush:xml;gutter:false;"> <html lang="<{$xoops_langcode}>"> <head> <!--目前$_SESSION['bootstrap']="<{php}>echo $_SESSION['bootstrap'];<{/php}>"; --> <!--將目前的資料夾名稱,設定為樣板標籤變數 theme_name--> <{assign var=theme_name value=$xoTheme->folderName}> <!--載入由使用者設定的各項佈景變數--> <{includeq file="$xoops_rootpath/modules/tadtools/themes_common/get_var.tpl"}> <{includeq file="$xoops_rootpath/modules/tadtools/themes_common/meta.tpl"}> <!-- 網站的標題及標語 --> <title><{$xoops_sitename}> - <{$xoops_pagetitle}></title> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/link_css.tpl"}> <!-- 給模組套用的樣板標籤 --> <{$xoops_module_header}> <!-- 局部套用的樣式,如果有載入完整樣式 theme_css.tpl 那就不需要這一部份 --> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/theme_css.tpl"}> <style type="text/css"> body{ font-family:<{$font_family}>; } @font-face { font-family: tadfont; src: url('<{xoImgUrl}>myfont.ttf'); } @font-face { font-family: setofont; src: url('<{xoImgUrl}>setofont.ttf'); } .mini_menu { background: #000 url('<{xoImgUrl}>images/min-header.jpg') top left /cover; border-bottom: 1px solid #156785; box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.4); } #footer { background: <{$footer_bgcolor}> url('<{$footer_img}>'); color: <{$footer_color}>; text-align: center; padding: 30px 0px; margin-top: 30px; position: relative; } #footer a { color: <{$footer_color}>; } </style> </head> <body> <!-- 預設選單($menu_var_kind 建議用 my_menu) --> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/navbar.tpl"}> <!-- 預設滑動圖文(可自適應) --> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/slideshow_responsive.tpl"}> <!-- <img src="<{xoImgUrl}>images/header.jpg" alt="logo" class="hidden-xs" style="width: 100%;"> <img src="<{xoImgUrl}>images/header_xs.jpg" alt="logo" class="visible-xs" style="width: 100%;"> --> <div class="container" style="margin-top: <{$margin_top}>px;"> <!-- 載入布局 --> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/$theme_type.tpl"}> </div> <div id="footer"> <{if $xoops_isadmin}> <a href="<{$xoops_url}>/modules/system/admin.php?fct=preferences&op=show&confcat_id=3" class="block_config"></a> <{/if}> <{$xoops_footer}> </div> <!-- 載入bootstrap --> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/bootstrap_js.tpl"}> <!-- 載入自訂js --> <{includeq file="$xoops_rootpath/modules/tadtools/themes3_tpl/my_js.tpl"}> <{$my_code}> <!-- 顯示參數,開發用,開發完可刪除 --> <{if $show_var=='1'}> <{includeq file="$xoops_rootpath/modules/tadtools/themes_common/show_var.tpl"}> <{/if}> <script> $(function() { $(window).scroll(scroll_style); }); function scroll_style() { var window_top = $(window).scrollTop(); if (window_top > 2) { $(".navbar").addClass("mini_menu"); } else { $(".navbar").removeClass("mini_menu"); } } </script> </body> </html> ``` </body></html>
:::
搜尋
search
進階搜尋
QR Code 區塊
快速登入
所有討論區
「PHP全端開發」線上課程討論區
XOOPS使用討論區
一般研習學員
社大學員專用
路過哈啦區
XOOPS佈景設計
XOOPS模組開發
Tad書籍區
即時留言簿
書籍目錄
總目錄
1.HTML5的開發環境與基礎
1-1index.html
2.用CSS3美化版面
2-1index.html
2-2style.css
3.自適應CSS排版
3-1index.html
3-2style.css
3-3index.html 動態標題背景
3-4style.css 動態標題背景
4.BootStrap響應式框架
4-1bootstrap/index.html
5.同上週~
6.XOOPS可調式佈景開發(上)
6-1tad2017/theme.tpl
6-2tad2017/css/style.css
7.XOOPS可調式佈景開發(下)
7-1tad2017/config.php
7-2tad2017/theme.tpl
7-3tad2017/css/style.css
7-4tad2017/config2.php
8.現有網頁改製為XOOPS佈景
8-1themes/eElectronics/theme.html
8-2themes/eElectronics/config.php
8-3themes/eElectronics/css/style.css
8-4themes/photography/theme.html
8-5themes/photography/config.php
8-6themes/photography/xotpl/logo.tpl
8-7themes/photography/css/style.css
9.XOOPS佈景運作原理
9-1themes/eElectronics/theme.html
9-2themes/eElectronics/css/style.css
9-3themes/eElectronics/config2.php
9-4themes/eElectronics/xotpl/slider.tpl
9-5themes/eElectronics/xotpl/system.tpl
9-6themes/photography/xotpl/footer.tpl
9-7themes/eElectronics/modules/system/system_siteclosed.tpl
展開
|
闔起
線上使用者
47
人線上 (
18
人在瀏覽
線上書籍
)
會員: 0
訪客: 47
更多…
:::
主選單
NTPC OpenID
活動報名
模組控制台
進階區塊管理
站長工具箱(急救版)
網站地圖
Tad Tools 工具包
站長工具箱
行事曆
討論留言
嵌入區塊模組
快速登入
網站計數器
好站連結
最新消息
檔案下載
線上書籍
電子相簿
影音播放
常見問題
萬用表單
友站消息
社大學員
新聞
下載
教材
影音
討論
其他選單
好站連結
行事曆
電子相簿
常見問題
萬用表單
即時留言簿
友站消息
社大學員
登入
登入
帳號
密碼
登入