• 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?

Status
Not open for further replies.
#1
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");
}
});
});
 

Brogan

XenForo moderator
Staff member
#2
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.
 
Status
Not open for further replies.