Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [SOLVED][ZB] Renaming Shoutbox | |
|---|---|
| Tweet Topic Started: May 5 2010, 03:20 AM (560 Views) | |
| Poui | May 5 2010, 03:20 AM Post #1 |
![]() ![]()
|
Wishing to rename the shoutbox, the most obvious solution presents itself thus:
But unfortunately, in doing this one also clears out the span.collapse. So I'm wondering, is there a way I can rename the shoutbox while keeping the collapse button intact? |
![]() |
|
| RedBldSandman | May 6 2010, 05:03 PM Post #2 |
![]()
ZIPPY!
![]()
|
Try that
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Poui | May 7 2010, 01:42 AM Post #3 |
![]() ![]()
|
oho, that does work. Thanks ![]() In a similar vein, to rename it in the Archive as well, I tried: but no results were had. What's wrong with this line? |
![]() |
|
| Sacktapped_U | May 7 2010, 05:33 AM Post #4 |
![]()
Forbidden Leader
![]()
|
So, yet another noob question: "Where does this go?" Fix it into the CSS? Or Below the Board like 80% of all the codes on ZBCode. LOL |
| |
![]() |
|
| Kitsueki | May 7 2010, 01:47 PM Post #5 |
![]()
♠ Aizu
![]()
|
either Above or Below the board, I think. It can't see it working without script tags, and you can use JS in the Appearance part of themes (at least i haven't seen it). |
|
Kingdom of Etruria Spoiler: click to toggle
| |
![]() |
|
| RedBldSandman | May 7 2010, 02:48 PM Post #6 |
![]()
ZIPPY!
![]()
|
I see nothing wrong with that, it seems to work from Firebug too Did you put it below the board?
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Poui | May 7 2010, 03:25 PM Post #7 |
![]() ![]()
|
Ah, I got it now. I had this:
whereas I needed to put the second snippet first, like so:
|
![]() |
|
| RedBldSandman | May 7 2010, 04:13 PM Post #8 |
![]()
ZIPPY!
![]()
|
Ah, sorry, my first code causes an error if the textnode isn't found as it then cannot find the nodeValue for the specified node...since it doesn't exist And since it won't find the textnode on the archive page, it causes an error and the browser doesn't parse the rest of the script If you don't want it to cause an error (though it shouldn't really matter if you keep them as you have them now), then use this:
|
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| Poui | May 7 2010, 04:44 PM Post #9 |
![]() ![]()
|
Ah, that was the problem. I updated the code
|
![]() |
|
| RedBldSandman | May 7 2010, 05:04 PM Post #10 |
![]()
ZIPPY!
![]()
|
Coolio ![]() Solved! We're glad we could help you out. If you have any other questions, feel free to start a new topic. |
![]() "To iterate is human, to recurse divine." | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · InvisionFree and Zetaboards Support · Next Topic » |






















Did you put it below the board?
3:37 AM Jul 11