From: DL on
On Apr 8, 9:06 pm, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
wrote:
> Le 4/8/10 11:47 PM, DL a écrit :
>
>
>
> > I was a bit too happy too early, IE8 (IE7 mode under IE8 installation)
> > does not like it, bullet list goes out of the iframe...
>
> what there is in this iframe ?
>
> and if you would show your work ?
> give an url where that page can be seen
>
> --
> sm

http://www.knowledgenotebook.com/images/new_entry_screen1.png
http://www.knowledgenotebook.com/images/new_entry_screen2.png

I may have another solution though... do you think what I think?
From: SAM on
Le 4/9/10 5:26 AM, DL a �crit :
> On Apr 8, 9:06 pm, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
> wrote:
>>
>> and if you would show your work ?
>> give an url where that page can be seen
>
> http://www.knowledgenotebook.com/images/new_entry_screen1.png
> http://www.knowledgenotebook.com/images/new_entry_screen2.png


we well see the problem but ...
I would have preferred to see the html page itself
ie. to understand how this editor works and what can cause this phenomenon

> I may have another solution though... do you think what I think?

it seems that the iframe disappears and the editing is done outside of it.
Without the code my cristal ball doesn't give me the solution

--
sm
From: DL on
On Apr 9, 3:37 am, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
wrote:
> Le 4/9/10 5:26 AM, DL a écrit :
>
> > On Apr 8, 9:06 pm, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
> > wrote:
>
> >> and if you would show your work ?
> >> give an url where that page can be seen
>
> >http://www.knowledgenotebook.com/images/new_entry_screen1.png
> >http://www.knowledgenotebook.com/images/new_entry_screen2.png
>
> we well see the problem but ...
> I would have preferred to see the html page itself
> ie. to understand how this editor works and what can cause this phenomenon
>
> > I may have another solution though... do you think what I think?
>
> it seems that the iframe disappears and the editing is done outside of it..
> Without the code my cristal ball doesn't give me the solution
>
> --
> sm


....
<img onclick="var x =
frames['textbox1'].document.selection.createRange();x.execCommand('InsertOrderedList');x.select();"
src="icons/list_ordered.gif" style="valign:bottom;width:25;height:
20" />

<input type="button" id="MakeBold" accesskey="B" onclick="var l =
frames['textbox1'].document.selection.createRange();l.execCommand('Bold');l..select();"
value="B" style="background-image:url('icons/bold.gif');width:
25;height:23" />

<iframe

id="textbox1" name="textbox1" onload="document.frames

['textbox1'].document.designMode='on';" contenteditable="true"

tabindex="2"></iframe><br/>
....


I thought I've found the culprit, that is, the bullet list element, I
use image tag instead of input, so, I changed it to

<input type="image" onclick="var x =
frames['textbox1'].document.selection.createRange
();x.execCommand('InsertOrderedList');x.select();" src="icons/
list_ordered.gif"
style="valign:bottom;width:25;height:20" />

but still to no avail.

The complete set of rendered HTML code is very messy.

Thanks.

First  |  Prev  | 
Pages: 1 2 3 4 5
Prev: Firefox Object bug
Next: innerHTML (was: IE9.js)