Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other jQuery One Page Navigation Plugin Issue

  • This topic is empty.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #194400
    RawadM
    Participant

    I seem to be having an issue with the Trevor Davis JQuery One Page Navigation. I did everything I can and followed the instruction , however it’s not working.

    Here is my code.
    http://pastebin.com/fVvLjFEa

    Instructions Followed

    http://trevordavis.net/blog/jquery-one-page-navigation-plugin

    #194401
    Shikkediel
    Participant

    Typo in this bit maybe?

    s$(document).ready(function() {
        $('#nav').onePageNav();
    });
    
    #194402
    RawadM
    Participant

    @shikkediel Yeah nice catch, but that didn’t do the job, maybe if I add more content and click on the links, it will work.

    #194437
    Senff
    Participant

    Instead of showing just the code, can you set up a page (or Pen) where this is actually implemented so we can see how it’s (not) working? That way it would be a lot easier for us to investigate why it’s not doing what you want it to do (and help out).

    #194468
    RawadM
    Participant
    #194469
    Senff
    Participant

    No offense…but please, make some effort. To just paste all your code in an anonymous pen (and putting all the code in the HTML box, not including the plugin libraries or linking to it properly) and have us figure it out for ourselves, is not really making things easier for us.

    People will make an effort to help out, as long as you not make them jump through hoops and instead present them with an issue that’s ready to be investigated.

    #194472
    RawadM
    Participant

    Alright Chris, I got It. I included the JQuery Files On Codepen.

    http://codepen.io/anon/pen/wBqgBz

    #194486
    RawadM
    Participant

    @chrisburton Yeah, I just updated it though,so I have both files now included.

    #194489
    RawadM
    Participant

    @chrisburton how do I save them, every time I refresh, the links I included aren’t there.

    #194491
    RawadM
    Participant

    @chrisburton Now I know why I couldn’t save It. I wasn’t logged In.This should work…

    http://codepen.io/rawadm/pen/OPjWYx

    #194495
    RawadM
    Participant

    @chrisburton these instructions. I don’t know what I’m doing wrong or why It’s not working.
    http://trevordavis.net/blog/jquery-one-page-navigation-plugin

    #194497
    Paulie_D
    Moderator

    It’s certainly not going to work without the CSS…and significanyly more content.

    Try downloading the HTML & CSS as well.

    Put all that in the Codepen…once that’s working you can adapt the HTML & CSS to your taste.

    #194510
    RawadM
    Participant

    @chrisburton Thank you for all the help and patients, I appreciate. What was I missing? JQuery.js file?

    #194518
    RawadM
    Participant

    Thank you, now I understand what files I need for the one page navigation to work. You been a real help.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘Other’ is closed to new topics and replies.