Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".hexagon").click(animate_hexagon)
- function animate_hexagon(showInfo) {
- var that = this;
- $("html, body").animate({scrollTop: $("#services").offset().top + 1000}, 1000);
- var styles = {
- transform: "translate3d(-70px, 120px, 0) scale(3)"
- };
- //$("#main-hexagon").css(styles);
- showInfo(this);
- }
- function showInfo(that) {
- console.log("Show Info ran");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement