Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Locked Topic
[Solved]Code above Theme pick?
Topic Started: Mar 22 2008, 09:50 PM (317 Views)
laughatbilly
Member
[ * ]
How do I get a code under the board Statistics but above the Theme pick and Forum time and what not?
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
Try this:

Quote:
 
<script type="text/javascript">
//<![CDATA[
$('#foot_wrap').before(' ADD HTML HERE');
//]]>
</script>


Add to end of theme layout/below the board box in board template.

Edit:
There is probably a better way of doing this but it's 3am. If someone can't come up with a better way before I log in tomorrow I'll hunt it out.
Offline Profile Goto Top
 
laughatbilly
Member
[ * ]
the code didnt work..
Offline Profile Goto Top
 
rockon1824
Member Avatar
Member
[ *  * ]
laughatbilly
Mar 22 2008, 10:15 PM
the code didnt work..
I just tried it on a test board and it worked fine. Can you post the code you used or something similar?
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
Another suggestion:

In your theme layout/board template, add the HTML and stick it in an ID'd div like this:

Code: HTML
 
<div id="foot_extra"> Your content </div>


Then add to the end of the theme layout/below the board (after the HTML above):
Code:
 
<script type="text/javascript">
//<![CDATA[
$("#foot_extra").prependTo("#foot_wrap");
//]]>
</script>


Change foot_extra in both places if you want to (just make it the same). That will add the HTML to the #foot_wrap. It's not great, but it puts it directly above the foot.
Offline Profile Goto Top
 
laughatbilly
Member
[ * ]
cool I got it to work.. thanks alot!
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Theme & CSS Help · Next Topic »
Locked Topic