Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: NativePages - helmikuu 22, 2007, 11:19:55 IP

Otsikko: Tweaking the News Fader - Help, please?
Kirjoitti: NativePages - helmikuu 22, 2007, 11:19:55 IP
Hiya,

I'm using the news fader on my site to run PSA's for a specific state-wide community. I like the fact that the PSA's are constantly changing, and that you can add bbc and smilies or images to draw attention to the PSA (I using the smilies to categorize the PSA's, too.)

There are only two things that are bugging me:  Some of the PSA's are longer (more lines) than others which causes the forum to jump up and down as the fader expands and contracts. The lengthier PSA's need the information in them, but the fader is moving fast enough that someone might not get to the end of it before it fades into the next message.

Is there a way to set the container for the fader to a specific height?

Is there a way to tell the fader to pause on a mouseover?

Also, and just for future reference to the developer's team, it would be nice if there were a way to "reorder" the items in the news fader.

Thanks in advance,
NativePages
http://www.nativepages.com/tnindian

PS ... I forgot. I, too, would like it if there was an option to show the news fader on every page instead of just the front page!!
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: elfishtroll - helmikuu 25, 2007, 06:31:00 AP
I guess you could always use <br> or enter to pad the size, or use HTML to define a fixed size DIV?
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: NativePages - helmikuu 25, 2007, 11:20:49 IP
How would I do it using the HTML to set the size of the div?  (sorry ... I'm just not that up on coding anymore).
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: elfishtroll - helmikuu 27, 2007, 12:11:35 AP
<div   style="width:400px;height:230px;
background-color:transparent;  overflow:auto;color: white;">

Edit: Clarified post by removing duplicate CSS options
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: NativePages - helmikuu 27, 2007, 02:42:52 AP
Thank you thank you. I'm guessing that goes into the index.template file. I'll poke around in there tomorrow and try to figure it out!
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: NativePages - helmikuu 28, 2007, 07:12:28 IP
I give. I can't figure out where the info controlling the newsfader is in any of the files. Thanks for the help with the code, though.

NativePages
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: NativePages - helmikuu 28, 2007, 07:59:47 IP
YAHOOOOOO!!!! (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smileypad.com%2Fv224%2FHappy%2FClap-Hands.gif&hash=fbdc2ef28e894d1ff6ba54f87c26d2b30d0c4346) You're a wonderful person and I'd name my next born after you 'cept I'm too old to have anymore (knock on wood), but hey ... the first goose or chicken egg that hatches around here has YOUR name on it. Well ... except for maybe the troll part... BUT ...

Here's what I ended up using for code AFTER I finally found the stuff buried in boardindex.template.php ...


<div id="smfFadeScroller" style="width: 90%; padding: 2px; overflow:scroll; width:90%;
height:115px; overflow:auto;">


Thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you !!!
Otsikko: Re: Tweaking the News Fader - Help, please?
Kirjoitti: elfishtroll - maaliskuu 03, 2007, 02:35:37 IP
WOW!

Thanks for the cheer! Brought a warm glow to the cockles of my heart, and to the heart of my ... (https://www.simplemachines.org/community/Smileys/simple/lipsrsealed.gif)
(well, this IS a family oriented forum after all :D)



Makes we wanna go out and do some more goody helping stuff!

Like a Boy Scout, helping an old lady cross the street!

(whether she wants to get to the other side or not!)