Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-18 11:03:40

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

Scrolling Recent News vertically on Sidebar..

Dear All,
Greetings!
I would like to use Scrolling Recent News on a Side bar. New is scrolling vertically from bottom to top on side bar. I have not done this before. As I tried to search in forum, Could not find any idea. Is it possible or not using some plugin or other way?

Thank you all for your help
Sheru

Offline

#2 2008-08-18 11:18:14

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,729
Website

Re: Scrolling Recent News vertically on Sidebar..

If you just mean a scrollable window in the sidebar, probably the easiest way is to simply output your long list of news items in a div (with an id) using txp as normal, then use CSS to give the div a fixed height and overflow-y: auto; or overflow-y: scroll; to show a scrollbar (scroll will always show a scrollbar, auto will show a scrollbar when the content is longer than height of the window).

If you mean a ticker or window of sorts which cycles through the content automatically check the numerous different javascript solutions. txp comes with jquery, so maybe that’s a good place to start but there are lots out there of all shapes and sizes. Usually all they need is javascript and normal mark-up.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-08-18 11:58:52

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

Re: Scrolling Recent News vertically on Sidebar..

Dear jakob,
Greetinngs! Thank you for your prompt response and many informations. I think it’s similar to ticker. But still I have given link here if you see this web site on the left side there is a Recent UMN News. Similar to this I need to show on left side side bar. Is this the ticker or other?

Thank you for your great help for guiding me.
Sheru

Last edited by Sheru (2008-08-18 12:00:38)

Offline

#4 2008-08-18 16:35:21

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Scrolling Recent News vertically on Sidebar..

Hi Sheru, have a look at this DHTML scroller, found among the scroller lot on dynamicdrive. Pausing and speed can be set individually.

Last edited by uli (2008-08-18 16:35:50)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2008-08-18 17:51:18

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Scrolling Recent News vertically on Sidebar..

Also here’s a jquery scroller tutorial


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#6 2008-08-18 17:51:42

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,729
Website

Re: Scrolling Recent News vertically on Sidebar..

you could probably use the one on that page too. With txp you just need to create your list of recent news articles, the rest is javascript. Here’s another scroll up headline reader based on jquery will full instructions, that uses the same principle but is perhaps also a little more user friendly.

EDIT: Snap Matt!

Last edited by jakob (2008-08-18 17:52:10)


TXP Builders – finely-crafted code, design and txp

Offline

#7 2008-08-19 04:54:29

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

Re: Scrolling Recent News vertically on Sidebar..

Dear All,
Greetings From Sheru!
Thank you All for your great help and prompt response. I greatly value responses and thankful for heaps of information in my questions. I even did not know whether ticker exits or not on textpattern forum. Everybody is helpful on this forum. Amazing community forum. I hope to fully utilize it. Hope to be in touch with all.

Once again Thank you All for your kind help
Sheru

Offline

Board footer

Powered by FluxBB