PHP Classes

File: plugins/bootstrap-validator-master/docs/assets/js/application.js

Recommend this page to a friend!
  Classes of Laudir Bispo   PHP Real Estate Website   plugins/bootstrap-validator-master/docs/assets/js/application.js   Download  
File: plugins/bootstrap-validator-master/docs/assets/js/application.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Real Estate Website
Manage the properties of a real estate business
Author: By
Last change:
Date: 3 years ago
Size: 1,390 bytes
 

Contents

Class file image Download
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ /*! * Copyright 2013 Twitter, Inc. * * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see http://creativecommons.org/licenses/by/3.0/. */ !function ($) { $(function(){ var $window = $(window) var $body = $(document.body) var navHeight = $('.navbar').outerHeight(true) + 10 $.fn.validator.Constructor.FOCUS_OFFSET = navHeight $body.scrollspy({ target: '.bs-sidebar', offset: navHeight }) $window.on('load', function () { $body.scrollspy('refresh') }) $('.bs-docs-container [href=#]').click(function (e) { e.preventDefault() }) // back to top setTimeout(function () { var $sideBar = $('.bs-sidebar') $sideBar.affix({ offset: { top: function () { var offsetTop = $sideBar.offset().top var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10) var navOuterHeight = $('.bs-docs-nav').height() return (this.top = offsetTop - navOuterHeight - sideBarMargin) } , bottom: function () { return (this.bottom = $('.bs-footer').outerHeight(true)) } } }) }, 100) }) }(window.jQuery)