Foros del Web » Programación para mayores de 30 ;) » .NET »

FreeTextBox y Explorer 8

Estas en el tema de FreeTextBox y Explorer 8 en el foro de .NET en Foros del Web. Hola En el backoffice de la aplicación utiliza freetextbox como editor de HTML en algunos sitios. Y al hacer el cambio de explorer 7 a ...
  #1 (permalink)  
Antiguo 04/06/2009, 01:38
 
Fecha de Ingreso: febrero-2007
Mensajes: 172
Antigüedad: 17 años, 2 meses
Puntos: 0
FreeTextBox y Explorer 8

Hola
En el backoffice de la aplicación utiliza freetextbox como editor de HTML en algunos sitios.
Y al hacer el cambio de explorer 7 a 8 ha desaparecido la barra de controles.No entiendo por que.
Le ha pasado a alguien mas?Como puedo solucionarlo?
  #2 (permalink)  
Antiguo 04/06/2009, 07:30
 
Fecha de Ingreso: septiembre-2008
Mensajes: 23
Antigüedad: 15 años, 7 meses
Puntos: 0
Respuesta: FreeTextBox y Explorer 8

yo tenia el mismo problema y lo solucione con este post

How to turn on Internet Explorer 8 support:
this change was tested with IETester (IE8 beta2). currenly found issues:
1) justify full shows up as a black square (can be fixed by editing the file of the justify center and making it look like justify full
2) the smileys have a thick black outline (looks like the same issue as 1) if you remove 1px of black around the smiley images then it will look good in IE8 but the line will be too thin for the other browsers, so this still needs some fixing (either to have two pic versions and more source changes or something clever with the pics that will work for all).

if anybody tries this hack out please let me know if you find a way to fix item 2 and if you find some new bugs with using the current FTB with IE8

you need to edit the following files:

FTB-Utility.js
find the function FTB_BrowserDetect() and change it to be (the changes are bolded.):
function FTB_BrowserDetect() {
doc=window.document;
navVersion=navigator.appVersion.toLowerCase();
this.ie4=(!doc.getElementById&&doc.all)?true:false ;
this.ie5=(navVersion.indexOf("msie 5.0")!=-1)?true:false;
this.ie55=(navVersion.indexOf("msie 5.5")!=-1)?true:false;
this.ie6=(navVersion.indexOf("msie 6.0")!=-1)?true:false;
this.ie7=(navVersion.indexOf("msie 7.0")!=-1)?true:false;
this.ie8=(navVersion.indexOf("msie 8.0")!=-1)?true:false;
this.isIE=(this.ie5||this.ie55||this.ie6||this.ie7 ||this.ie8)?true:false;
this.isGecko=!this.isIE;
};

BrowserInfo.cs
find the function public static BrowserInfo GetBrowserInfo(HttpContext context) and change the following line to be (the changes are bolded.):
browserInfo.isIE5plus = ((userAgent.IndexOf("MSIE 5") > 0 || userAgent.IndexOf("MSIE 6") > 0 || userAgent.IndexOf("MSIE 7") > 0 || userAgent.IndexOf("MSIE 8") > 0) && !browserInfo.isOpera && !browserInfo.isPalm) ? true : false;



o descarga la ultima vercion
  #3 (permalink)  
Antiguo 04/06/2009, 08:28
 
Fecha de Ingreso: febrero-2007
Mensajes: 172
Antigüedad: 17 años, 2 meses
Puntos: 0
Respuesta: FreeTextBox y Explorer 8

El primer cambio ya lo he hecho
Ahora pregunta de novato,donde encuentro el BrowserInfo.cs?
Que estoy haciendo busquedas y no lo encuentro
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:10.