Foro
|
Bienvenido,
Invitado
|
|
|
Estoy terminando la web de un cliente y yo la visualizo perfectamente. El tiene una versión de Explorer vieja y la ve mal Aca imagen Cuando deberia verse como se ve Aqui Le sugerí que updateara el explorer, pero dijo que mucha gente lo debe tener viejo como el y quiere que se le vea bien ahi... Pregunta... hay algun codigo para poner y que se le vea bien en su explorador?? Gracias de Antemano ! |
|
|
|
|
Hola.
Se supone que el que sea compatible en todos los navegadores lo debería de comprobar el creador de la plantilla. Prueba a añadir esto en el index.php de tu plantilla, justo antes del </head> <!--[if lte IE 7]> |
|
|
Los siguientes usuarios han agradecido: baronboedo
|
|
Gracias x la respuesta joni... te cuento que agregue el codigo en el index.php de la plantilla, como yo no tengo exploradores viejo use ipinfo.info/netrenderer/index.php que es un emulador...
pero se me sigue viendo igual, mal en e6 y e7. si se te ocurre otra cosa estoy a la espectativa. Edit: Descubri que hay un problema. Cuando baje para editar el Index de la plantilla vi esto: <?php /*------------------------------------------------------------------------ # JA Opal for Joomla 1.5 - Version 1.0 - Licence Owner JA108425 # ------------------------------------------------------------------------ # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved. # @license - Copyrighted Commercial Software # Author: J.O.O.M Solutions Co., Ltd # Websites: www.joomlart.com - www.joomlancers.com # This file may not be redistributed in whole or significant part. -------------------------------------------------------------------------*/ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); include_once (dirname(__FILE__).DS.'ja_vars_1.5.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"> <head> <jdoc:include type="head" /> <?php JHTML::_('behavior.mootools'); ?> <link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" /> <script language="javascript" type="text/javascript"> var siteurl = '<?php echo $tmpTools->baseurl();?>'; var tmplurl = '<?php echo $tmpTools->templateurl();?>'; </script> <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script> <!-- js for dragdrop --> <!-- Menu head --> <?php if ($jamenu) $jamenu->genMenuHead(); ?> <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>.css" rel="stylesheet" type="text/css" /> <!--[if lte IE 6]> <style type="text/css"> img {border: none;} <?php if ($iebgpng) : ?> #ja-bdbg { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $tmpTools->templateurl();?>/images/background/<?php echo $bgimg;?>', sizingMethod='image'); } body { background-image: none!important; } <?php endif; ?> </style> <![endif]--> <?php if ($tmpTools->isIE()) { ?> <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie.php" rel="stylesheet" type="text/css" /> <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>-ie.php" rel="stylesheet" type="text/css" /> <!--[if lte IE 6]> <script type="text/javascript"> window.addEvent ('load', makeTransBG); function makeTransBG() { makeTransBg($$('img')); } </script> <![endif]--> <?php } ?> <?php $mainbg = ''; if ($tmpTools->getParam('ja_bgimg')) { $mainbg = 'class="ja-mainbg"'; } ?> </head> <body id="bd" class="<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>"<?php //echo $bodybg;?>> <div id="ja-wrapper" <?php echo $mainbg;?>> <a name="Top" id="Top"></a> <?php if ($iebgpng) : ?> <div id="ja-bdbgwrap" class="wrap"> <div id="ja-bdbg"></div> </div> <?php endif; ?> <!-- HEADER --> <div id="ja-header" class="wrap"> <div class="main clearfix"> <?php $siteName = $tmpTools->sitename(); if ($tmpTools->getParam('logoType')=='image') { ?> <h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a> </h1> <?php } else { $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText'); $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?> <div class="logo-text"> <p class="site-slogan"><?php echo $sloganText;?></p> <h1> <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a> </h1> </div> <?php } ?> <?php if ( $this->countModules('banner') ) { ?> <div id="ja-banner"> <jdoc:include type="modules" name="banner" style="raw" /> </div> <?php } ?> </div> </div> <!-- //HEADER --> <!-- MAIN NAVIGATION --> <div id="ja-mainnav" class="wrap"> <div class="main"> <div class="inner clearfix"> <ul class="no-display"> <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li> </ul> <?php if ($jamenu) $jamenu->genMenu (0); ?> <?php if($this->countModules('ja-login')) : ?> <div id="ja-headtools" class="ja-headtool"> <ul> <jdoc:include type="modules" name="ja-login" /> </ul> </div> <?php endif; ?> </div> </div> </div> <!-- //MAIN NAVIGATION --> <?php if ($this->countModules('ja-slideshow') && $this->countModules('user5') ) { ?> <!-- TOP SPOTLIGHT --> <div id="ja-topsl" class="wrap"> <div class="main"> <div class="inner clearfix"> <div id="ja-slideshow"> <jdoc:include type="modules" name="ja-slideshow" style="raw" /> </div> <div id="ja-hl"> <jdoc:include type="modules" name="user5" style="jamodule" /> </div> </div> </div> </div> <!-- //TOP SPOTLIGHT --> <?php } ?> <div id="ja-container<?php echo $divid; ?>" class="wrap clearfix"> <div class="main"><div class="inner clearfix"> <!-- CONTENT --> <div id="ja-mainbody"> <jdoc:include type="message" /> <div id="ja-current-content" class="clearfix"> <jdoc:include type="component" /> </div> <?php if ( $this->countModules('ja-news') ) { ?> <!-- JA NEWS --> <div id="ja-news"> <jdoc:include type="modules" name="ja-news" style="jamodule" /> </div> <!-- //JA NEWS --> <?php } ?> <?php if ($this->countModules('ja-contentslide') ) { ?> <!-- JA CONTENT SLIDER --> <div id="ja-cs"> <div class="clearfix"> <jdoc:include type="modules" name="ja-contentslide" style="jamodule" /> </div> </div> <!-- //JA CONTENT SLIDER --> <?php } ?> </div> <!-- //CONTENT --> <?php if ( $ja_left || $ja_right ) { ?> <!-- RIGHT COLUMN --> <div id="ja-colwrap"> <div class="ja-innerpad"> <?php if ($hasSubnav) : ?> <div id="ja-subnav" class="moduletable_menu"> <h3 class="clearfix"><span class="right-bg clearfix"><span class="left-bg">On this page</span></span></h3> <div class="ja-boxct-wrap"><div class="ja-box-ct"> <?php if ($jamenu) $jamenu->genMenu (1,1); ?> </div></div> </div> <?php endif; ?> <jdoc:include type="modules" name="left" style="jamodule" /> <jdoc:include type="modules" name="right" style="jamodule" /> </div></div><br /> <!-- //RIGHT COLUMN --> <?php } ?> </div></div> </div> <?php $spotlight = array ('user1','user2','user7','user8'); $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.5); if( $botsl ) { ?> <!-- BOTTOM SPOTLIGHT--> <div id="ja-botsl" class="wrap"> <div class="main clearfix"> <?php if( $this->countModules('user1') ) {?> <div class="ja-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;"> <jdoc:include type="modules" name="user1" style="jamodule" /> </div> <?php } ?> <?php if( $this->countModules('user2') ) {?> <div class="ja-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;"> <jdoc:include type="modules" name="user2" style="jamodule" /> </div> <?php } ?> <?php if( $this->countModules('user7') ) {?> <div class="ja-box<?php echo $botsl['user7']['class']; ?>" style="width: <?php echo $botsl['user7']['width']; ?>;"> <jdoc:include type="modules" name="user7" style="jamodule" /> </div> <?php } ?> <?php if( $this->countModules('user8') ) {?> <div class="ja-box<?php echo $botsl['user8']['class']; ?>" style="width: <?php echo $botsl['user8']['width']; ?>;"> <jdoc:include type="modules" name="user8" style="jamodule" /> </div> <?php } ?> </div></div> <!-- //BOTTOM SPOTLIGHT 2 --> <?php } ?> <jdoc:include type="modules" name="debug" /> <script type="text/javascript"> //addSpanToTitle(); //jaAddFirstItemToTopmenu(); //jaRemoveLastContentSeparator(); //jaRemoveLastTrBg(); //moveReadmore(); //addIEHover(); //slideshowOnWalk (); //apply png ie6 main background </script> </div> </body> </html> Cuando voy a la carpera de la plantilla descomprimida de mi Pc donde esta el Template y abro el index veo esto: <?php /*------------------------------------------------------------------------ # JA Opal for Joomla 1.5 - Version 1.0 - Licence Owner JA108425 # ------------------------------------------------------------------------ # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved. # @license - Copyrighted Commercial Software # Author: J.O.O.M Solutions Co., Ltd # Websites: www.joomlart.com - www.joomlancers.com # This file may not be redistributed in whole or significant part. -------------------------------------------------------------------------*/ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); include_once (dirname(__FILE__).DS.'ja_vars_1.5.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"> <head> <jdoc:include type="head" /> <?php JHTML::_('behavior.mootools'); ?> <link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" /> <script language="javascript" type="text/javascript"> var siteurl = '<?php echo $tmpTools->baseurl();?>'; var tmplurl = '<?php echo $tmpTools->templateurl();?>'; </script> <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script> <!-- js for dragdrop --> <!-- Menu head --> <?php if ($jamenu) $jamenu->genMenuHead(); ?> <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>.css" rel="stylesheet" type="text/css" /> <!--[if lte IE 6]> <style type="text/css"> img {border: none;} <?php if ($iebgpng) : ?> #ja-bdbg { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $tmpTools->templateurl();?>/images/background/<?php echo $bgimg;?>', sizingMethod='image'); } body { background-image: none!important; } <?php endif; ?> </style> <![endif]--> <?php if ($tmpTools->isIE()) { ?> <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie.php" rel="stylesheet" type="text/css" /> <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>-ie.php" rel="stylesheet" type="text/css" /> <!--[if lte IE 6]> <script type="text/javascript"> window.addEvent ('load', makeTransBG); function makeTransBG() { makeTransBg($$('img')); } </script> <![endif]--> <?php } ?> <?php $mainbg = ''; if ($tmpTools->getParam('ja_bgimg')) { $mainbg = 'class="ja-mainbg"'; } ?> </head> <body id="bd" class="<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>"<?php //echo $bodybg;?>> <div id="ja-wrapper" <?php echo $mainbg;?>> <a name="Top" id="Top"></a> <?php if ($iebgpng) : ?> <div id="ja-bdbgwrap" class="wrap"> <div id="ja-bdbg"></div> </div> <?php endif; ?> <!-- HEADER --> <div id="ja-header" class="wrap"> <div class="main clearfix"> <?php $siteName = $tmpTools->sitename(); if ($tmpTools->getParam('logoType')=='image') { ?> <h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a> </h1> <?php } else { $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText'); $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?> <div class="logo-text"> <p class="site-slogan"><?php echo $sloganText;?></p> <h1> <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a> </h1> </div> <?php } ?> <?php if ( $this->countModules('banner') ) { ?> <div id="ja-banner"> <jdoc:include type="modules" name="banner" style="raw" /> </div> <?php } ?> </div> </div> <!-- //HEADER --> <!-- MAIN NAVIGATION --> <div id="ja-mainnav" class="wrap"> <div class="main"> <div class="inner clearfix"> <ul class="no-display"> <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li> </ul> <?php if ($jamenu) $jamenu->genMenu (0); ?> <?php if($this->countModules('ja-login')) : ?> <div id="ja-headtools" class="ja-headtool"> <ul> <jdoc:include type="modules" name="ja-login" /> </ul> </div> <?php endif; ?> </div> </div> </div> <!-- //MAIN NAVIGATION --> <?php if ($this->countModules('ja-slideshow') && $this->countModules('user5') ) { ?> <!-- TOP SPOTLIGHT --> <div id="ja-topsl" class="wrap"> <div class="main"> <div class="inner clearfix"> <div id="ja-slideshow"> <jdoc:include type="modules" name="ja-slideshow" style="raw" /> </div> <div id="ja-hl"> <jdoc:include type="modules" name="user5" style="jamodule" /> </div> </div> </div> </div> <!-- //TOP SPOTLIGHT --> <?php } ?> <!-- PATHWAY --> <div id="ja-pathway" class="wrap"> <div class="main"> <div class="inner clearfix"> <div class="ja-pathway-text"> <strong>You are here:</strong><jdoc:include type="module" name="breadcrumbs" /> </div> <?php if ($this->countModules('user4')) { ?> <div id="ja-search"> <jdoc:include type="modules" name="user4" style="raw" /> </div> <?php } ?> </div> </div> </div> <!-- //PATHWAY --> <div id="ja-container<?php echo $divid; ?>" class="wrap clearfix"> <div class="main"><div class="inner clearfix"> <!-- CONTENT --> <div id="ja-mainbody"> <jdoc:include type="message" /> <div id="ja-current-content" class="clearfix"> <jdoc:include type="component" /> </div> <?php if ( $this->countModules('ja-news') ) { ?> <!-- JA NEWS --> <div id="ja-news"> <jdoc:include type="modules" name="ja-news" style="jamodule" /> </div> <!-- //JA NEWS --> <?php } ?> <?php if ($this->countModules('ja-contentslide') ) { ?> <!-- JA CONTENT SLIDER --> <div id="ja-cs"> <div class="clearfix"> <jdoc:include type="modules" name="ja-contentslide" style="jamodule" /> </div> </div> <!-- //JA CONTENT SLIDER --> <?php } ?> </div> <!-- //CONTENT --> <?php if ( $ja_left || $ja_right ) { ?> <!-- RIGHT COLUMN --> <div id="ja-colwrap"> <div class="ja-innerpad"> <?php if ($hasSubnav) : ?> <div id="ja-subnav" class="moduletable_menu"> <h3 class="clearfix"><span class="right-bg clearfix"><span class="left-bg">On this page</span></span></h3> <div class="ja-boxct-wrap"><div class="ja-box-ct"> <?php if ($jamenu) $jamenu->genMenu (1,1); ?> </div></div> </div> <?php endif; ?> <jdoc:include type="modules" name="left" style="jamodule" /> <jdoc:include type="modules" name="right" style="jamodule" /> </div></div><br /> <!-- //RIGHT COLUMN --> <?php } ?> </div></div> </div> <?php $spotlight = array ('user1','user2','user7','user8'); $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.5); if( $botsl ) { ?> <!-- BOTTOM SPOTLIGHT--> <div id="ja-botsl" class="wrap"> <div class="main clearfix"> <?php if( $this->countModules('user1') ) {?> <div class="ja-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;"> <jdoc:include type="modules" name="user1" style="jamodule" /> </div> <?php } ?> <?php if( $this->countModules('user2') ) {?> <div class="ja-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;"> <jdoc:include type="modules" name="user2" style="jamodule" /> </div> <?php } ?> <?php if( $this->countModules('user7') ) {?> <div class="ja-box<?php echo $botsl['user7']['class']; ?>" style="width: <?php echo $botsl['user7']['width']; ?>;"> <jdoc:include type="modules" name="user7" style="jamodule" /> </div> <?php } ?> <?php if( $this->countModules('user8') ) {?> <div class="ja-box<?php echo $botsl['user8']['class']; ?>" style="width: <?php echo $botsl['user8']['width']; ?>;"> <jdoc:include type="modules" name="user8" style="jamodule" /> </div> <?php } ?> </div></div> <!-- //BOTTOM SPOTLIGHT 2 --> <?php } ?> <!-- FOOTER --> <div id="ja-footer" class="wrap"> <div class="main clearfix"> <jdoc:include type="modules" name="user3" /> <jdoc:include type="modules" name="footer" /> </div> </div> <!-- //FOOTER --> <jdoc:include type="modules" name="debug" /> <script type="text/javascript"> //addSpanToTitle(); //jaAddFirstItemToTopmenu(); //jaRemoveLastContentSeparator(); //jaRemoveLastTrBg(); //moveReadmore(); //addIEHover(); //slideshowOnWalk (); //apply png ie6 main background </script> </div> </body> </html> Quize reemplazar el que tengo en el sitio x este ultimo y no me deja ingresar a la web, me da un error de "Restricted access" espero sirva para resolver el problema EDIT 2: Ya lo logre reemplazar, pero el problema persiste, aun poniendo el codigo que me diste... Hay otras opciones? x ejemplo achicar todo el template? |
|
|
Última Edición: hace 1 año, 6 meses Por baronboedo.
|
|
Lo que ha pasado con el archivo es que se han perdido los saltos de línea al ser codificado para una cosa (por ejemplo mac) y leído desde otra (unix)
La barra esa de 'You are here' no se veía cuando estuve haciendo las pruebas. El código tienes que ponerlo antes de '</head>' no antes de '<head>' Lo he probado en IE6, IE7 e IE8 y se ve bien en todas. Borra la caché y prueba aquí: www.jonijnm.es/all/tmp/a.html |
|
|
Los siguientes usuarios han agradecido: baronboedo
|
|
SOs un grossso Joni! gracias gracias mil gracias! anduvo 10 puntos!
|
|
|
|
|
|
|
Última Edición: hace 1 año, 6 meses Por baronboedo.
|
|
Ummm, no te entiendo, alinear el módulo de imágenes a la derecha? Es como está, no?
|
|
|
|
|
Si miras la foto, yo le hice dos lineas rojas a ambos modulos, quisiera que las imagenes quedaran ahi... o sea que este centrado la imagen y donde termina el menu. Gracias!
|
|
|
|
|
Últimos post
|
Twiiter |
Últimos comentarios |