Link to home
Start Free TrialLog in
Avatar of Spareheadone
Spareheadone

asked on

Read More links

Hi Guys,

does anyone know of a way to code web page so that a "read more" link, as used in blogs and Twitter for example, can automatically open in a separate column, without the user having to click on it.

So, a good example would be Twitter. If I produce a webpage with a live Twitter feed in one column, each of the tweets are truncated with a read more link at the end. So for instance, I would like to have the top tweet automatically open in the second column with the full tweet displayed, exactly as if I had clicked on the read more link - apart from the fact that it's displayed in a separate column of course.
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

You will have to be more descriptive to exactly what you want.  There are a lot of possibilities.   Are you actually using a twitter feed or do you have a database and need paging?  Or do you have a lot of info in a container and you only want to show part of it until some link is clicked.  Please post a link to your page to help us understand.
Avatar of Spareheadone
Spareheadone

ASKER

Ok, for this particular project, I am talking about Twitter.

I have hastily created an example page at www.eventav.biz/twitter/alltweets.html

There is a table with 3 columns - in the leftmost is an image, in the middle is a twitter feed and in the right column is a grey box which represents where I would like to automatically display the top tweet on the page.

Sometimes the link at the end of a tweet is "Show Media" and others it's "expand" or "read more" - whatever that link is I would like it displayed in the right column without having to click on it.
If they don't click on it, how do you want the data to get into the column?  Are you thinking hover instead? or something else?
No. Basically, I don't want to rely on any user interaction at all if that is possible.

Say for example there are 5 tweets on the page. The top tweet would be designated as number 1 or whatever, and the code in the column would look for the tweet assigned to the number one value tweet and then display the full tweet.

The idea is to have a stand alone, passive display (which would refresh periodically) which always displays a list of tweets but shows the full details of the number one tweet automatically in the column or box directly to right of the list.
Ok, that makes sense.    

You want to see the list of tweets in the main column, and in the right column you want to see the full ("read more") html display and rotate every x seconds. Does that sound right?
Do you want this in javascript? or jquery?
Hi yes that's correct - as for the programming language, probably Javascript as a preference but to be honest I would need an idiots walk through with whatever is used.
OK - So, considering there "are a lot of possibilities" there seems to be an extreme lack of actual suggestions. Do I have to assume that this is not actually possible to do after all then?

Any feedback would be welcome guys.
ASKER CERTIFIED SOLUTION
Avatar of smeghammer
smeghammer
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Smeghammer (great name)

not really sure if this works as I'm on another project at the moment and don't have the time to check it properly but as you're the only one whose took the time to come up with a solution I thought you deserved the points.

Thanks for the help.

At some stage I will get back to this and I may need further assistance and if I do I will post again.

Cheers.
You are welcome. Thanks for the points. Boys from the Dwarf stick together :-)

Cheers