Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $("select[multiple]").multiselect();
- $.fn.equalizeHeights = function() {
- var maxHeight = this.map(function(i,e) {
- return $(e).height();
- }).get();
- return this.height( Math.max.apply(this, maxHeight) );
- };
- // home page carousel
- // $("#carousel").carousel();
- $("#carousel").carousel({
- autoTransition: true });
- // listings carousel
- $("#listings .thumb-container").carousel({
- onScrollEnd: function(data) {
- $(this.container).find(".count").text(function(){
- return "# of #".replace("#", data.currPage).replace("#", data.totalPages);
- });
- }
- });
- // listings carousel
- $("#featuredlistings .thumb-container").carousel({
- onScrollEnd: function(data) {
- $(this.container).find(".count").text(function(){
- return "# of #".replace("#", data.currPage).replace("#", data.totalPages);
- });
- }
- });
- // menu
- ddsmoothmenu.init({
- mainmenuid: "smoothmenu1", //menu DIV id
- orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
- classname: 'ddsmoothmenu', //class added to menu's outer DIV
- //customtheme: ["#1c5a80", "#18374a"],
- contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
- });
- });
Add Comment
Please, Sign In to add comment