Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/01/2005, 13:38
DeltaIdeas
 
Fecha de Ingreso: septiembre-2004
Mensajes: 80
Antigüedad: 19 años, 8 meses
Puntos: 0
pues asi no funciona. Este es el codigo completo que estoy utilizando:

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CamaraYAccion.com :: Insertar artículo</title>
<link href="../estilos/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="editor.js">

var elEditor;

function insertarnegrita()	{
	_insertar(elEditor, "*");
}

</script>
</head>

<body bgcolor="#000000" onload="elEditor = ini_editor(document.getElementById('texto'));">
<form action="enviar_boletin.php" method="post">
<table width="426" border="0" cellpadding="0" cellspacing="5">
  <tr>
    <td width="52" height="17" class="blanco">T&iacute;tulo</td>
    <td width="359"><input name="titulo" type="text" class="boton" id="titulo" size="50"></td>
  </tr>
  <tr>
    <td class="blanco">Autor</td>
    <td><input name="autor" type="text" class="boton" id="autor" size="50"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
	<img src="../images/negrita.gif" alt="Negrita" width="21" height="20" onClick="insertarnegrita()" />&nbsp;
</td>
  </tr>
  <tr>
    <td valign="top" class="blanco">Texto</td>
    <td><textarea name="texto" cols="50" rows="10" class="boton" id="texto"></textarea></td>
  </tr>
Si quereis ver las librerias lo podeis hacer en http://www.pepemolina.com/editor/editor.js

Espero que me podais ayudar.

Un saludo

Última edición por DeltaIdeas; 25/01/2005 a las 13:40