
13/05/2009, 16:54
|
| | Fecha de Ingreso: mayo-2009 Ubicación: DF
Mensajes: 39
Antigüedad: 15 años, 10 meses Puntos: 2 | |
Respuesta: firefox si > IE no Te recomiendo hacerlo con Mootools
Puedes checar los navegadores:
* Browser.Engine.trident - (boolean) True if the current browser uses the trident engine (e.g. Internet Explorer).
* Browser.Engine.gecko - (boolean) True if the current browser uses the gecko engine (e.g. Firefox, or any Mozilla Browser).
* Browser.Engine.webkit - (boolean) True if the current browser uses the webkit engine (e.g. Safari, Google Chrome, Konqueror).
* Browser.Engine.presto - (boolean) True if the current browser uses the presto engine (e.g. Opera 9).
* Browser.Engine.name - (string) The name of the engine.
* Browser.Engine.version - (number) The version of the engine. (e.g. 950)
* Browser.Plugins.Flash.version - (number) The major version of the flash plugin installed.
* Browser.Plugins.Flash.build - (number) The build version of the flash plugin installed.
Y si tienen explorer puedes redirigirlos a otro sitio asi
window.location = 'w w w . d o m i n i o . c o m'
A fin de cuentas seria un codigo asi:
if (Browser.Engine.trident){
window.location = 'h t t p://w w w . d o m i n i o . c o m /alternativa.html';
}
No olvides incluir la libreria de mootools core al inicio de tu pagina |