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.

Website Design Forum


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



Freelance Jobs

Reply
How to have older content "overflow" to another page.
Old 07-16-2006, 12:05 PM How to have older content "overflow" to another page.
Junior Talker

Posts: 3
Name: Aaron
Trades: 0
Hi all

Im working on a site that will be updated every few days or so and am trying to figure out how it can be set up so that when new content is added to the index page the older content will shift down and overflow to page 2. I want the site index to remain a fixed size.

I know this is probably kind of a noobish question and perhaps Im not explaining myself very clearly. Have a look at digg.com or break.com for an idea of what Im talking about. Im assuming that those sites are "automated" in some way dynamically (php or asp.net) to allow for content to be added painlessly.
futureproof is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-16-2006, 12:56 PM Re: How to have older content "overflow" to another page.
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
They usually are, based on a concept called recordset paging. Recordset paging is pretty simple: you assign a number of records you want on any page (call it X).

For page 1, records 1 to X appear.
For page 2, records X + 1 to 2X appear.
For page 3, records 2x + 1 to 3X appear.

And so on and so on, all fully automated.

As far as keeping your index page a fixed size is concerned, you wouldn't be able to do this in terms of height without an additional scrollbar at some point, since people will be able to resize your text in Firefox and most other browsers even if you set it as a pixel-sized font. Paging is a good idea to keep a site from getting "too long", but it won't solve the problem of "I want it X pixels high."
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 07-16-2006, 02:11 PM Re: How to have older content "overflow" to another page.
Junior Talker

Posts: 3
Name: Aaron
Trades: 0
Hi Adam

Thanks for the info. A quick googling seemed to indicate that this can be done with asp.net. Once I have the system in place will it be relatively easy to add content via Contribute?
futureproof is offline
Reply With Quote
View Public Profile
 
Old 07-17-2006, 12:51 AM Re: How to have older content "overflow" to another page.
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I've only mildly dabbled in ASP.net, and done nothing at all in Contribute (I refuse to use Macromedia products other than Flash because I have to). So sorry dude...I can't really answer that question.

I know recordset paging is possible using ASP.net and a database, though.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 07-17-2006, 02:04 AM Re: How to have older content "overflow" to another page.
Junior Talker

Posts: 3
Name: Aaron
Trades: 0
Quote:
Originally Posted by ADAM Web Design
So sorry dude...I can't really answer that question.
No problem man. Thanks for pointing me in the right direction.
futureproof is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to have older content "overflow" to another page.
 

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.15619 seconds with 12 queries