Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Really really ugly code for animation effect. Don't copy this.
- if (typeof(WebKitCSSMatrix) == "object") {
- menuDiv.style.visibility = 'hidden';
- reader.showControl(tocMenu);
- menuDiv.style.webkitTransition = "";
- menuDiv.style.webkitTransform = "translateX(-100%)";
- setTimeout(
- function () {
- menuDiv.style.visibility = 'visible';
- menuDiv.style.webkitTransition = "-webkit-transform 300ms linear";
- menuDiv.style.webkitTransform = "translateX(0px)";
- },
- 10
- );
- } else {
- reader.showControl(tocMenu);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement