Welcome
Hi, welcome to Wikia Developers Wiki! Thanks for your edit to the Talk:ShowHide page.
Please leave a message on my talk page if I can help with anything! -- Grunny (Talk) 09:56, 11 April 2012
InactiveUsers
Sam, I reverted the change you just made to InactiveUsers/code.js. First of all it was syntactically incorrect:
function labelAsInactive () {
$('#UserProfileMasthead hgroup').append(
'<span class="group inactive-user">' + my.text + '</span>'.css({ /*...*/ })
);
}
That would not have worked. You attached .css to a simple string. You're supposed to add it to a jQuery-object. Like so:
function labelAsInactive () {
$('<span class="group inactive-user">' + my.text + '</span>')
.appendTo('#UserProfileMasthead hgroup')
.css({ /*...*/ });
}
But secondly and more importantly: You don't even need JavaScript for this. There's a CSS class named "inactive-user" attached to the INACTIVE tag already. This class has no properties whatsoever. It's just a name. You can assign whatever you like to it! -- pecoes 10:11, May 13, 2012 (UTC)
- Oh. Thanks for telling me that! -- Sam Wang (talk) 11:21, May 13, 2012 (UTC)
Back to Top Button format change
Hi, just letting you know that I have removed the class attribute from the Back To Top button, as it was not necessary, and any reference to it via CSS should be made like this from now on. Regards --Noemon *talk* 14:25, May 29, 2012 (UTC)
- Honestly, I actually prefer it to be a link style instead of a button style. Also, I would like to change to text to "Top" instead of "Back To Top". Thanks -- Sam Wang (talk) 02:29, May 30, 2012 (UTC)
- Regarding your former preference, you can do that already with CSS, so I take that this is not a request for me to change it. As for the latter, I'm sorry, but I would rather you not to change it. If it bothers you that much I may add a customization option for the text, but honestly I don't think it's such a big of a deal. --Noemon *talk* 09:04, May 30, 2012 (UTC)
- Why not patch in the localisation code? It would allow wikis from other languages to use the code directly from the Developers Wiki, and it would mean wikis could replace the default message with a custom one (like Sam wants to). ǝsʞpɐןǝ (talk page) 09:42, 03/06/2012
- I mean like...anyway, I don't actually understand what you mean -- Sam Wang (talk) 04:41, June 4, 2012 (UTC)
- Why not patch in the localisation code? It would allow wikis from other languages to use the code directly from the Developers Wiki, and it would mean wikis could replace the default message with a custom one (like Sam wants to). ǝsʞpɐןǝ (talk page) 09:42, 03/06/2012
- Regarding your former preference, you can do that already with CSS, so I take that this is not a request for me to change it. As for the latter, I'm sorry, but I would rather you not to change it. If it bothers you that much I may add a customization option for the text, but honestly I don't think it's such a big of a deal. --Noemon *talk* 09:04, May 30, 2012 (UTC)