forked from Botanical/BotanJS
firefox does not support backgroundPositionY
This commit is contained in:
@@ -240,7 +240,7 @@
|
|||||||
, function()
|
, function()
|
||||||
{
|
{
|
||||||
var p = wsupp.scrollTop / ( wsupp.scrollHeight - wsupp.clientHeight );
|
var p = wsupp.scrollTop / ( wsupp.scrollHeight - wsupp.clientHeight );
|
||||||
bWrapper.style.backgroundPositionY = ( p * 100 ) + "%";
|
bWrapper.style.backgroundPosition = "50% " + ( p * 100 ) + "%";
|
||||||
}
|
}
|
||||||
, 15
|
, 15
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user