Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to fit background and some improvements #126

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 23, 2012

  1. Added fit background option and some improvements

    Changes Log:
    
    Improvements:
    1. Added 'fit' option so it is possible now to fit background image into
    browser viewport
    2. Added callback calling into resize.backstretch event
    3. Image's object is now accessible inside callback via 'this' pointer
    
    Fixes:
    1. If browser supports fixed position try to use the window's innerWidth
    first like used for height before
    2. Ommited unnecessary useWindowInnerHeight variable
    3. Correct calculating of backgroung dimension for horisontal and
    vertical viewport orientation
    4. Correct centering X or Y, it is not related now from image ratio
    5. Replaced double call of image css setting in _adjustBG with one by
    extending bgCSS properties
    Vlad Mustafin committed Aug 23, 2012
    Copy the full SHA
    e407209 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2016

  1. Merge remote-tracking branch 'upstream/master'

    # Conflicts:
    #	jquery.backstretch.js
    Vlad Mustafin committed Mar 29, 2016
    Copy the full SHA
    205a6d6 View commit details
    Browse the repository at this point in the history
  2. Improve fadeIn/Out working on slideshow when 'fit' option is true; re…

    …create detailed example and expand readme.md with new option 'fade'
    Vlad Mustafin committed Mar 29, 2016
    Copy the full SHA
    8de00f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2016

  1. Update from original srobbin

    Vlad Mustafin committed Jun 19, 2016
    Copy the full SHA
    6e0f7a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2018

  1. test

    Vladyslav Mustafin committed Oct 5, 2018
    Copy the full SHA
    ff9883d View commit details
    Browse the repository at this point in the history