| 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: |
| [ C ] news bar ticker | |
|---|---|
| Tweet Topic Started: May 3 2013, 11:03 PM (2,624 Views) | |
| lala1993 | May 3 2013, 11:03 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
Board Address: (Link to your board) Private Board Software: (ZetaBoards or InvisionFree) Description: (What you want your code to do) I'd like to have news bar ticker like this one on my board. For an example " latest news" head bar with " message what happen around the world" with url link read more. I don't want the news bar message to be refresh or reloading the pages when I reading something on next pages. news bar |
![]() |
|
| Replies: | |
|---|---|
| Cory | May 7 2013, 12:09 AM Post #31 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can use this:The 90 can be changed as necessary. |
![]() |
|
| lala1993 | May 7 2013, 12:10 AM Post #32 |
|
Member
![]() ![]() ![]() ![]()
|
where do I put this code? |
![]() |
|
| Cory | May 7 2013, 12:12 AM Post #33 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Admin CP Themes Board Template Javascripts
|
![]() |
|
| lala1993 | May 7 2013, 12:22 AM Post #34 |
|
Member
![]() ![]() ![]() ![]()
|
It's still giving me the same result I need to fixed width and fixed height so that it doesn't expand and contract around the text - which makes the page jump to accommodate the change in size. |
![]() |
|
| Cory | May 7 2013, 12:32 AM Post #35 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
On second thought, don't worry about the CSS and change the JavaScript to this:
|
![]() |
|
| lala1993 | May 7 2013, 12:41 AM Post #36 |
|
Member
![]() ![]() ![]() ![]()
|
Thanks for all you do Cody... I still getting the same result again. |
![]() |
|
| Cory | May 7 2013, 01:01 AM Post #37 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'm still seeing the old version on your board and it appears to be in the Javascripts wrapper. The JavaScript should be in the Below the Board wrapper. You have </a> after every <span class="message"> start tag, that's not needed. Also, use quotation marks around HTML attribute values: Right above the bbcodequickcompose.js code the ending tag is not complete:
|
![]() |
|
| RichardInTN | May 15 2013, 06:40 PM Post #38 |
|
I believe in I.D.I.C.
![]() ![]() ![]() ![]() ![]()
|
This code works great, but My Members are having trouble deciding which .rss feed they'd prefer. There's a slight victor in a vote we had, but it wasn't what could be called a "landslide" victory for it. I was wondering... if I create a custom "My .RSS Preference" (or something like that) entry in the member profile, could this script be adapted to read that and feed individual .rss feeds (and if they leave it blank, not feed one at all and not take out the space at the top either)? |
![]() |
|
| Cory | May 15 2013, 07:11 PM Post #39 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use this for the JavaScript instead, for the custom profile field you create make sure all options are set to No.Change PROFILE_FIELD_NAME. |
![]() |
|
| RichardInTN | May 15 2013, 07:14 PM Post #40 |
|
I believe in I.D.I.C.
![]() ![]() ![]() ![]() ![]()
|
Cool! I'll give it a shot! Thanks dude. You seriously rock! ETA: using the new code, I get a "The specified feed URL is invalid" even using the RSS feed I was using with the old code. Edited by RichardInTN, May 15 2013, 07:45 PM.
|
![]() |
|
| Cory | May 15 2013, 08:07 PM Post #41 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It should be:
|
![]() |
|
| RichardInTN | May 15 2013, 08:08 PM Post #42 |
|
I believe in I.D.I.C.
![]() ![]() ![]() ![]() ![]()
|
Oops. LOL I knew there was something I was forgetting. Thanks! Well... I did need to do that... but the problem still exists. Even after correcting that, I still get "The specified feed URL is invalid". Edited by RichardInTN, May 15 2013, 08:12 PM.
|
![]() |
|
| Cory | May 15 2013, 08:27 PM Post #43 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try putting it in the Below the Board wrapper. If that doesn't work, please approve my test account. |
![]() |
|
| RichardInTN | May 15 2013, 08:35 PM Post #44 |
|
I believe in I.D.I.C.
![]() ![]() ![]() ![]() ![]()
|
That just moved the message to the bottom of the board. ETA: so I moved it back to "above the board" ETA II: You're in. Do you need any special permissions to work on this... or are you just wanting to see what's going on? ETA III: I gave you temporary access to "Board Template"... just in case Edited by RichardInTN, May 15 2013, 08:40 PM.
|
![]() |
|
| Cory | May 15 2013, 08:41 PM Post #45 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You didn't do this. The script can go in either wrapper I suppose. The DIV dictates where the feed appears. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:58 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)


Themes
8:58 PM Jul 10