分鏡表.php

出自跨校選修
於 2025年2月19日 (三) 14:53 由 林芸伍討論 | 貢獻 所做的修訂
跳至導覽 跳至搜尋

theme.php

有一部分theme.php也需要更改,才能讓 分鏡表.php正常顯示,詳細修改如下

  • theme.php第198行:
  • 這邊是讓網址URL中,若含有「分鏡表」,就出現分鏡表核取方塊
if(strstr($_SERVER['SCRIPT_NAME'],'分鏡表')){$html1.="<span style='font-size:smaller;color:#000'><input type='checkbox' id='story'/>分鏡表 </span>\n";}
  • theme.php第214-218行:
  • 這邊是讓網址URL中,若含有「分鏡表」,就出現storyContent部分,裡面取出分鏡表.php的產出
if(strstr($_SERVER['SCRIPT_NAME'],'分鏡表')){$html1.="<div id='storyContent' style='display:none;'>    ";<br/>
ob_start(); // 開啟輸出緩衝<br/>
include('/volume1/web/uploadFiles/分鏡表/分鏡圖.php') ;<br/>
$html1 .= ob_get_clean(); // 取得 include 產生的輸出內容<br/>
$html1.="</div>";}
  • theme.php第239-250行:
  • 這邊是讓寫成,若是上述核取方塊被打勾,就隱藏content,顯示storyContent。反之,若是沒有被打勾,就顯示content,隱藏storyContent。
document.getElementById('story').addEventListener('change', function() {
    let storyContent = document.getElementById('storyContent');
    let content = document.getElementById('content');

    if (this.checked) {
        storyContent.style.display = 'block';
        content.style.display = 'none';
    } else {
        storyContent.style.display = 'none';
        content.style.display = 'block';
    }
});





待修改與測式

http://jendo.org/uploadFiles/分鏡表/test
  1. 補縮圖 work
  2. 建子資料夾,功能會繼承
  3. 分鏡圖.txt 按右鍵編輯
    1. http 下載 本地端
    2. 本地編輯
    3. 存檔時 http 上傳