Javascript 在rails 4上不工作的插件
我已经安装了一个模板,除了一些javascript之外,所有的东西都在工作,但是当我检查javascript的编译列表时,我看到所有的文件都已加载,css有所有正确的文件。解决问题的最佳方法是什么,找出如何加载js并找出问题所在 这是我的application.js文件Javascript 在rails 4上不工作的插件,javascript,jquery,html,css,ruby-on-rails,Javascript,Jquery,Html,Css,Ruby On Rails,我已经安装了一个模板,除了一些javascript之外,所有的东西都在工作,但是当我检查javascript的编译列表时,我看到所有的文件都已加载,css有所有正确的文件。解决问题的最佳方法是什么,找出如何加载js并找出问题所在 这是我的application.js文件 // This is a manifest file that'll be compiled into application.js, which will include all the files // listed bel
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require jquery.purr
//= require best_in_place
//= require bootstrap
//= require turbolinks
//= require js/template
//= require bootstrap/js/bootstrap
//= require plugins/rs-plugin/js/jquery.themepunch.revolution
//= require plugins/rs-plugin/js/jquery.themepunch.enablelog
//= require plugins/isotope/isotope.pkgd
//= require magnific-popup
//= require plugins/SmoothScroll
//= require plugins/modernizr
//= require plugins/jquery.validate
//= require plugins/jquery.parallax-1.1.3
//= require plugins/jquery.min
//= require plugins/jquery.knob.min
//= require plugins/jquery.countTo
//= require plugins/jquery.browser
//= require owl.carousel
//= require js/custom
//= require js/coming.soon.config
//= require js/google.map.config
//= require bootstrap/js/bootstrap.min
//= require bootstrap/js/npm
//= require plugins/bootstrap-notify/bootstrap-notify.min
//= require_tree ../../../vendor/assets/template/bootstrap/js
//= require_tree ../../../vendor/assets/template/js
//= require_tree ../../../vendor/assets/template/plugins/bootstrap-notify
//= require_tree ../../../vendor/assets/template/plugins/charts
//= require_tree ../../../vendor/assets/template/plugins/jasny-bootstrap/js
//= require_tree ../../../vendor/assets/template/plugins/jquery.countdown
//= require_tree ../../../vendor/assets/template/plugins/morphext
//= require_tree ../../../vendor/assets/template/plugins/vide
//= require_tree ../../../vendor/assets/template/plugins
这里还有我的application.css.scss文件
@import "bootstrap";
@import "css/style";
@import "plugins/rs-plugin/css/settings-ie8";
@import "css/animate";
@import "plugins/rs-plugin/css/settings";
@import "css/animations";
@import "font-awesome";
@import "fontello";
@import "plugins/morphext/morphext";
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require magnific-popup
*= require owl.carousel
*= require owl.theme
*= require owl.transitions
*= require_directory ./plugins/hover
*= require animate
*= require jquery.countdown
*= require 'bootstrap/css/bootstrap.css'
*= require '/fonts/font-awesome/font-awesome.scss'
*= require_directory ./fonts/fontello/css
*= require_directory ./plugins/jasny-bootstrap/css
*= require_directory ./plugins/morphext
*= require_directory ./css/skins
*= require_directory ./css
*= require hover
*/
这个页面应该是这样的
但是滚动的视频无法工作,或者在盒子上淡入。不知道先做什么
下面是控制台显示的内容
WelcomeController#索引处理为HTML呈现
welcome/\uuu manager\u slideshow.html.erb(0.1ms)渲染
welcome/index.html.erb内布局/应用程序(14.5ms)已完成
4392毫秒内200正常(视图:4391.3毫秒)
2015年12月10日开始获取10.0.2.2版的“/assets/jquery.js?body=1”
05:44:20+0000
于2015年12月10日开始获取10.0.2.2版的“/assets/jquery_ujs.js?body=1”
05:44:20+0000
开始获取10.0.2.2中的“/assets/application.css?body=1”
2015-12-10 05:44:20+0000
2015年12月10日开始获取10.0.2.2版的“/assets/jquery.purr.js?body=1”
05:44:21+0000
开始获取“/assets/best_in_place.js?body=1”的10.0.2.2版本
2015-12-10 05:44:21+0000
开始获取10.0.2.2版本的“/assets/jquery.autosize.js?body=1”
2015-12-10 05:44:21+0000
开始获取“/assets/bootstrap/affix.js?body=1”,用于10.0.2.2 at
2015-12-10 05:44:22+0000
开始获取10.0.2.2版本的“/assets/bootstrap/alert.js?body=1”
2015-12-10 05:44:22+0000
开始获取10.0.2.2的“/assets/bootstrap/button.js?body=1”
2015-12-10 05:44:22+0000
开始获取10.0.2.2的“/assets/bootstrap/collapse.js?body=1”
2015-12-10 05:44:22+0000
开始获取10.0.2.2版本的“/assets/bootstrap/carousel.js?body=1”
2015-12-10 05:44:22+0000
2015年12月10日05:44:23开始获取10.0.2.2版的“/assets/animate.css”
+万
开始获取10.0.2.2的“/assets/bootstrap/dropdown.js?body=1”
2015-12-10 05:44:23+0000
开始获取10.0.2.2版本的“/assets/bootstrap/tab.js?body=1”
2015-12-10 05:44:23+0000
开始获取10.0.2.2的“/assets/bootstrap/transition.js?body=1”
2015-12-10 05:44:23+0000
开始获取10.0.2.2版本的“/assets/bootstrap/scrollspy.js?body=1”
2015-12-10 05:44:23+0000
开始获取10.0.2.2版本的“/assets/bootstrap/modal.js?body=1”
2015-12-10 05:44:23+0000
开始获取10.0.2.2版本的“/assets/bootstrap/tooltip.js?body=1”
2015-12-10 05:44:24+0000
开始获取10.0.2.2版本的“/assets/bootstrap/popover.js?body=1”
2015-12-10 05:44:24+0000
2015年12月10日开始获取10.0.2.2版的“/assets/bootstrap.js?body=1”
05:44:24+0000
2015年12月10日开始获取10.0.2.2版的“/assets/turbolinks.js?body=1”
05:44:24+0000
开始
“/assets/revolution slider/jquery.themepunch.enablelog.js?body=1”
10.0.2.2 2015年12月10日05:44:25+0000时
开始
“/assets/revolution slider/jquery.themepunch.revolution.js?body=1”用于
10.0.2.2 2015年12月10日05:44:25+0000时
开始
“/assets/revolution slider/jquery.themepunch.revolution.min.js?body=1”
2015年12月10日05:44:25+0000时的10.0.2.2
开始获取10.0.2.2版本的“/assets/revolution slider/index.js?body=1”
2015-12-10 05:44:25+0000时
开始获取“/assets/同位素/同位素.pkgd.js?body=1”,用于10.0.2.2 at
2015-12-10 05:44:26+0000
开始获取10.0.2.2的“/assets/magnific popup.js?body=1”
2015-12-10 05:44:26+0000
开始获取10.0.2.2版本的“/assets/SmoothScroll.js?body=1”
2015-12-10 05:44:26+0000
2015年12月10日开始获取10.0.2.2版的“/assets/modernizer.js?body=1”
05:44:27+0000
开始获取10.0.2.2的“/assets/jquery.validate.js?body=1”
2015-12-10 05:44:27+0000
开始获取“/assets/jquery.parallax-1.1.3.js?body=1”,用于10.0.2.2 at
2015-12-10 05:44:27+0000
2015年12月10日开始获取10.0.2.2版的“/assets/jquery.min.js?body=1”
05:44:28+0000
开始获取“/assets/jquery.knob.min.js?body=1”,用于10.0.2.2 at
2015-12-10 05:44:28+0000
开始获取10.0.2.2中的“/assets/jquery.countTo.js?body=1”
2015-12-10 05:44:28+0000
开始获取10.0.2.2版本的“/assets/jquery.browser.js?body=1”
2015-12-10 05:44:28+0000
开始在10.0.2.2中获取“/assets/owl.carousel.js?body=1”
2015-12-10 05:44:29+0000
2015年12月10日开始获取10.0.2.2版的“/assets/custom.js?body=1”
05:44:29+0000
开始获取10.0.2.2的“/assets/coming.soon.config.js?body=1”
2015-12-10 05:44:29+0000
开始获取10.0.2.2中的“/assets/google.map.config.js?body=1”
2015-12-10 05:44:29+0000
开始获取10.0.2.2的“/assets/js/bootstrap.min.js?body=1”
2015-12-10 05:44:29+0000
2015年12月10日开始获取10.0.2.2版的“/assets/js/npm.js?body=1”
05:44:30+0000
已开始获取“/assets/bootstrap notify/bootstrap notify.min.js?body=1”
2015年12月10日05:44:30+0000时的10.0.2.2
开始获取10.0.2.2版本的“/assets/js/bootstrap.js?body=1”
2015-12-10 05:44:30+0000
2015年12月10日开始获取10.0.2.2版的“/assets/template.js?body=1”
05:44:30+0000
已开始获取“/assets/bootstrap notify/bootstrap notify.js?body=1”用于
10.0.2.2 2015年12月10日05:44:31+0000时
开始获取10.0.2.2版本的“/assets/charts/Chart.js?body=1”
2015-12-10 05:44:31+0000
开始获取10.0.2.2的“/assets/charts/Chart.min.js?body=1”
2015-12-10 05:44:31+0000
对于10.0.2.2,已开始获取“/assets/同位素/同位素.pkgd.min.js?body=1”
2015-12-10 05:44:31+0000时
开始获取“/assets/jasny bootstrap/js/jasny
<div class="pv-30 ph-20 feature-box bordered shadow text-center object-non-visible" data-animation-effect="fadeInLeftSmall" data-effect-delay="100">