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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Looking for a scrollable panel for a Table
Old 08-10-2008, 10:26 PM Looking for a scrollable panel for a Table
Skilled Talker

Posts: 64
Name: Ralph Freshour
Trades: 0
I have a Table and I need to have it in some kind of scrollable panel. Is there such a scrollable component?

Thanks...
__________________
RalphF
Business Text Messaging Services

Please login or register to view this content. Registration is FREE
rfresh is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-11-2008, 04:04 AM Re: Looking for a scrollable panel for a Table
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Don't know what you mean, maybe something like this?

HTML Code:
<div class="scrollable">
<table>
<thead><th>#1</th><th>#2</th></thead>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
</table>
</div>
Code:
.scrollable {
display:block;
height:100px;
width:300px;
overflow:auto;
border:#000 1px solid;
}
bas is offline
Reply With Quote
View Public Profile
 
Old 08-11-2008, 07:32 AM Re: Looking for a scrollable panel for a Table
Super Talker

Posts: 104
Location: http://www.joomladevs.com
Trades: 0
Visit dynamicdrive site and you will get a lots of interesting HTML/CSS contents there...
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


saurabhj is offline
Reply With Quote
View Public Profile Visit saurabhj's homepage!
 
Old 08-11-2008, 12:46 PM Re: Looking for a scrollable panel for a Table
aldor's Avatar
Ultra Talker

Posts: 479
Name: Alan
Location: Lincoln(UK)
Trades: 0
Well done Bas, great answer.
I gave Talkupation.
aldor is offline
Reply With Quote
View Public Profile
 
Old 08-17-2008, 02:09 AM Re: Looking for a scrollable panel for a Table
MellowD's Avatar
Average Talker

Posts: 15
Trades: 0
you can also use iframes, which ever works for you. heres a tutorial. http://www.htmlcodetutorial.com/frames/_IFRAME.html
MellowD is offline
Reply With Quote
View Public Profile
 
Old 08-17-2008, 10:22 AM Re: Looking for a scrollable panel for a Table
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
You're going to get jumped on for that answer, my friend. Iframes are almost always the worst solution available.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-17-2008, 10:40 AM Re: Looking for a scrollable panel for a Table
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
Quote:
Originally Posted by bas View Post
Don't know what you mean, maybe something like this?

HTML Code:
<div class="scrollable">
<table>
<thead><th>#1</th><th>#2</th></thead>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
<tbody><td>foo</td><td>foo</td></tbody>
</table>
</div>
Code:
.scrollable {
display:block;
height:100px;
width:300px;
overflow:auto;
border:#000 1px solid;
}
Change overflow on that to scroll and you've got one way of doing it.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 08-17-2008, 01:40 PM Re: Looking for a scrollable panel for a Table
Skilled Talker

Posts: 60
Trades: 0
Excellent code bas.

HOW do I make it scroll upwards, at a certain speed, without requiring user intervention?


Thankyou
052808 is offline
Reply With Quote
View Public Profile
 
Old 08-17-2008, 02:18 PM Re: Looking for a scrollable panel for a Table
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
You need javascript for that.

Maybe this is what you want: http://www.dhtmlgoodies.com/index.ht...olling_content

or search google: javascript auto scroll
(or something similar)
bas is offline
Reply With Quote
View Public Profile
 
Old 08-17-2008, 04:30 PM Re: Looking for a scrollable panel for a Table
MellowD's Avatar
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
You're going to get jumped on for that answer, my friend. Iframes are almost always the worst solution available.
what is wrong with iframes? just wondering so i dont have to use them again.
MellowD is offline
Reply With Quote
View Public Profile
 
Old 08-17-2008, 04:37 PM Re: Looking for a scrollable panel for a Table
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
The short answer is that it makes things very difficult for search engines to index. Do you want the long answer?
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-18-2008, 10:25 PM Re: Looking for a scrollable panel for a Table
MellowD's Avatar
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
The short answer is that it makes things very difficult for search engines to index. Do you want the long answer?
I'll take your word for it. Thanks.
MellowD is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Looking for a scrollable panel for a Table
 

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