• Home
  • Interactive Resume
  • Blog
    • Coding
    • Health & Fitness
    • Success & Lifestyle
  • Contact
  • About

BAOSS

  • Home
  • Interactive Resume
  • Blog
    • Coding
    • Health & Fitness
    • Success & Lifestyle
  • Contact
  • About

Week 10 Day 5 – Road Blocks on Road Blocks

Home Coding Week 10 Day 5 – Road Blocks on Road Blocks
Week 10 Day 5 – Road Blocks on Road Blocks

Week 10 Day 5 – Road Blocks on Road Blocks

Apr 3, 2017 | Posted by Bao Le | Coding |

### Day 1

At first, I thought jInvertScroll would work. It does work as intended, meaning it does scroll horizontally when you move the track pad vertically. However, I wasn’t able to figure out how to transition back to vertical again within a reasonable amount of time.

After some digging around and a google search looking up ‘scroll path,’ I found a jQuery plugin by Joel Besada that might accomplish what I’m wanting to do. I also found a generic code done in jQuery that could possibly accomplish the same goal, but I haven’t sat down to parse the code (http://jsfiddle.net/ARTsinn/EaUeF/). Things to note about the plain jQuery version, I would have to make it compatible with arrow keys. The first solution, the scrollpath plugin, could work, but the cons for his plugin is that it requires jQuery 1.7+. This means that if I wanted to migrate my interactive resume onto my jQuery lite, this solution isn’t plausible, which makes the second solution ideal, but I’d have to parse through the code.

At the present moment, Joel Besada’s plugin seems to be the most straight forward, so in the interest of time, I’ll give that a go first.

Also, in my scrolling research, I may have found a good plugin for animating based on scroll position: (http://scrollmagic.io/)

### Day 2

Next step is to determine how I can record the scroll position everytime I scroll so that at any point, I can specify an animation to take place. As soon as I can confirm this, I’ll start implementing a first “panel” of the story. A couple jQuery methods I’m looking into include `.offSet()`, `.scroll()` and `.scrollTop()`.

I’ve kind of hit a road block in trying to record the scroll position. So far, I’m under the impression that ScrollPath doesn’t work well with the `.scroll()` event, but after a bit of research, I’m starting to believe otherwise. I actually think it has to do with some css attributes that have been set, and that I’m not binding that scroll event to the correct element within the DOM. I’ve been playing around with combinations of css attributes and binding it on various elements that could be the parent container for the scrollable area, but no luck so far. I’m trying to understand what is going on with the `.scroll()` in relation with it’s bound element, but I haven’t been able to make a break through just yet. I’m still doing research! But I’ll definitely let you know when I find something.

0
Share

About Bao Le

Web Developer at Dropbox. Reach out, I'd love to connect!

Latest Posts

From Bootcamp to Dropbox: Part 2 – Success in the Program

From Bootcamp to Dropbox: Part 2 – Success in the Program

November 27, 2017

Before reading Part 2, make sure you’ve read Part 1!...

From Bootcamp to Dropbox: Part 1 – Application Process

From Bootcamp to Dropbox: Part 1 – Application Process

October 9, 2017

The Decision The decision to go into programming, without...

Signed with Dropbox!

Signed with Dropbox!

September 8, 2017

After a grueling 3 months or so, my job search has come to...

How I Overcome Rejection and Stay Motivated

How I Overcome Rejection and Stay Motivated

July 17, 2017

Having just had my first real rejection from a company I...

How I Overcome Imposter Syndrome Every Single Day

How I Overcome Imposter Syndrome Every Single Day

May 22, 2017

Before I really go into how I personally overcome imposter...

Future Googler

Future Googler

May 2, 2017

I’m finally “finished” with my interactive...

Introducing the Graduate Job Seeker Program

Introducing the Graduate Job Seeker Program

April 26, 2017

I almost forgot to blog today haha. Please expect not as...

Progress on Progress

Progress on Progress

April 25, 2017

The end of Week X Day X titles are here! And with it marks...

Week 13 Day 5 – Google Co-Working Meetup

Week 13 Day 5 – Google Co-Working Meetup

April 24, 2017

The Google meetup was absolutely dope. It was an incredible...

Week 13 Day 4 – Catching Up

Week 13 Day 4 – Catching Up

April 21, 2017

I think I have a pretty solid game plan of how to attack my...

Contact Us

We're currently offline. Send us an email and we'll get back to you, asap.

Send Message

Let’s Connect!

© 2025 · imbaoss.com

  • Facebook
  • Twitter
  • Instagram
  • LinkedIn
  • GitHub
Prev Next