开发者社区> 问答> 正文

typecho移植模板时js和css无效

移植html5up的一个响应式模板,js和css都无效,请问是为什么?

header.php:

<!DOCTYPE HTML>
<html>
   <head>
      <title>温 柔 的 围 困</title>
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
      <script src="<?php $this->options->themeUrl('js/jquery.min.js'); ?>"></script>
      <script src="<?php $this->options->themeUrl('js/jquery.poptrox.min.js'); ?>"></script>
      <script src="<?php $this->options->themeUrl('js/skel.min.js'); ?>"></script>
      <script src="<?php $this->options->themeUrl('js/init.js'); ?>"></script>
      <noscript>
         <link rel="stylesheet" href="<?php $this->options->themeUrl('css/skel.css'); ?>" />
         <link rel="stylesheet" href="<?php $this->options->themeUrl('css/style.css'); ?>" />
         <link rel="stylesheet" href="<?php $this->options->themeUrl('css/style-xlarge.css'); ?>" />
      </noscript>

   </head>
   <body id="top">
      <!-- Header -->
         <header id="header">
            <a href="#" class="image avatar"><img src="<?php $this->options->themeUrl('images/avatar.jpg'); ?>" alt="" /></a>
            <h1><strong>Silhouette</strong><br />
            </h1>
         </header>

      <!-- Main -->
         <div id="main">

screenshot

展开
收起
杨冬芳 2016-05-31 17:08:58 3586 0
1 条回答
写回答
取消 提交回答
  • 旺旺:nectar2。

    您好,

    那您在浏览器里查看网页的源码中,引用的css地址是什么呢?是有效的吗?

    2019-07-17 19:22:14
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
JavaScript 语言在引擎级别的执行过程 立即下载
Python第五讲——关于爬虫如何做js逆向的思路 立即下载
JavaScript异步编程 立即下载

相关实验场景

更多