我正在开发一个新的网站,其中包含最大的菜单作为主要导航。一切正常,除非我去移动设备(iphone)的子页面,我再也无法访问导航了。它在主(第一)页面上工作得很好,但在子页面上却没有。
主页是:http://new.4progress.ch/ 子页面的示例是:http://new.4progress.ch/course/kompetenztraining-2016/
任何人都可以帮我这个吗?
初始代码:
(function(angular) {
'use strict';
angular.module('orderByExample', [])
.controller('ExampleController', ['$scope', function($scope) {
$scope.friends = [{
group: ['A']
}, {
group: ['A', 'B1']
}, {
group: ['A', 'B1', 'C1']
}, {
group: ['A', 'B1', 'C2']
}, {
group: ['A', 'B1', 'C3']
}, ];
$scope.predicate = 'group'
$scope.reverse = false;
$scope.toggle_order = function() {
$scope.reverse = !$scope.reverse;
};
}]);
})(window.angular);
})(jQuery的);
答案 0 :(得分:0)
您的JS代码中似乎有拼写错误。检查您的控制台,这些错误会显示在子页面上,而不是主页面上。
$(...).live is not a function
Uncaught TypeError: Cannot read property 'msie' of undefined