Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • Time Banner
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:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
  • 3
  • 4
Time Banner; created by Eureka
Tweet Topic Started: Jul 12 2008, 07:57 PM (2,621 Views)
yankeesrule3526 Jul 12 2009, 06:39 PM Post #21


Posts:
51
Group:
Member
Member
#1,760
Joined:
Dec 11, 2008
Coding language
HTML/CSS
Yes. I just tried it again and nothing.
Offline Profile Goto Top
 
yankeesrule3526 Jul 23 2009, 03:06 PM Post #22


Posts:
51
Group:
Member
Member
#1,760
Joined:
Dec 11, 2008
Coding language
HTML/CSS
Anyone have a solution to making this work on only one theme or should I make a code request for it?
Offline Profile Goto Top
 
Eureka DC Jul 26 2009, 02:58 AM Post #23
Member Avatar


Posts:
183
Group:
Member
Member
#40
Joined:
Jul 16, 2008
To all who want to use this code for a specific theme, go to the ACP and click on the Board Themes icon at the top right bar. From there, choose the skin you want to implement this code. Click on Edit Theme Layout to the right of the theme. Unless you have edited anything at all, your Layout would look like this -
Code:
 

<!-- TOPMENU --><!-- HEADER --><!-- SUBMENU --><div id="wrap"><!-- NAV --><!-- BOARD --></div>


All you have to do is put the JavaScript after the ending </div>. So it should look like this -
Code:
 

<!-- TOPMENU --><!-- HEADER --><!-- SUBMENU --><div id="wrap"><!-- NAV --><!-- BOARD --></div>
<script type='text/javascript'>
/* TimeBanner by Eureka of Divinity Coding and The Coding Zone */
var _br = [];
_br[_br.length] = ["00:00","URL"];
_br[_br.length] = ["06:00","URL"];
_br[_br.length] = ["12:00","URL"];
_br[_br.length] = ["18:00","URL"];

document.write("<script src='http://divinitycoding.net/scripts/TimeBanner.js'><\/script>");
</script>


All the best,
Eureka DC
Edited by Eureka DC, Jul 26 2009, 01:23 PM.
DO NOT PM ME FOR HELP, SUPPORT OR REQUESTS!
Posted Image
-------------------------------------------------------------------
I'm a part of you, you're a part of me
And I know it's wrong but I can't get free
You're like my first bad habit
How am I gonna give you up?
~ Vanessa Hudgens
-------------------------------------------------------------------
Offline Profile Goto Top
 
yankeesrule3526 Jul 26 2009, 06:28 AM Post #24


Posts:
51
Group:
Member
Member
#1,760
Joined:
Dec 11, 2008
Coding language
HTML/CSS
The theme I want to use it on has other codes in the Layout and it won't work.
Offline Profile Goto Top
 
Eureka DC Jul 26 2009, 01:23 PM Post #25
Member Avatar


Posts:
183
Group:
Member
Member
#40
Joined:
Jul 16, 2008
Just add the code at the end of everything then. <_<
Edited by Eureka DC, Jul 26 2009, 01:23 PM.
DO NOT PM ME FOR HELP, SUPPORT OR REQUESTS!
Posted Image
-------------------------------------------------------------------
I'm a part of you, you're a part of me
And I know it's wrong but I can't get free
You're like my first bad habit
How am I gonna give you up?
~ Vanessa Hudgens
-------------------------------------------------------------------
Offline Profile Goto Top
 
yankeesrule3526 Jul 26 2009, 03:26 PM Post #26


Posts:
51
Group:
Member
Member
#1,760
Joined:
Dec 11, 2008
Coding language
HTML/CSS
It takes the banner image away, but it doesn't replace it.
Offline Profile Goto Top
 
Desire Law Jul 26 2009, 05:06 PM Post #27


Posts:
114
Group:
Dedicated
Member
#3,362
Joined:
Jul 26, 2009
Coding language
None
Sounds interesting; I may use this later on for various banners at certain times of the day. :)
Offline Profile Goto Top
 
Eureka DC Jul 27 2009, 09:57 PM Post #28
Member Avatar


Posts:
183
Group:
Member
Member
#40
Joined:
Jul 16, 2008
yankeesrule3526
Jul 26 2009, 03:26 PM
It takes the banner image away, but it doesn't replace it.
Please post your Theme Layout and a URL to your forum.
DO NOT PM ME FOR HELP, SUPPORT OR REQUESTS!
Posted Image
-------------------------------------------------------------------
I'm a part of you, you're a part of me
And I know it's wrong but I can't get free
You're like my first bad habit
How am I gonna give you up?
~ Vanessa Hudgens
-------------------------------------------------------------------
Offline Profile Goto Top
 
yankeesrule3526 Jul 28 2009, 07:06 PM Post #29


Posts:
51
Group:
Member
Member
#1,760
Joined:
Dec 11, 2008
Coding language
HTML/CSS
I got it working now. I guess it just didn't like the picture I was trying to use as a banner.

Thanks for your help.
Edited by yankeesrule3526, Jul 28 2009, 07:07 PM.
Offline Profile Goto Top
 
yankeesrule3526 Aug 23 2009, 01:40 PM Post #30


Posts:
51
Group:
Member
Member
#1,760
Joined:
Dec 11, 2008
Coding language
HTML/CSS
The site hosting the script seems to have disappeared. Anyone have the script they can upload somewhere else?
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2
  • 3
  • 4

Track Topic · E-mail Topic Time: 7:51 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy