codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Help with WYSIWYG editor  sherbir at 06:31 on Saturday, July 03, 2004
 

Hi experts,
Me new to CodeToad but not 2 Javascript.

I have designed a WYSIWYG editor using iframe and the execCommand and JavaScript.

I am calling an HTML file into the iframe.

Now my problem is that when I select a particular line to align left,right or center , the whole text in the iframe is aligned.

I am using simply the command execCommand('JustifyLeft');

Is there any possibility to align only the selected text or word ? I cannot figure it out.

Plz help. Any help would be gratefully appreciated.

Thanx in advance







CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  How to open a .DOC file in MS-Word thru a link
•  Export database`s data into a CSV file in jspscript.....
•  Adding values to text field from popup - JavaScript
•  How to insert Javascript within Javascript ?
•  Event Close Browser botton
•  setting alphanumeric code
•  syntax error in insert statement .please help me solve it
•  Re: need code to export html report to excel and autosave with current date as filenaem
•  Re: DHTML drop down menu


Recent Articles
Simple Thumbnail Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)
Function to Return Alpha Characters Only
The OSI Reference Model - A Clear and Concise Illustration !


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2004