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

How to toggle the text in Login bar handle?

Discussion in 'XenForo Pre-Sales Questions' started by John Mckanzie, Jun 28, 2013.

Thread Status:
Not open for further replies.
  1. John Mckanzie

    John Mckanzie New Member

    First of all, i don't know where to post this, since I am not allowed in other forums and I work for a Xenforo Client to update the CSS code for him. Here is my question -

    I need to toggle the text from "Login or Signup" to "X" when it is made to slide down and return to old text when it is clicked again. How can I do that?

    I added this JS Code but it doesn't work. Can anyone help here?

    $(function(){
    $("a.concealed").click(function(){
    var text = $(this).text();
    if(text == "X")
    {
    $(this).text("Login Or Sign Up");
    }
    else
    {
    $(this).text("X");
    }
    });
    });
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to ask the client to add your forum user name to their account so you can post in the customer forums for support.
     
    Amaury likes this.
Thread Status:
Not open for further replies.

Share This Page