Forums

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

Home Forums JavaScript Problem with menu in wordpress site

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #199800
    frexiz
    Participant

    Hello everyone , my site is pgeanasa.com . When you login there you will see that theres a text above the menu wich slides. And if you scroll the page the its blank space. I want to be white. Can you give me an idea how to make it white when i scroll. Thanks.

    #199802
    Paulie_D
    Member

    You want something to happen when you scroll…that requires javascript.

    #199809
    Shikkediel
    Participant

    I don’t see anything to be scrolled, just an empty bar. Besides the fact most of us would just be guessing where the login page would be…

    This is the general approach though :

    $(window).scroll(function() {
    
    if ($(this).scrollTop() > *amount of pixels*) // do stuff
    });
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.