Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Re: IFRAME--Content Editor


Message #1 by "MMaster23" <mmaster23@h...> on Sat, 10 Aug 2002 09:34:42
> Hi,

> I have iframe and when i hit enter in it, it goes 2 places down like <p> 
t> ag and not the <br>. however, when I hit shift+enter then it will go 
one 
p> lace down only and insert<br> instead of <p> if i see the result in 
HTML 
V> iew. Is there a way i can change iframe's behaviour.

I think your using frontpage or another fancy editor .... enter = <p> 
shift enter = <br>

> Secondly, i need to know how we can stop users from using like ctrl+b to 
b> old the text etc... Is there a way in javascript to do that. All the 
help 
w> ill be really appreciated.

Maybe by a onkeypressed???

> Thanks

> Amardeep Kanwar

  Return to Index