htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
TABLE?


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


sweac
New User

Aug 29, 2002, 8:34 AM

Post #1 of 4 (4297 views)
Shortcut
TABLE? Can't Post

  
Hi there,

Is there anyway you/i can implent a table function in HA, so that a user can place text/pictures easy without having html knowhow?

Regards,

Leif Bohlin
Sweden

(This post was edited by sweac on Aug 29, 2002, 9:57 AM)


ben
Novice

Aug 29, 2002, 9:39 AM

Post #2 of 4 (4295 views)
Shortcut
Re: [sweac] TABLE? [In reply to] Can't Post

Hi,
Until there is, you can get round it by copying and pasting a table drawn in MS Word or Wordpad into the htmlarea.

Ben.


sweac
New User

Aug 29, 2002, 9:55 AM

Post #3 of 4 (4293 views)
Shortcut
Re: [ben] TABLE? [In reply to] Can't Post

Hi Ben,



Yes, ive been doing so but would be very happy if there is an upgrade to this, because the others that use HA here have no IT knowhow at all and they feel it is with pain they do it .. =) ..

Regards,

Leif Bohlin
Sweden


Dave
Staff / Moderator


Aug 29, 2002, 11:42 AM

Post #4 of 4 (4282 views)
Shortcut
Re: [sweac] TABLE? [In reply to] Can't Post

Yep, it's possible. There's two ways to do it.

The easiest way to go about it, if all you want to do is insert tables, is to have a popup window that lets you specify the the rows and the cols, generate the code for your table based on that (with some for loops in javascript) and then call the editor_insertHTML function to insert your generated table HTML. Something like this:

var mytable;
// add code to build you table here
editor_insertHTML('box2',mytable); // insert table HTML at current cursor position

As an example, you can create a link that just calls the function like this to insert a simple table.

editor_insertHTML('box2','<table border=1><tr><td>hello</td></tr></table>');

If you want to be able to select the table and edit it's properties after it's been inserted it get's much trickier. We hope to add that on at some point though.

If you come up with anything interesting, please feel free to post it. :)

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)