Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

"alterHeightPosition" parameter added #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

"alterHeightPosition" parameter added #11

wants to merge 1 commit into from

Conversation

AxelBriche
Copy link

I have added a simple "alterHeightPosition" parameter for control with precision the default position of the background image.

Exemple without parallax("50%", 0.8):
http://puu.sh/ciEgw/f585fa5b17.jpg (white margin bellow)

Exemple with my modification and parallax("50%", 0.8, 100); The third parameter add +100px to the top of the background.
http://puu.sh/ciEv9/186ea60e53.jpg (add 100px to top, fix the white margin bellow)

We can use this new option for controle the position with precision and adjust the render :)

I have added a simple "alterHeightPosition" paramater controle with precision the default position of the background image.

Exemple without parallax(**"50%", 0.8**):
http://puu.sh/ciEgw/f585fa5b17.jpg  (white margin bellow)

Exemple with my modification and parallax(**"50%", 0.8, 100**); The third parameter add +100px to the top of the background.
http://puu.sh/ciEv9/186ea60e53.jpg

We can use this new option for controle the position with precision and adjust the render :)
@AxelBriche AxelBriche changed the title Add "alterHeightPosition" parameter "alterHeightPosition" parameter added Oct 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant