Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
One page feeding text into another
Old 08-27-2009, 12:37 AM One page feeding text into another
Junior Talker

Posts: 1
Name: Steve
Location: Dallas
Trades: 0
I'm going crazy and hoping someone may have a solution. I am attempting to have one page on my site feed the beginning of the text into another page of the site. For example, I have a news & updates page. When I post an update, I want the first sentence or two to feed into a particular of the homepage. Simply, a script or such would feed enough text into the table, truncate the rest and there would be a static 'more' button below. Right now, I create the updates on the news page and manually enter the text on the homepage. I read there was something that could be scripted using JS from text document but when I tried, it didnt seem to work. Also, I'm trying to avoid using frames and that would take recreation of the entire site. I am using DW CS4.

Thanks
djtroz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-27-2009, 11:32 AM Re: One page feeding text into another
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Frames wouldn't be a very good solution here, and JavaScript could be used to scrape the content, but it would be somewhat complicated and would be inaccessible to anyone with JS disabled.

Does the content in the news feed exist in a database? If so, it may be time to take a quick tutorial in how to use a server side code to pull information from the database to manipulate it.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to One page feeding text into another
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.09697 seconds with 12 queries