Connecting Tech Pros Worldwide Help | Site Map

Anybody had a go with the execCommands of IE?

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 16th, 2006, 06:05 PM
Laphan
Guest
 
Posts: n/a
Default Anybody had a go with the execCommands of IE?

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




 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.