Log in

View Full Version : Dividing a page into two frames (scrollable and one not scrollable)!!!



sanjo
10-17-2006, 06:31 AM
Hi there,

I have a problem in viewing my page as per a requirement.
The data on the page looks like this.
These are headings (App Flag Fab Name Material Number Action Transaction Date......many more are there to the right of the screen,but not put here) and the content below this is the data.

How i did it:
The entire structure is in one table, because if i separate the header from the content then there will be an allignment problem. Hence the data and header are separate.
This particular content and header are in a <div> also so that (as i mentioned there are more data to the right which i didnt put down) the users can scroll to the right and check them out.
App Flag Fab Name Material Number Action Transaction Date
Blue Dart 3700-01203 2 2006-08-08 22:40:00.0
Blue Dart 3700-01203 2 2006-08-08 22:40:00.0 Blue Dart 3700-01203 2 2006-09-26 00:00:00.0

What i want to do:
I want to keep headers (App Flag Fab Name Material Number) and the content beneath this in the same page stagnant(not moving) and the rest of the header Action Transaction Date......many more are there to the right of the screen,but not put here) and the content below this as scrollable so that for the data Blue Dart 3700-01203 I can see all the contents to the right with a scrollbar whereas the main data Blue Dart 3700-01203 remains there itself.


Problem:
Since the data is in a <div> and the same table, i m not able to do this.
If u didnt understand my problem, please do mail me at sanjo.eapen@bcone.com or else give me ur email id, i ll contact u for the same..
thanks at the earliest.............

Thanks and Regards
Sanjo

tech_support
10-17-2006, 06:35 AM
You could try using frames.

sanjo
10-17-2006, 06:40 AM
Hi peter..
i knw that we can we frames.. but again, i thought there would be some CSS or HTML tag that may help...
Do u have any idea???

regards
Sanjo

tech_support
10-17-2006, 06:43 AM
Can you post your code? I'll edit it for you.

sanjo
10-17-2006, 07:03 AM
Can you give me ur email id.. i ll post it as an attachment...

tech_support
10-17-2006, 07:04 AM
Can you just post it here?

sanjo
10-17-2006, 07:05 AM
i cannot post more than 10000 characters.. my content is more than that...
thats the problem.. so if its a lot of trouble..

tech_support
10-17-2006, 07:07 AM
No, zip and upload as attachment.

sanjo
10-17-2006, 07:10 AM
i cant see an option like that pal.. can you guide me.. i saw an attachment column.. but i dont know how to attach..

tech_support
10-17-2006, 07:11 AM
Click Post Reply and scroll down near the end.

sanjo
10-17-2006, 07:32 AM
the code is attached in the zip file...

sanjo
10-17-2006, 07:33 AM
the issue is explained here!!!
hoe this helps.. let me know if there are any issues...

tech_support
10-17-2006, 07:34 AM
http://www.dhtmlgoodies.com/index.html?showDownload=true&whichScript=table_widget

sanjo
10-17-2006, 07:38 AM
please comment at the places wher u are going to add ur lines of code..

tech_support
10-17-2006, 07:39 AM
I didn't edit anything yet.

That link is exactly what your looking for (I think)

sanjo
10-17-2006, 07:43 AM
yes Peter.. this is one of the problems...

sanjo
10-17-2006, 07:45 AM
another thing is that, u went thru the doc..
there, the red colored circle should not be scrollable to the right.. it should stay there itself.. but the green colored circle should be scrollable to the right.. hope i m clear now..

sanjo
10-17-2006, 07:47 AM
This is beacuse, the user should be able to see that line items Fab code and Transaction date there itself against the rest of the data to the rught side of it..

tech_support
10-17-2006, 07:47 AM
yes Peter.. this is one of the problems...

Huh? What?

djr33
10-17-2006, 08:06 AM
wow. :o

sanjo
10-25-2006, 07:31 AM
hi Peter,

u there??
w.r.t to the link that u had send,
http://www.dhtmlgoodies.com/index.ht...t=table_widget
This is only for the header..

I also needed this same sort of thing for 2 line items horizontal vice also.
e.g: the name and age field also should come in horizontal fashion like the header(in vertical fashion)

Kindly give me ur suggestions..

Regards,
Sanjo

tech_support
11-15-2006, 06:12 AM
Hey Sanjo!

Sorry 'bout the really late reply. I completly forgot about this thread!

I think it's:

<thead></thead>

Put it in the table as your header and it'll work fine (I think)

tech_support
11-17-2006, 11:36 PM
Huh? :confused: