|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi,
I have just followed the following article which is based primarily around javascript: http://www.devarticles.com/art/1/90/1 This is a great article and got me up and running quickly. I have adapted it to write the contents of the iFrame to a dB, however, I need to try and stop the iFrames value being populated onLoad as each time I load the page it writes an unknown value to the database. Any ideas? Thanks in advance. Mark0 |
|
#2
|
|||
|
|||
|
did you try..
setting a variable that execute the query to the db only when it is set to some value?
|
|
#3
|
|||
|
|||
|
Thanks I have now sorted the dB issue.
I do have another question on this. When I insert text into the iFrame the space in between each line is very big, for example: ---------------- Line one Line two ---------------- what I want is: ---------------- Line one Line two ---------------- Even if I change the font type the space remains the same how can I adjust this? Thanks in advance... |
|
#4
|
|||
|
|||
|
sounds like your using a physical word wrap in the textfield. Change / add the textfield attrib wrap="VIRTUAL"
|
|
#5
|
||||
|
||||
|
This happens when using an iFrame in edit mode.
Simply hit Shift + Enter for a new line, or Enter for a new paragraph. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Building a WYSIWYG editor using iFrames |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|