Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 24th, 2005, 8:38 PM   #1
prim_screw
Newbie
 
Join Date: Jan 2005
Posts: 1
Rep Power: 0 prim_screw is on a distinguished road
Question Need help in displaying news of the day info

I have already made a input form to add news of the day to the database.

I have it display the news of the day info on my homepage, but i need to find a way for it after it hits the end of the table to just make a auto scroll instead of streching the table longer and longer.

click here to see what i mean
prim_screw is offline   Reply With Quote
Old Jan 24th, 2005, 11:08 PM   #2
EdSalamander
Programmer
 
EdSalamander's Avatar
 
Join Date: Dec 2004
Location: Tucson, AZ, USA
Posts: 80
Rep Power: 4 EdSalamander is on a distinguished road
Send a message via AIM to EdSalamander
Try an <iframe>. They're like little windows inside your page that have entirely different pages in them. Make a page for just the News of the Day table and pop it in one.
__________________
I can pick my friends. And I can pick my nose. So, why can't I pick my friend's nose?
EdSalamander is offline   Reply With Quote
Old Jan 25th, 2005, 12:32 AM   #3
Pseudo Class
Newbie
 
Pseudo Class's Avatar
 
Join Date: Dec 2004
Posts: 26
Rep Power: 0 Pseudo Class is on a distinguished road
you can use the overflow method in CSS...
__________________
Mhm...Ramen.
Pseudo Class is offline   Reply With Quote
Old Jan 25th, 2005, 5:17 PM   #4
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 5 BlazingWolf is on a distinguished road
I would use the CSS. Frames are bad.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Jan 26th, 2005, 8:32 AM   #5
codetaino
Programmer
 
codetaino's Avatar
 
Join Date: Jan 2005
Location: Bayamon, Puerto Rico
Posts: 71
Rep Power: 4 codetaino is on a distinguished road
you can insert that information in a form scrollbox... or... you can program in php that only show the first 5 and then you have to hit next or something
__________________
"God bless u all" :)
codetaino is offline   Reply With Quote
Old Jan 26th, 2005, 2:41 PM   #6
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
<div style="overflow: auto; width: 100px; height: 200px">
<!-- News of the day stuff here... //-->
</div>

Change height and width as you wish.
__________________

tempest is offline   Reply With Quote
Old Jan 26th, 2005, 2:51 PM   #7
EdSalamander
Programmer
 
EdSalamander's Avatar
 
Join Date: Dec 2004
Location: Tucson, AZ, USA
Posts: 80
Rep Power: 4 EdSalamander is on a distinguished road
Send a message via AIM to EdSalamander
Heh, oh yeah. I forgot about the overflow style. :o Yeah, ignore what I said about an iframe, listen to them instead.
__________________
I can pick my friends. And I can pick my nose. So, why can't I pick my friend's nose?
EdSalamander is offline   Reply With Quote
Old Jan 26th, 2005, 3:52 PM   #8
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Iframes have uses also, but CSS will work on more browsers.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:02 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC