Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
help!! Need to add the scrolling news title

 
Reply to topic    Forum Index » Help View previous topic
View next topic
help!! Need to add the scrolling news title
Author Message
itzzmesur



Joined: 08 Feb 2007
Posts: 35

Post help!! Need to add the scrolling news title Reply with quote
My first post with the request,

I need to add the scrolling news( the title of the news only) section in my website (www.nepalmountainnews.com/nmnews/), can any one help me please.
Thu Apr 05, 2007 9:04 am View user's profile Send private message
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
The link you provided doesn't seem to be working.. however.. all you need to scroll stuff (other than images.. I guess this only works in IE and firefox won't support it) is to use the <marquee></marquee> tags. Do something like this in your templates:



Code:
<marquee><a href="{link=home/post}">{title}</a></marquee>




That'll work on IE and FF. Is this what you meant?

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Thu Apr 05, 2007 1:52 pm View user's profile Send private message Visit poster's website AIM Address
itzzmesur



Joined: 08 Feb 2007
Posts: 35

Post I want a feature like BBC news ticker Reply with quote
sorry the address is this http://www.nepalmountainnews.org/nmnews/, and i need to show the title of the latest news with the full page links .....



example on http://news.bbc.co.uk/
Sun Apr 08, 2007 6:53 am View user's profile Send private message
Ramon



Joined: 12 Oct 2005
Posts: 551
Location: Hoogeveen, NL

Post Reply with quote
That's easily done with some javascript Wink



I bet http://www.dynamicdrive.com/ will have a decent script for you Wink

_________________
Sun Apr 08, 2007 12:20 pm View user's profile Send private message Visit poster's website
itzzmesur



Joined: 08 Feb 2007
Posts: 35

Post it is now working Reply with quote
Hello ,



Thanks for the help now the scrolling are working in www.nepalmountainnews.com by just using the marquee.....
Wed Apr 11, 2007 6:04 am View user's profile Send private message
alven



Joined: 05 Jul 2006
Posts: 126

Post Reply with quote
it is working but each title in a new line so may I ask for a help to let the titles to be on one line like that
title1 title2 title 3 title 4 and so on please
Thanks in advance
Wed Dec 26, 2007 1:02 pm View user's profile Send private message
alven



Joined: 05 Jul 2006
Posts: 126

Post Reply with quote
any help please?
Sat Dec 29, 2007 11:35 am View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
Quote:
it is working but each title in a new line so may I ask for a help to let the titles to be on one line like that
title1 title2 title 3 title 4 and so on please


Did you use the marquee code in your template that I posted above? You might want to use some &nbsp;'s cause you'll need gaps between them.. I can't understand why it's showing up on multiple lines for you

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Sun Dec 30, 2007 5:19 am View user's profile Send private message Visit poster's website AIM Address
alven



Joined: 05 Jul 2006
Posts: 126

Post Reply with quote
yes, I did
Code:

<?php
$static['template'] = "tik";
$static['category'] = "16";
$number['number'] = "12";
include("/home/abc/public_html/cnr/show_news.php");
?>


template
Code:

[full-link]<marquee>
<a target="_blank" href="{link=home/post}" >{title}</a>[/full-link]</marquee>

so may I ask you what is wrong in my code?
It is very strange that this give me each title in a line
like that
title1
title2
title3
But what I need is to let all titles in one line like this
title1 title2 title3 and so on
Sun Dec 30, 2007 10:43 am View user's profile Send private message
alven



Joined: 05 Jul 2006
Posts: 126

Post Reply with quote
Thanks GOD, solved. Thank you Scottdallas.
Happy New Year all of you.
Sun Dec 30, 2007 9:53 pm View user's profile Send private message
sitehire



Joined: 27 Mar 2008
Posts: 7

Post Reply with quote
I'm having the same problems.

I'm trying to use a marquee to display like a news ticker, but for some reason it's showing the news on top of each other liek...

news1
news2
news3

instead of like: news1 news2 news3

I've tried adding nbsp; but to no avail?
Thu Apr 03, 2008 12:58 pm View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
This is probably what you want for your active news template. Copy paste:

Code:
<a href="{link=home/post}">{title}</a>&nbsp;&nbsp;&nbsp;


_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Sun Apr 06, 2008 9:37 pm View user's profile Send private message Visit poster's website AIM Address
nam



Joined: 23 Dec 2006
Posts: 141

Post This is exactly what you need Reply with quote
http://forums.cutenewsru.com/news-scrolling-in-a-nice-way-%28solved---solution-uploaded%29-t2265.html
Sun Jul 27, 2008 12:06 am View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.