Anybody had a go with the execCommands of IE?

L

Laphan

Hi All

Been having a go with the HTML editing features of the execCommands in IE
and wondered if anybody knew how to add tables and/or imagemapping?

The amazing thing is that once you add a table, I'm currently pasting HTML
of a table into my editing iframe you can expand it, shrink it, put things
it, etc, but to create a command that inserts it into the editor to start
with, using pre-defined params such as how many rows and many columns was a
nightmare.

Does anybody know how to manipulate the table once it's in the editor? For
example, if the user initially creates a table with 3 cols and 5 rows and
then wants to add another row to the table how would you do this? I can
appreciate that DOM would need to be used, but how do you identify which
table you are in?

As for image mapping I haven't got a clue where to start with this, so would
appreciate some help.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top