The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Toolbar Log On

View previous topic View next topic Go down

Solved Toolbar Log On

Post by Richsballpythons on Tue Feb 12, 2013 7:42 pm

Wheres the code in the Log On Text for JS so i can edit color/size of the text and boxes.

Richsballpythons
Forumember

Posts : 314
Reputation : 0
Language : English

Back to top Go down

Solved Re: Toolbar Log On

Post by Sanket on Tue Feb 12, 2013 8:56 pm


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Toolbar Log On

Post by Richsballpythons on Tue Feb 12, 2013 9:08 pm

Like on this forum, when you click log on on the tool bar the pop out is edited. Mine by default is larger text and the input boxes for username and password are grey when id like to alter that.


Mine as well add to the problem. Ive noticed that when Logging in from the Tool Bar it dont have the checkbox for Auto log in. Each time you close your browser, and go back to forum you must log back in.

Richsballpythons
Forumember

Posts : 314
Reputation : 0
Language : English

Back to top Go down

Solved Re: Toolbar Log On

Post by Richsballpythons on Wed Feb 20, 2013 9:06 am

Everything been fine, working like it should, today when i logged in the logon pop out window no longer works. Click on the log in link on toolbar and it takes you to the login page.

Below is the exact code i added and never changed it at all.


Edit: I think it was a Server Glitch. I tried it in FF,Chrome,IE and Opera all didnt pop out. Now they all work which is very odd as i never altered the code.

Code:
    $(window).load(function () {
        document.getElementById("logout") || ($("#fa_toolbar").after('<div id="fa_menulist" style="display: none;"><form action="/login" method="post"><table style="width: 100%; text-align: center;"><tr><td style="width: 50%;">Username:</td><td style="width: 50%;"><input name="username" type="text" /></td></tr><tr><td style="width: 50%;">Password:</td><td style="width: 50%;"><input name="password" type="password" /></td></tr></table><div style="text-align: center; padding: 5px;"><input type="submit" name="login" value="Log In" class="button2" /></div></form>'),
        $('#fa_right .rightHeaderLink:first').click(function (a) {
            a.preventDefault();
            document.getElementById("fa_menulist").style.left = $(this).offset().left - 200 + "px";
            document.getElementById("fa_menulist").style.top = $("#fa_toolbar").offset().top + 30 + "px";
            "rightHeaderLink" == this.className ? (this.className += " active", $(this).css({
                color: "#333",
                "background-color": "#FFF"
            })) : (this.className = "rightHeaderLink", $(this).css({
                color: "",
                "background-color": ""
            }));
            $("#fa_menulist").fadeToggle()
        }))
    });

Richsballpythons
Forumember

Posts : 314
Reputation : 0
Language : English

Back to top Go down

Solved Re: Toolbar Log On

Post by SLGray on Wed Feb 20, 2013 9:33 am

Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
So this is solved?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum