Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Hardware>>contentEditable in Gecko

contentEditable in Gecko

encoded
02-04-2005, 11:13 AM
Having sorted the save/restore of the caret position, now I'm facing another problem. I can't enable edit mode for the div in Firefox. Even though contentEditable should be supported, and I've seen it working on other sites, I can't get it to work.

This is the page:

http://www.softcontest.com/sharpspell/asutype.aspx

As you can see, the contentEditable attribute is set to 'true' for the div, but it's not editable in Firefox... what am I doing wrong?

jkd
02-04-2005, 03:36 PM
This is not DOM scripting. Moving to the Javascript forum. Also, last I checked Gecko didn't support contentEditable, it supported designMode (for instance, on an iframe).

encoded
02-04-2005, 04:28 PM
It should support contentEditable... see http://mozile.mozdev.org/

jkd
02-04-2005, 08:23 PM
Mozile appears to use the designMode property, not the contentEditable property. Here are some specs on it:
http://www.mozilla.org/editor/midas-spec.html


 

TOP

For more info

setting a minimum size
Auto Preview of Image 
Refresh with a query s
JS Validation obsolete
Javascript Pop up func
Slide show transitions
I'm a newbie...please!
how to write coding in
Advanced Debug Info 
.js file doesn't work 

News Archive

Adding Graphic To Text
re-direct form after s
pop up window controls
Clock on homepage - He
passing a param from a
Password Procection wi
document.title in same
focus onload 
Counting Wrong from Ri
Help needed on how to 

Related stories:

window.open By Using onClick in <option> tag?
Problems with insertbefore method
Combine Hightlight with Add and Delete Selected Row
Change background for different resoloutions?
Document.getElementById() has no properties
Add and delete rows dynamically to an HTML table .... ?
script does not work on Mozilla FIrefox when doctype is on the html code
smart menu

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics