Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Adding Space to Multi-Notices
Topic Started: Aug 13 2011, 10:28 PM (501 Views)
cnm
Member Avatar
Infinite Diversity in Infinite Combinations
[ *  * ]
How do I add a space between an auto notice and additional notice?

This is what I'm talking about:

Spoiler: click to toggle


I'd created a new thread but accidentally hit Post Topic twice. That was the notice I received.

Thanks!
Offline Profile Quote Post Goto Top
 
cnm
Member Avatar
Infinite Diversity in Infinite Combinations
[ *  * ]
Anyone? Is this a fluke, or fixable on my end?

Thanks! :)
Edited by cnm, Aug 16 2011, 10:09 AM.
Offline Profile Quote Post Goto Top
 
Tony
Member Avatar
If found, please report missing.

This is due to the way multiple messages are displayed in the same box. I shall make a note of this, and see if it can be corrected. :)
Online Profile Quote Post Goto Top
 
Meta Ing
Member Avatar
---
[ *  *  *  *  * ]
I've managed to come up with this javascript code, which adds a space before every capital letter in a notice. Hopefully there shouldn't be any problems with it, but if there are, let me know.

Code:
 
<script type="text/javascript">
<!--
var dd=document.getElementsByTagName("dd");
for (i=0;i < dd.length; i++) {
dd=dd[i].parentNode.parentNode.getElementsByClassName("notice")[i];
if (dd) dd.innerHTML=dd.innerHTML.replace(/(?=[A-Z])/g," ");
}
//-->
</script>


Add this to Above the copyright: section of your Board Template.
Edited by Meta Ing, Aug 18 2011, 12:50 AM.
Offline Profile Quote Post Goto Top
 
cnm
Member Avatar
Infinite Diversity in Infinite Combinations
[ *  * ]
Thanks for the code. I received an error that I was over the maximum characters allowed in my Board Template? So am bookmarking this for later, since it's not pressing.

I appreciate the help, though. :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply