Reply
News Summary Help
Old 07-25-2004, 06:08 PM News Summary Help
Novice Talker

Posts: 10
Hi,

I have written a news script however since I don't want this displayed in the initial page I want to create a summary of the news to fit in a small area. The area I'm importing the text too can't be stretched in anyway as it will mess up my image map. Anyone know how to do this?

As always, thanks in advance
Dajjal is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-25-2004, 08:49 PM
Veter's Avatar
Super Talker

Posts: 136
You can take some text out of your script like this:
PHP Code:
$smallnews substr($fullnewstext0190);
echo 
$smallnews."..."
it will select first 190 chars from the news.
Or use iframe or layers for scrolling your news in the small area.
__________________
-= B2Netsolutions Inc. =-
-= Dedicated servers - Shoutcast hosting =-
Veter is offline
Reply With Quote
View Public Profile Visit Veter's homepage!
 
Reply     « Reply to News Summary Help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11008 seconds with 12 queries