Crave: A modern WordPress theme with appetizing aesthetic


Results 1 to 3 of 3

Thread: Javascript question

  1. #1
    Join Date
    Apr 2014
    Location
    Grand Marais, MN
    Posts
    7

    Default Javascript question

    Howdy folks, thanks for reading my post. I'm in a tiny bit of a jam here, and would really appreciate some advice.

    I am working on the first stages of developing a website. This website will sell itself, and will provide users access to it's database of lessons.

    Now, while browsing for ideas about how I want this website to look, I remembered the google glass website. It's pretty simple, it has 1 nav bar and maybe 5 big pictures. However, in the upper right hand corner, there are a series of dots. Scrolling on the website moves you to a new page, and highlights a different dot. (It would really be easiest if you just went to the website. Sorry no link, I'm new. Google it, and you should get to the right spot.)

    My question is: how did they create this scrolling effect. I think it's done with javascript, but I'm not sure where to begin. Help!

  2. #2
    Join Date
    Apr 2007
    Posts
    14,746

    Default

    I opened the site in Chrome and right-clicked on the dots and selected "Inspect Element". It looks to me like it's just CSS. Are you familiar with Chrome's code inspector? It's a great way to see how sites are coded.

  3. #3
    Join Date
    Sep 2012
    Location
    Ilkeston, Derbyshire, England
    Posts
    1,464

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •