![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
I don't think you are going to get that sort of specific code spoon feeding.
You'll have to play with the DOM to get it to do what you specifically want to do. Start he http://msdn.microsoft.com/ie/iedev/default.aspx steve "Laphan" wrote in message ... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|