Hi

Would like to add a dropdown menu to my site where users can select the amount of columns and rows for inserting a table.
Should work similar to the table dropdown menu in libreoffice writer.
I know how to do the grabbing which cell has been clicked, this is already done with javascript.
What I need to know is:
How can I make it appear like on this screenshot?

I'm not sure if this is even possible, since it will have to work for any amount of rows and any amount of columns being selected (will be limited, but within the limits it has to work for any amount).
It's not a big problem if that is not possible, but it would be nice to have.
Thanks
This post was edited by tcl on Jun 26 2012 06:55pm