Jump to content

Innova editor!!! Issue in uploading pictures!!!!!


chanchelkumar

Recommended Posts

Hi friends,

 

This is the code for the innova editor!!!!,

I can't upload an image/flash video/video through this editor ....

 

Almost all other fuctions are working!!!

 

please help me!!!!

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="selecttraining.js"></script>
<script language=JavaScript src='../admin/editor/scripts/innovaeditor.js'></script>
</head>

<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<form action="../admin/training_insert.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <tr>
    <td>Description:         <input name="desc" type="text" id="desc" value=""></td>
  </tr>
  <tr>
    <td><textarea id="contents" name="contents" rows=10 cols=70></textarea>
    <script>
	var oEdit1 = new InnovaEditor("oEdit1");

	oEdit1.width=570;
	oEdit1.height=450;

	/***************************************************
		RECONFIGURE TOOLBAR BUTTONS
	***************************************************/

	oEdit1.features=["Save","FullScreen","Preview","Print",
		"Search","SpellCheck","|",
		"Superscript","Subscript","|","LTR","RTL","|",
		"Table","Guidelines","Absolute","|",
		"Flash","Media","|","InternalLink","CustomObject","|",
		"Form","Characters","ClearAll","XHTMLFullSource","XHTMLSource","BRK",		
		"Cut","Copy","Paste","PasteWord","PasteText","|",
		"Undo","Redo","|","Hyperlink","Bookmark","Image","|",
		"JustifyLeft","JustifyCenter","JustifyRight","JustifyFull","|",
		"Numbering","Bullets","|","Indent","Outdent","|",
		"Line","RemoveFormat","BRK",
		"StyleAndFormatting","TextFormatting","ListFormatting",
		"BoxFormatting","ParagraphFormatting","CssText","Styles","|",
		"Paragraph","FontName","FontSize","|",
		"Bold","Italic","Underline","Strikethrough","|",
		"ForeColor","BackColor","|",			
		"CustomName1","CustomName2","CustomName3"];// => Custom Button Placement


	/***************************************************
		OTHER SETTINGS
	***************************************************/
	oEdit1.css="style/test.css";//Specify external css file here

	oEdit1.cmdAssetManager = "modalDialogShow('../../../editor/assetmanager/assetmanager.php',640,465)"; //Command to open the Asset Manager add-on.
	oEdit1.cmdInternalLink = "modelessDialogShow('links.htm',365,270)"; //Command to open your custom link lookup page.
	oEdit1.cmdCustomObject = "modelessDialogShow('objects.htm',365,270)"; //Command to open your custom content lookup page.

	oEdit1.customColors=["#ff4500","#ffa500","#808000","#4682b4","#1e90ff","#9400d3","#ff1493","#a9a9a9"];//predefined custom colors

	oEdit1.mode="XHTMLBody"; //Editing mode. Possible values: "HTMLBody" (default), "XHTMLBody", "HTML", "XHTML"

	oEdit1.REPLACE("contents");
</script></td>
  </tr>
  <tr>
    <td align="center"><input onclick="clear_off()" type="submit" name="Submit" value="Submit"></td>
  </tr>
  </form>
</table>
</body>
</html>

 

Thanks in advance!!!!

uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMNSHTMLDocument.execCommand]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: http://www.alexyui.com/sample_worx/infobusiness/admin/editor/scripts/moz/image.htm :: doInsert :: line 236"  data: no]

Line 0

 

 

m getting this as error in firefox error console...

while trying to upload a picture!!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.