JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 3rd, 2003, 09:27 AM
mark0 mark0 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 9 mark0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Building a WYSIWYG editor using iFrames

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

Reply With Quote
  #2  
Old February 4th, 2003, 09:40 AM
fff fff is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 fff User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
did you try..

setting a variable that execute the query to the db only when it is set to some value?

Reply With Quote
  #3  
Old February 6th, 2003, 12:10 PM
mark0 mark0 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 9 mark0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry New issue

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...

Reply With Quote
  #4  
Old February 8th, 2003, 03:42 AM
meth meth is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 8 meth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sounds like your using a physical word wrap in the textfield. Change / add the textfield attrib wrap="VIRTUAL"

Reply With Quote
  #5  
Old February 11th, 2003, 05:20 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
This happens when using an iFrame in edit mode.

Simply hit Shift + Enter for a new line, or Enter for a new paragraph.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Building a WYSIWYG editor using iFrames


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap