HighDots Forums  

Tables and Sorting

alt.html.webedit alt.html.webedit


Discuss Tables and Sorting in the alt.html.webedit forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Darren
 
Posts: n/a

Default Tables and Sorting - 11-28-2003 , 04:25 AM






Hi,

I have a dynamic table within Dreamweaver / PHP, how can i only have the
CONTENTS of the table scrolling, not the column titles?

Regards,

Darren



Reply With Quote
  #2  
Old   
Dauber!
 
Posts: n/a

Default Re: Tables and Sorting - 11-29-2003 , 07:38 PM






Waaaaay back on 28-Nov-03 05:25:47, Darren said this about Tables and Sorting:

Quote:
I have a dynamic table within Dreamweaver / PHP, how can i only have the
CONTENTS of the table scrolling, not the column titles?
I'm thinking you can't really do that without using Java or Flash -- which
is the LAST thing you want to do, as it'll turn off a lot of users who don't
have either and don't feel like taking the extra step to download the
necessary add-ons (or, like me, use a platform that supports neither with no
desire to change platforms).

Probably what you can do is make TWO tables and two frames, one on bottom
and one on top.

The top frame will have NO scrollbar, but one table. That table is NOTHING
but the column titles.

The bottom frame will have a scrollbar and one table that's just the data
you want to scroll.

If you specify the lengths properly for each table, you can pull this off
rather nicely, I reckon. Get what I'm saying?

--
dauber (AT) banana-and-louie (DOT) s....your.org.invalid * ICQ: 28677921



Reply With Quote
  #3  
Old   
Hywel Jenkins
 
Posts: n/a

Default Re: Tables and Sorting - 12-02-2003 , 02:34 AM



"Darren" <foo.bar (AT) world (DOT) com> wrote

Quote:
Hi,

I have a dynamic table within Dreamweaver / PHP, how can i only have the
CONTENTS of the table scrolling, not the column titles?

Two tables, one on top of the other. Put the each in position <div
elements and use overflow:scroll for the second one:
http://demo.hyweljenkins.co.uk/darren.htm

--
Hywel


Reply With Quote
  #4  
Old   
Hywel Jenkins
 
Posts: n/a

Default Re: Tables and Sorting - 12-02-2003 , 02:35 AM



"Dauber!" <dau_ber (AT) verizon (DOT) SPAMISFOREATING.net.invalid> wrote

Quote:
Waaaaay back on 28-Nov-03 05:25:47, Darren said this about Tables and Sorting:

I have a dynamic table within Dreamweaver / PHP, how can i only have the
CONTENTS of the table scrolling, not the column titles?

I'm thinking you can't really do that without using Java or Flash
CSS?


Quote:
Probably what you can do is make TWO tables and two frames, one on bottom
and one on top.
Frames? Ewww!

--
Hywel


Reply With Quote
  #5  
Old   
Dauber!
 
Posts: n/a

Default Re: Tables and Sorting - 12-02-2003 , 06:03 AM



Waaaaay back on 02-Dec-03 03:35:41, Hywel Jenkins said this about Re: Tables and Sorting:
Quote:
I have a dynamic table within Dreamweaver / PHP, how can i only have the
CONTENTS of the table scrolling, not the column titles?

I'm thinking you can't really do that without using Java or Flash

CSS?
CSS? Ewww!

Seriously, though, when no two browsers interpret it the same...there's were
problems come in.

--
dauber (AT) banana-and-louie (DOT) anticss.org * ICQ: 28677921



Reply With Quote
  #6  
Old   
Hywel Jenkins
 
Posts: n/a

Default Re: Tables and Sorting - 12-02-2003 , 11:17 AM



In article
<475.466T1891T4245777dau_ber (AT) verizon (DOT) SPAMISFOREATING.net.invalid>,
dau_ber (AT) verizon (DOT) SPAMISFOREATING.net.invalid says...
Quote:
Waaaaay back on 02-Dec-03 03:35:41, Hywel Jenkins said this about Re: Tables and Sorting:

I have a dynamic table within Dreamweaver / PHP, how can i only have the
CONTENTS of the table scrolling, not the column titles?

I'm thinking you can't really do that without using Java or Flash

CSS?

CSS? Ewww!

Seriously, though, when no two browsers interpret it the same...there's were
problems come in.
None of my browsers support Flash or Java, but all support CSS to the
extent of the demo I gave. There's no need to use frames for something
as simple as this.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php


Reply With Quote
  #7  
Old   
Dauber!
 
Posts: n/a

Default Re: Tables and Sorting - 12-02-2003 , 04:11 PM



Waaaaay back on 02-Dec-03 12:17:25, Hywel Jenkins said this about Re: Tables and Sorting:

Quote:
CSS? Ewww!

Seriously, though, when no two browsers interpret it the same...there's
were problems come in.

None of my browsers support Flash or Java, but all support CSS to the
extent of the demo I gave. There's no need to use frames for something
as simple as this.
Okay, but I seriously fail to see how CSS would actually do the scrolling
work...CSS isn't dynamic, if what I'm taught is correct...

--
dauber (AT) banana-and-louie (DOT) i...nyway.org.invalid * dauber.50megs.com
* ICQ: 28677921 * YIM: dau_ber * AIM: ddaauubbeerr



Reply With Quote
  #8  
Old   
Hywel Jenkins
 
Posts: n/a

Default Re: Tables and Sorting - 12-03-2003 , 11:12 AM



In article
<642.466T2976T10306506dau_ber (AT) verizon (DOT) SPAMISFOREATING.net.invalid>,
dau_ber (AT) verizon (DOT) SPAMISFOREATING.net.invalid says...
Quote:
Waaaaay back on 02-Dec-03 12:17:25, Hywel Jenkins said this about Re: Tables and Sorting:

CSS? Ewww!

Seriously, though, when no two browsers interpret it the same...there's
were problems come in.

None of my browsers support Flash or Java, but all support CSS to the
extent of the demo I gave. There's no need to use frames for something
as simple as this.

Okay, but I seriously fail to see how CSS would actually do the scrolling
work...CSS isn't dynamic, if what I'm taught is correct...
The CSS doesn't do the scrolling. Did you visit the URL I gave?

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php


Reply With Quote
  #9  
Old   
Dauber!
 
Posts: n/a

Default Re: Tables and Sorting - 12-03-2003 , 01:22 PM



Waaaaay back on 03-Dec-03 12:12:40, Hywel Jenkins said this about Re: Tables and Sorting:
Quote:
In article
642.466T2976T10306506dau_ber (AT) ve...ATING.net.invalid>,
dau_ber (AT) verizon (DOT) SPAMISFOREATING.net.invalid says...
Waaaaay back on 02-Dec-03 12:17:25, Hywel Jenkins said this about Re:
Tables and Sorting:

CSS? Ewww!

Seriously, though, when no two browsers interpret it the same...there's
were problems come in.

None of my browsers support Flash or Java, but all support CSS to the
extent of the demo I gave. There's no need to use frames for something
as simple as this.

Okay, but I seriously fail to see how CSS would actually do the scrolling
work...CSS isn't dynamic, if what I'm taught is correct...

The CSS doesn't do the scrolling. Did you visit the URL I gave?

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php

--
dauber (AT) banana-and-louie (DOT) org * dauber.50megs.com
* ICQ: 28677921 * YIM: dau_ber * AIM: ddaauubbeerr



Reply With Quote
  #10  
Old   
Dauber!
 
Posts: n/a

Default Re: Tables and Sorting - 12-03-2003 , 01:33 PM



Waaaaay back on 03-Dec-03 14:22:26, Dauber! said this about Re: Tables and Sorting:
Quote:
Okay, but I seriously fail to see how CSS would actually do the scrolling
work...CSS isn't dynamic, if what I'm taught is correct...

The CSS doesn't do the scrolling. Did you visit the URL I gave?
All right, I don't know why the f*** my newsreader sent not one but TWO
copies of just your message quoted with not anything, including my
reply...sooo, here's my reply...

Here are the results of your demo in different browsers, in alphabetical order:

AWeb -- two columns with the headers not aligned with the data. Understood,
as you have two tables -- one on top of the other.

IBrowse -- again, two columns, headers unaligned.

Internet Exploder -- Wow! That's pretty cool...

Lynx -- uhhhh...Hywel, you can get up off the floor and stop laughing now.

Mozilla -- see Opera note.

Nutscrape Navigator 4.72 -- FOUR columns with nothing in any reasonably visible alignment

Nutscrape Navigator 7 -- damn thing crashes before I can even enter your
URL.

Opera -- can't test yet; can't install it unless my wife leaves, and I have
to leave when she leaves, and she just got laid off and ergo will be home
every day, and is adamant about not installing more browsers.

Voyager -- two columns, headers unaligned.

But you see what I'm getting at? How could someone do the same thing, but
have it work universally? Unless you have a browser that fully supports
style sheets, the only other way to do the scrolly thing, really, is to use
frames...which can get quite hairy. Or with Flash or Java. Don't think you
can even do it with any client-side or server-side scripting.

--
dauber (AT) banana-and-louie (DOT) fussycss.org.invalid * dauber.50megs.com
* ICQ: 28677921 * YIM: dau_ber * AIM: ddaauubbeerr



Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.