FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

Freetext box not working in Firefox inside a div tag with display style: none;

Last post 05-24-2008, 11:30 AM by pums. 2 replies.
Sort Posts: Previous Next
  •  04-17-2008, 1:23 AM 9085

    Freetext box not working in Firefox inside a div tag with display style: none;

    Hello, I am using FreeTextBox inside a <div> tag with style="display: none;", this will hide the  FreeTextBox along with the div tag. By using JavaScript, I can change the <div> tag style="display: block;" to show the textbox. This will happen in RunTime. Its working well in IE. But in forefox, it throws exception as component returned failure code: 0x80040111

    Could anyone help me on this problem.

    Thanks in advance.

  •  05-22-2008, 1:17 PM 9173 in reply to 9085

    Re: Freetext box not working in Firefox inside a div tag with display style: none;

    Hey, did you find a solution to this by chance?

    I made some javascript that actually makes it invisible if firefox (and both invisible and display:none if IE), but that of course leaves a lot of blank space where the text box used to be. 

    Best,

    Michael

  •  05-24-2008, 11:30 AM 9178 in reply to 9173

    Re: Freetext box not working in Firefox inside a div tag with display style: none;

    Hi,

    Try making the div visible but with width / height 0px and overflow hidden. Then when you want to display the FTB set the div to display: inline.

    When you next want to hide the FTB you now be able to use the display:none without any problems.

    Seems to be working ok for me in both IE6 & FF

    Ian

View as RSS news feed in XML
www.freetextbox.com