i've been working flexslider in drupal 7, when try create page slider, jquery on entire page stops working.
flexslider.load.js?no0zdc:41 uncaught typeerror: $(...).flexslider not function
that's error message receive. i've uploaded javascript library files provided woothemes , i've checked make sure have been uploaded correct folder (/sites/all/libraries/flexslider/).
i'm bit stuck. best guess there conflict in way jquery being called on page since jquery works on every other page, reference, have posted code header below:
edit
full header below:
<head profile="http://www.w3.org/1999/xhtml/vocab"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="sample content" about="/sample-content" property="dc:title"> <link rel="shortcut icon" href="/misc/favicon.ico" type="image/vnd.microsoft.icon"> <meta name="handheldfriendly" content="true"> <meta name="mobileoptimized" content="width"> <meta name="generator" content="drupal 7 (http://drupal.org)"> <link rel="canonical" href="/sample-content"> <link rel="shortlink" href="/node/114"> <title>sample content | ilias solutions</title> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css_pbm0lsqqj7a7wccimgxlho6mi_kbngznnuwmtwcnfoe.css" media="all"> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css_ioepass8p-5r05g2snwobjq4z3l1qnpf6auhzjov_mw.css" media="all"> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css__ogyo-zlpb2ewr69kov4bkl5fa7ngglwr1b1kbendy4.css" media="all"> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css_mnxiytjtb186ydycnpwpw34cuushakc80ey5liqxhsy.css" media="all"> <link type="text/css" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" media="all"> <link type="text/css" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" media="all"> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css_9vs7ktzivxm6cotv0jzflm30zzxgczz9d4ozydjnbf4.css" media="all"> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css_x2kzyy7-i2ndso3slgqajqdje_rcogl-_dfa2q0nlli.css" media="all"> <link type="text/css" rel="stylesheet" href="/sites/all/themes/startupgrowth_lite/fonts/lato-font.css?no15n3" media="all"> <link type="text/css" rel="stylesheet" href="/sites/all/themes/startupgrowth_lite/fonts/sourcecodepro-font.css?no15n3" media="all"> <link type="text/css" rel="stylesheet" href="/sites/all/themes/startupgrowth_lite/fonts/ptserif-blockquote-font.css?no15n3" media="all"> <!--[if (ie 9)&(!iemobile)]> <link type="text/css" rel="stylesheet" href="/sites/all/themes/startupgrowth_lite/ie9.css?no15n3" media="all" /> <![endif]--> <link type="text/css" rel="stylesheet" href="/sites/default/files/css/css_abphgcglb-krsjgnwfektk7uzpzoccby74-ybdrkvgs.css" media="all"> <!-- html5 element support ie6-8 --> <!--[if lt ie 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery/1.10/jquery.min.js?v=1.10.2"></script><style type="text/css"></style> <script type="text/javascript" src="/misc/jquery.once.js?v=1.2"></script> <script type="text/javascript" src="/misc/drupal.js?no15n3"></script> <script type="text/javascript" src="/sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.core.min.js?v=1.10.2"></script> <script type="text/javascript" src="/sites/all/modules/jquery_update/replace/misc/1.9/jquery.ba-bbq.min.js?v=1.2.1"></script> <script type="text/javascript" src="/sites/all/modules/jquery_update/replace/misc/1.9/overlay-parent.js?v=1.0"></script> <script type="text/javascript" src="/sites/all/modules/admin_menu/admin_menu.js?no15n3"></script> <script type="text/javascript" src="/sites/all/modules/admin_menu/admin_menu_toolbar/admin_menu_toolbar.js?no15n3"></script> <script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { $(window).scroll(function() { if($(this).scrolltop() != 0) { $("#totop").addclass("show"); } else { $("#totop").removeclass("show"); } }); $("#totop").click(function() { $("body,html").animate({scrolltop:0},800); }); }); //--><!]]> </script> <script type="text/javascript" src="/sites/all/themes/startupgrowth_lite/js/jquery.mobilemenu.js?no15n3"></script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { $("#main-navigation ul.main-menu, #main-navigation .content>ul.menu").mobilemenu({ prependto: "#main-navigation", combine: false, nested: 1, switchwidth: 760, topoptiontext: drupal.settings.startupgrowth_lite['topoptiontext'] }); }); //--><!]]> </script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { var map; var mylatlng; var myzoom; var marker; }); //--><!]]> </script> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script><script src="https://maps.gstatic.com/maps-api-v3/api/js/20/10/main.js"></script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { if ($("#map-canvas").length) { mylatlng = new google.maps.latlng(drupal.settings.startupgrowth['google_map_latitude'], drupal.settings.startupgrowth['google_map_longitude']); myzoom = 13; function initialize() { var mapoptions = { zoom: myzoom, maptypeid: google.maps.maptypeid.roadmap, center: mylatlng, scrollwheel: false }; map = new google.maps.map(document.getelementbyid(drupal.settings.startupgrowth['google_map_canvas']),mapoptions); marker = new google.maps.marker({ map:map, draggable:true, position: mylatlng, url: "https://www.google.com/maps/dir//40.726576,-74.046822/@40.726576,-74.046822" }); google.maps.event.addlistener(marker, "click", function() { window.open(this.url, "_blank"); }); google.maps.event.adddomlistener(window, "resize", function() { map.setcenter(mylatlng); }); } google.maps.event.adddomlistener(window, "load", initialize); } }); //--><!]]> </script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { var headerheight = $("#header").height(); $(window).scroll(function() { if(($(this).scrolltop() > headerheight) && ($(window).width() > 767)) { $("body").addclass("onscroll"); $("body").css("paddingtop", (headerheight)+"px"); if( $(this).scrolltop() > headerheight+40 ) { $("body").addclass("show"); } } else { $("body").removeclass("onscroll"); $("body").removeclass("show"); $("body").css("paddingtop", (0)+"px"); $("body.logged-in").css("paddingtop", (64)+"px"); } }); }); //--><!]]> </script> <script type="text/javascript" src="/sites/all/themes/startupgrowth_lite/js/meanmenu/jquery.meanmenu.min.js?no15n3"></script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { $("#main-navigation .sf-menu, #main-navigation .content>ul.menu, #main-navigation ul.main-menu").wrap("<div class='meanmenu-wrapper'></div>"); $("#main-navigation .meanmenu-wrapper").meanmenu({ meanscreenwidth: "767", meanremoveattrs: true, meanmenucontainer: "#header-inside", meanmenuclose: "" }); }); //--><!]]> </script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery(document).ready(function($) { $(window).load(function() { $("#highlighted-bottom-transparent-bg").css("backgroundcolor", "rgba(255,255,255,0.8)"); }); }); //--><!]]> </script> <script type="text/javascript" src="/sites/all/themes/startupgrowth_lite/js/jquery.browser.min.js?no15n3"></script> <script type="text/javascript"> <!--//--><![cdata[//><!-- jquery.extend(drupal.settings, {"basepath":"\u002f", "pathprefix":"", "ajaxpagestate":{"theme":"startupgrowth_lite", "theme_token":"cv8zpiqc1nrjfxxv3ef0_apxlwgyfd8ijfft8wgykoc", "js":{"sites\u002fall\u002fmodules\u002fflexslider\u002fassets\u002fjs\u002fflexslider.load.js":1, "sites\u002fall\u002fmodules\u002fjquery_update\u002freplace\u002fjquery\u002f1.10\u002fjquery.min.js":1, "misc\u002fjquery.once.js":1, "misc\u002fdrupal.js":1, "sites\u002fall\u002fmodules\u002fjquery_update\u002freplace\u002fui\u002fui\u002fminified\u002fjquery.ui.core.min.js":1, "sites\u002fall\u002fmodules\u002fjquery_update\u002freplace\u002fmisc\u002f1.9\u002fjquery.ba-bbq.min.js":1, "sites\u002fall\u002fmodules\u002fjquery_update\u002freplace\u002fmisc\u002f1.9\u002foverlay-parent.js":1, "sites\u002fall\u002fmodules\u002fadmin_menu\u002fadmin_menu.js":1, "sites\u002fall\u002fmodules\u002fadmin_menu\u002fadmin_menu_toolbar\u002fadmin_menu_toolbar.js":1, "\u002f\u002fmaxcdn.bootstrapcdn.com\u002fbootstrap\u002f3.3.2\u002fjs\u002fbootstrap.min.js":1, "0":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002fjs\u002fjquery.mobilemenu.js":1, "1":1, "2":1, "https:\u002f\u002fmaps.googleapis.com\u002fmaps\u002fapi\u002fjs?v=3.exp\u0026sensor=false":1, "3":1, "4":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002fjs\u002fmeanmenu\u002fjquery.meanmenu.min.js":1, "5":1, "6":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002fjs\u002fjquery.browser.min.js":1}, "css":{"modules\u002fsystem\u002fsystem.base.css":1, "modules\u002fsystem\u002fsystem.menus.css":1, "modules\u002fsystem\u002fsystem.messages.css":1, "modules\u002fsystem\u002fsystem.theme.css":1, "misc\u002fui\u002fjquery.ui.core.css":1, "misc\u002fui\u002fjquery.ui.theme.css":1, "modules\u002foverlay\u002foverlay-parent.css":1, "modules\u002ffield\u002ftheme\u002ffield.css":1, "modules\u002fnode\u002fnode.css":1, "modules\u002fsearch\u002fsearch.css":1, "modules\u002fuser\u002fuser.css":1, "sites\u002fall\u002fmodules\u002fviews\u002fcss\u002fviews.css":1, "sites\u002fall\u002fmodules\u002fadmin_menu\u002fadmin_menu.css":1, "sites\u002fall\u002fmodules\u002fadmin_menu\u002fadmin_menu_toolbar\u002fadmin_menu_toolbar.css":1, "modules\u002fshortcut\u002fshortcut.css":1, "sites\u002fall\u002fmodules\u002fctools\u002fcss\u002fctools.css":1, "\u002f\u002fmaxcdn.bootstrapcdn.com\u002ffont-awesome\u002f4.2.0\u002fcss\u002ffont-awesome.min.css":1, "\u002f\u002fmaxcdn.bootstrapcdn.com\u002fbootstrap\u002f3.3.2\u002fcss\u002fbootstrap.min.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002fjs\u002fmeanmenu\u002fmeanmenu.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002fstyle.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002ffonts\u002flato-font.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002ffonts\u002fsourcecodepro-font.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002ffonts\u002fptserif-blockquote-font.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002fie9.css":1, "sites\u002fall\u002fthemes\u002fstartupgrowth_lite\u002flocal.css":1}}, "overlay":{"paths":{"admin":"node\u002f*\u002fedit\u000anode\u002f*\u002fdelete\u000anode\u002f*\u002frevisions\u000anode\u002f*\u002frevisions\u002f*\u002frevert\u000anode\u002f*\u002frevisions\u002f*\u002fdelete\u000anode\u002fadd\u000anode\u002fadd\u002f*\u000aoverlay\u002fdismiss-message\u000auser\u002f*\u002fshortcuts\u000aadmin\u000aadmin\u002f*\u000abatch\u000ataxonomy\u002fterm\u002f*\u002fedit\u000auser\u002f*\u002fcancel\u000auser\u002f*\u002fedit\u000auser\u002f*\u002fedit\u002f*", "non_admin":"admin\u002fstructure\u002fblock\u002fdemo\u002f*\u000aadmin\u002freports\u002fstatus\u002fphp"}, "pathprefixes":[ ], "ajaxcallback":"overlay-ajax"}, "flexslider":{"optionsets":{"flexslider_default_thumbnail_slider":{"namespace":"flex-", "selector":".slides \u003e li", "easing":"swing", "direction":"horizontal", "reverse":false, "smoothheight":true, "startat":0, "animationspeed":600, "initdelay":0, "usecss":true, "touch":true, "video":false, "keyboard":true, "multiplekeyboard":false, "mousewheel":0, "controlscontainer":".flex-control-nav-container", "sync":"", "asnavfor":"#flexslider-1", "itemwidth":210, "itemmargin":5, "minitems":0, "maxitems":0, "move":0, "animation":"slide", "slideshow":false, "slideshowspeed":"7000", "directionnav":true, "controlnav":false, "prevtext":"previous", "nexttext":"next", "pauseplay":false, "pausetext":"pause", "playtext":"play", "randomize":false, "animationloop":false, "pauseonaction":true, "pauseonhover":false, "manualcontrols":""}}, "instances":{"flexslider-1":"flexslider_default_thumbnail_slider"}}, "startupgrowth_lite":{"topoptiontext":"select page", "google_map_latitude":"40.726576", "google_map_longitude":"-74.046822", "google_map_canvas":"map-canvas"}, "admin_menu":{"destination":"destination=node\u002f114", "hash":"37d586808ca3270fdd2a560149caab90", "basepath":"\u002fadmin_menu", "replacements":{".admin-menu-users a":"0 \u002f 1"}, "margin_top":1, "toolbar":[ ]}}); //--><!]]> </script> <script type="text/javascript" charset="utf-8" src="https://maps.gstatic.com/maps-api-v3/api/js/20/10/common.js"></script><script type="text/javascript" charset="utf-8" src="https://maps.gstatic.com/maps-api-v3/api/js/20/10/util.js"></script><script type="text/javascript" charset="utf-8" src="https://maps.gstatic.com/maps-api-v3/api/js/20/10/stats.js"></script></head>
i hope i've provided sufficient information. appreciated.
Comments
Post a Comment