Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

bitten off a bit more than I can chew

Discussion in 'Website Design Forum:' started by Renniks, Jul 8, 2009.

  1. Renniks

    Renniks Senior Member

    SO on seeing quitea few sites over the last few months that all have a similar method of navigation, I decided my portfolio, that I should definately get round to creating and updating, would benefit (for my own personal love of it) from having the navigation.

    I have mentioned before, and spoke to berry about it, and the navigation I am going to try and use will be the type where you have a single page, and it goes to a point on the page when you click the link. With html I can accomplish this, but it looks nasty and causes refresh usability issues.

    So upon browsing for the javascript that many of these sites use, (I think) I have been unable to find it, without a name it makes it alot more difficult. I personally cannot code javascript (though am able to read, debug, and understand it) and hence was after an open source code set for this procedure.

    Examples of this can be found on Armadillo Creative: Marketing with a passion for communication - SEO, Design, Web, Advertising and similar on Web Design Berkshire | Website Design, Graphic Design & SEO



    [if berry or orman wish me to remove these links just ask but examples help people understand]
  2. Sunburn

    Sunburn Active Member

  3. Levi

    Levi Moderator Staff Member

    ormans thread (here) has a bit about how it was all done :)

    Mootools (basically its another option for javascript) has a script that does the smooth scroll stuff - linky
  4. Renniks

    Renniks Senior Member

    Thanks you two

    Will have a look through some stuff now
  5. Renniks

    Renniks Senior Member

    How frustrated can I get haha.

    So I've gone for the smoothScroll using mootools 1.2 that you gave the link for.

    I have included the script for mootools 1.2
    I have included the second script that allows it to go to the section on the page in a set time
    and then included the link set up
    but it still isn't working
    It just jumps to the page....

    Here are the respective coding (if anyone can help?)

    So it corectly snaps to a's position, but doesnt do it with the smoothness that it should do.

    Any ideas or mistakes?


  6. Sunburn

    Sunburn Active Member

  7. Renniks

    Renniks Senior Member

    Are there awards for biggest idiot?

    I had copied the insert code across, and didnt realise that the numbers were kept in it, then after 100x's of checkng saw it... :(

  8. Sunburn

    Sunburn Active Member

    Congrats :)
  9. tbwcf

    tbwcf Active Member

  10. Renniks

    Renniks Senior Member

    Yeh, I've sorted it now and it works fine, I had just messed up while being a huge idiot.

Share This Page