konakona
V2EX  ›  问与答

dreamweaver CC 中如何设置自动载入文件?以适应动态开发。

  •  
  •   konakona · Jun 25, 2014 · 2370 views
    This topic created in 4374 days ago, the information mentioned may be changed or developed.
    =.= 其实我觉得DW肯定做得到,不过这么多年了从来没研究过(不爱用)。
    最近发现CC挺漂亮的,嗯……打算虐一虐自己~

    文件结构:

    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
    <include file="Layout:header"/><!-- 里面包含css、js 均为动态调用 -->
    <title>{$title} {:conf('WEB_NORMAL_TITLE')}</title>
    </head>

    <body style="background: white"><!--#1F497D;-->

    <include file="wifi_menu"/> !<-- 载入一个div,里面写了很多逻辑-->

    <!-- 正文 -->

    </body>
    </html>

    必须要DW能够识别这些标签,只是希望通过设置,实现每个“Design”时能够看到载入这些文件后的样式。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1136 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:09 · PVG 07:09 · LAX 16:09 · JFK 19:09
    ♥ Do have faith in what you're doing.