Forums

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

Home Forums JavaScript A "Current" Styling On Nav Buttons For request.html

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23922
    jmfisher
    Member

    I have a main panel in which external html documents are loaded in via ajax as you click on the the navigation buttons. How would I go about styling the nav links to remain in a particular state when that links corresponding document is displayed in the loader? I already have the sprites built with the three states. I just don’t know how to go about styling the "current" state.

    Here’s a link to the site in question http://www.dratpackproductions.com

    Thanks in advance for any help

    #52906
    eshhy
    Member

    I had the exact same question. I’ve been trying to do it in jquery but but I just cant get it to work.
    Would it possible if anyone could post a sample of what jquery would look like if done properly. Or any pointers/resources that would be helpful to look at.

    I would post what I have doe so far, but it’s a bit embarrassing lol, as I’m pretty newb ;)

    Thanks

    #53126
    eshhy
    Member
    "ncmason" wrote:
    Are you trying to do what this site does on their homepage?

    Yeah that exactly what im trying to do accept for a navigation coded with a <ul>.

    Do you know how to do this? I trying doing it with jquery but it was to confusing :S. An example of the code would really help.

    #53256
    eshhy
    Member

    I totally missed this scrn cast in the list.

    https://css-tricks.com/video-screencasts … e-body-id/

    just incase anybody was having the same problem.

    Thanks for the screen cast Chris. I wish I had seen it earlier.

    Nathan

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