surrey_sailor 0 Newbie Poster

Hi,

I am a newbie with js so I hope that someone can help me please.

I want to make a table with resizable columns. The code here seems to almost do what I want.

http://bz.var.ru/comp/web/resizable-tables.js

I have commented out the two lines below so that the columns that are not resized retain their previous width, which I how I want it.

//if (dragColumns[no+1])
//	dragColumns[no+1].style.width = parseInt(dragColumns[no+1].style.width) - w + 'px';

What I want to do now is to be able to resize the columns so that they are wider than the existing page and so that I get a horizontal scroll bar.

Any hints will be appreciated.

Thanks

Ian

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.