inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 9, 2013 0:47:12 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Feb 9, 2013 4:21:44 GMT -8
It should be, I've not played with the News Fader on V5 yet. I'll have a look.
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 9, 2013 4:25:25 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Feb 10, 2013 4:40:37 GMT -8
Are you talking about the News Feed? If so, it already scrolls... Kind of.
I take it you would like it to scroll right across and disappear off the side?
|
|
blueshead
Full Member
More hot peppers please!
Posts: 928
inherit
185994
0
Jun 17, 2018 15:20:52 GMT -8
blueshead
More hot peppers please!
928
November 2012
mrblueshead
|
Post by blueshead on Feb 11, 2013 4:50:46 GMT -8
Or maybe it could be centered.. And Flash at different speeds..
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 21, 2024 23:26:53 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 11, 2013 7:45:24 GMT -8
Are you talking about the News Feed? If so, it already scrolls... Kind of. I take it you would like it to scroll right across and disappear off the side? I'm keeping a close eye on this thread as I'm not keen on the current News Feed.
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 11, 2013 7:52:04 GMT -8
Or maybe it could be centered.. And Flash at different speeds.. Ooooo - I hope that is an option..!! RF
|
|
blueshead
Full Member
More hot peppers please!
Posts: 928
inherit
185994
0
Jun 17, 2018 15:20:52 GMT -8
blueshead
More hot peppers please!
928
November 2012
mrblueshead
|
Post by blueshead on Feb 11, 2013 7:52:32 GMT -8
Are you talking about the News Feed? If so, it already scrolls... Kind of. I take it you would like it to scroll right across and disappear off the side? I'm keeping a close eye on this thread as I'm not keen on the current News Feed. Me too.. But I think it is getting better.. And will be soon.. We are after all ,Rita just coming out of beta.. and I look forward to more new changes..
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Mar 8, 2013 6:47:37 GMT -8
Any news on this option perhaps Todge ?? RF
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 8, 2013 13:01:40 GMT -8
Yes, sorry..
Put this in your Main Footer
<script type="text/javascript"> <!--
// Edit below...
var newsSize = '25'; var newsDirection = 'left'; var newsSpeed = '2'; var newsHeight = '50px'; var newsColor = 'red';
// Edit above...
if(document.getElementById('news')) { var newsJoin = '<br>'; var newsFader = document.getElementById('news'); var newsContent = newsFader.getElementsByTagName('div'); if(newsDirection.match(/(left|right)/i)) { newsJoin = ' '; newsHeight = (parseInt(newsSize)+10)+'px'; newsFader.style.padding = '5px 0px 5px 0px'; }
for(n=0; n<newsContent.length; n++) { if(newsContent[n].className == 'items') { var newsDivs = newsContent[n].getElementsByTagName('div'); newsContent = ''; break; }}
for(n=0; n<newsDivs.length-1; n++) { newsContent += newsDivs[n].innerHTML += newsJoin; } newsContent += newsDivs[newsDivs.length-1].innerHTML;
newsContent = '<marquee scrollamount="'+newsSpeed+'" style="text-align: center; font-size: '+newsSize+'px;" direction="'+newsDirection+'">'+newsContent+'</marquee>';
with(newsFader) { style.backgroundColor = newsColor; style.height = newsHeight; innerHTML = newsContent; } } // --> </script>
Edit where it says.
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Mar 9, 2013 1:59:37 GMT -8
Marvellous Todge - many thanks - it works very well. RF
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 9, 2013 4:52:22 GMT -8
No worries..
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Mar 11, 2013 9:56:51 GMT -8
Any chance of using Hex numbers perhaps Todge ?? Rf
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 11, 2013 11:45:57 GMT -8
You already can.. Instead of a color name like 'red', just use a hex number preceded by the hash symbol, '#123456' for example.
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Mar 11, 2013 11:55:29 GMT -8
You already can.. Instead of a color name like 'red', just use a hex number preceded by the hash symbol, '#123456' for example. That's the problem Todge - I forgot the "#" - sorry and thanks again!! RF
|
|