Author |
Message |
Samapico No, these DO NOT look like penises, ok?
Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Wed Jun 08, 2011 8:21 am Post maybe stupid Post subject: Broken 'code' tags? |
|
|
|
|
On Chrome, the show/hide button that appears with code tags doesn't seem to work right... You click it once, it hides the code, but it also hides the "show/hide" link, so you can't show it back.
Is it just me?
_________________ (Insert a bunch of dead links here) |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Wed Jun 08, 2011 4:13 pm Post maybe stupid Post subject: |
|
|
|
|
works fine on ff _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|
Back to top |
|
|
CypherJF I gargle nitroglycerin
Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jun 08, 2011 6:41 pm Post maybe stupid Post subject: |
|
|
|
|
Definitely broke with Chrome 12.0.742.91 w/ Win Vista. _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
|
Maverick
Age:39 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Thu Jun 09, 2011 11:50 am Post maybe stupid Post subject: |
|
|
|
|
Broken on Chrome 11.0.696.77 on Windows 7 aswell.
I guess you just shouldn't hide code pieces when working in Chrome (or face it that you won't be able to show it again) _________________
|
|
Back to top |
|
|
JoWie Server Help Squatter
Gender: Joined: Feb 25 2004 Posts: 215 Offline
|
Posted: Thu Jun 09, 2011 2:11 pm Post maybe stupid Post subject: |
|
|
|
|
Looks like this is done on purpose. The javascript code does:
"this" is the show/hide link.
Firefox does not implement this non-standard Internet Explorer attribute (it uses textContent which is in w3c DOM 3) |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Mon Jun 13, 2011 6:09 am Post maybe stupid Post subject: |
|
|
|
|
Thanks for letting me know, I'll fix it soon. I just threw in some random javascript a long time ago to add the hide/show because sometimes people would post their whole server.cfg file in their post and I liked to hide it when reading the thread. |
|
Back to top |
|
|
Samapico No, these DO NOT look like penises, ok?
Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Mon Jun 13, 2011 5:22 pm Post maybe stupid Post subject: |
|
|
|
|
I might be confusing this with another forum, but wasn't there something like a 'codebox' tag at some point? Like a code tag, but that includes a scrollbar and has a limited vertical size.
That could be handy for these kind of things |
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Mon Jun 13, 2011 6:51 pm Post maybe stupid Post subject: |
|
|
|
|
That would be another site. If you happen to have handy javascript/css for them, I can upgrade random parts of the site however you guys would like. |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Tue Jun 14, 2011 12:21 am Post maybe stupid Post subject: |
|
|
|
|
could you install a black theme
this white one hurts my eyes |
|
Back to top |
|
|
Guest
Offline
|
Posted: Sun Jun 19, 2011 5:02 pm Post maybe stupid Post subject: Re: Broken 'code' tags? |
|
|
|
|
Samapico wrote: | On Chrome, the show/hide button that appears with code tags doesn't seem to work right... You click it once, it hides the code, but it also hides the "show/hide" link, so you can't show it back.
Is it just me?
|
Yup same for me. |
|
Back to top |
|
|
Hakaku Server Help Squatter
Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Mon Jun 20, 2011 1:32 am Post maybe stupid Post subject: |
|
|
|
|
Cheese wrote: | could you install a black theme |
If it were even possible to switch themes with the hacks applied to the forums, I might. But it would be easier to just start fresh with brand new forums software, which sadly I don't have that much time to be able to do.
Hakaku wrote: | If you remove the two "this.innerText = '';", the code will work properly on Chrome (and any other WebKit derivative), as well as IE8 and probably Opera too. Firefox has no implementation of innerText, so it's simply ignored, hence why it seemingly works fine. |
Thanks, made this modification. I assume IE6 breaks (what change won't?) but oh well.
Hakaku wrote: | There's also an issue with the text editor buttons (i.e. [tag]...[/tag]), where they won't wrap tags around highlighted portions of text. |
That has been a bug for a long, long time. I never bothered to fix it, as I generally type the bbcode myself and no one else has complained before. |
|
Back to top |
|
|
|