A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Express Email Newsgroup » Outlook Express
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Anybody had a go with the execCommands of IE?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 12th 06, 04:14 PM posted to microsoft.public.windows.inetexplorer.ie6.browser,microsoft.public.windows.inetexplorer.ie6_outlookexpress
Laphan
external usenet poster
 
Posts: 2
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



  #2  
Old August 15th 06, 10:53 AM posted to microsoft.public.windows.inetexplorer.ie6.browser,microsoft.public.windows.inetexplorer.ie6_outlookexpress
Steve Cochran
external usenet poster
 
Posts: 2,353
Default Anybody had a go with the execCommands of IE?

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
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.