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:
htmlarea 2.03 issue


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.

 


lelepa
New User

Nov 18, 2004, 8:19 AM

Post #1 of 2 (2605 views)
Shortcut
htmlarea 2.03 issue Can't Post

I used htmlarea in smoe pages and it works.

Now I tried to use it in a textarea form ('allenamento' variable) to add data but it doesn't work. Anyone can help me ?

Here's the asp page on line: http://www.swimmingonline.net/workout_db/add.asp

This the page lines:

<html>
<head>
<title>Gestione archivio allenamenti - inserimento</title>

<META NAME =robots CONTENT="noindex">

<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = ""; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>


</head>
<body>
<p align="center"><font face="Verdana" size="3"><b>GESTIONE ARCHIVIO ALLENAMENTI</b></font></p>
<div align="center">
<form method="post" action="add-process.asp">

<table border="0" cellpadding="4" bgcolor="#000000" cellspacing="0">
<tr>
<td bgcolor="#FFFFCC" valign="top" align="center">
<p align="right">
<font size="2" face="Verdana">richiedente <input name="richiedente" size="40"></font>
</td>
</tr>
<tr>
<td bgcolor="#FFFFCC" valign="top" align="center">
<p align="right">
<font size="2" face="Verdana">nome allenamento
<input name="titolo" size="40"></font></p>
</td>
</tr>
<tr>
<td bgcolor="#FFFFCC" valign="top" align="center">
<p align="right"><font size="2" face="Verdana">attivo per web ? (si / no ) <input name="attivo" size="40"></font></td>
</tr>
<center>
<tr>
<td bgcolor="#FFFFCC" valign="top" align="center">
<p align="center">&nbsp;
<p align="center"><font face="Verdana" size="2">allenamento<br>
<textarea rows="10" name="allenamento" cols="70"></textarea>

<script language="JavaScript1.2" defer>
var config = new Object(); // create new config object

config.width = "650px";
config.height = "200px";
config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
config.debug = 0;

// Add additional editor config settings here...

editor_generate('allenamento',config);
</script>



</font>

</td>
</tr>

</center>
<center>
<tr>
<td bgcolor="#FFFFCC" valign="top" align="center">
<p align="center"><font face="Verdana" size="2"><input type="submit" name="Submit" value="inserisci"></font></p>
</td>
</tr>
</table>
</form>
</center>
</div>


</body>
</html>


Luis
Veteran

Nov 18, 2004, 11:26 AM

Post #2 of 2 (2574 views)
Shortcut
Re: [lelepa] htmlarea 2.03 issue [In reply to] Can't Post

Hi lelepa:

First.- Your page has HTML problems:

1.- All <p> tags must be closed.

2.- You have a <center> page out of place.

3.- You have a </div> that doesn't match an opening tag.

Second.- Move the script

<script language="JavaScript1.2" defer>
var config = new Object(); // create new config object

config.width = "650px";
config.height = "200px";
config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
config.debug = 0;

// Add additional editor config settings here...

editor_generate('allenamento',config);
</script>


after the closing </form> tag. and try taking out the defer statement.


Don't give up!!
http://webstationone.com/test/htmlarea

 
 
 


Search for (options)