新手问题 如何整合一个动态的网页

kevinunic · 2012年12月14日 · 2420 次阅读

别人的一个首页模板 index.html,有动画,但是通过把 js 和 css 文件移到该移动的地方,在 application.html.erb 中包含这些文件,把 index.htnl 的 body 部分转到我的里面不能用啊。下面是那个模板首页:

<!doctype html>

<!--[if gt IE 8]><!--> <!--<![endif]-->

<!-- Set charset to UTF-8 -->

<!-- Make IE use the latest document compability -->

<!-- Title of your website goes here -->

Your title

<!-- Your website's description for SEO -->

<!-- Makes your website stretch full width on a mobile device -->

<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->

<!-- CSS styles -->

window.jQuery || document.write('<script src="assets/js/jquery-1.8.1.min.js"><\/script>') var _gaq=[['_setAccount','UA-32404786-1'],['_trackPageview']]; (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; s.parentNode.insertBefore(g,s)}(document,'script'));

We are under construction and almost ready!

Freebies, useful tips, tutorials and a handful of premium wordpress themes.
All this and more will be available to you in:

<!-- end #intro -->

<!-- Do not edit this code unless you know what you are doing! It displays a countdown or a progress bar depending on your config.php -->

<!-- end .container -->

<!-- Only display a subscription form if the $newsletter_mode is not blank -->


<!-- A little header to let the users know why they should subscribe -->

Subscribe to get notified when we launch

<!-- end #subscription --> <!-- end .container -->

<!-- end #wrap2 --> <!-- end #wrap1 -->

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号