December 1, 201016 yr Hello everyone, I have some problems with my website (ivantabel.com). I used Joomla 1.5 for this website. The strange things happened now. I cannot open my website on my computer. The site starts to load files to temporary folder and suddenly stuck downloading file /public_html/ivantabel/templates/ja_nagya/images/h3-bg.gif and some others. If I use my wife's computer I can open website without any problems. Some of my friend said that they cannot open to. It mean that some people can open my website but someone cannot. I've installed FireFox on my computer and now I can open my site but in IE8 cannot. Some people said that this is IE8 compatibility problems. I go through code and found following line <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" /> does it mean anything? and how can I fixed my problems? Thanks, Navi
December 1, 201016 yr The code <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" /> is trying to load a stylesheet ie6.php which is presumably for IE6 but I think if that is the case it should be in a conditional comment because the code as it stands means that it will be processed by all browsers, all IE versions and other browsers. Try this:- <!--[if IE 6]> <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" /> <![endif]--> which should be placed after other stylesheet links. If you are trying to load this image locally on your computer, (not the online version) /public_html/ivantabel/templates/ja_nagya/images/h3-bg.gif I doubt if the path is correct. Do you have public_html and ivantabel as your folders on your computer? The code you say sometimes works online as your hosting service probably does have public_html and ivantabel after the root directory. The / before public_html means that the browser goes back to the root directory and starts down from there, which you say works on some browsers but perhaps this might work better /ivantabel/templates/ja_nagya/images/h3-bg.gif
December 1, 201016 yr Author Hi Wickham, I did exactly what you've suggested. It works!!! Many thanks! Now my script is: <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/js/jquery-1.3.2.min.js"></script> <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/POD/POD.css" type="text/css"> <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/POD/ui.core.js"></script> <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/POD/ui.draggable.js"></script> <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/POD/jquery.planofdriwing.js"></script> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery("a.click").POD({ src: "<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/map.png", text: "Двойной клик, чтобы закрыть. Нажмите и удержтвайте левую кнопку мыши, чтобы переместить.", width: "499px", height: "499px" }); });</script> <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> <!-- Menu head --> <?php $jamenu->genMenuHead(); ?> <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>.css" rel="stylesheet" type="text/css" /> <!--[if IE 6]> <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if lte IE 6]> <style type="text/css"> .clearfix {height: 1%;} img {border: none;} </style> <![endif]--> <!--[if gte IE 7.0]> <style type="text/css"> .clearfix {display: inline-block;} </style> <![endif]--> <script type="text/javascript"> /*<![CDATA[*/ document.write ('<style type="text\/css">#ja-hpwrap{height:0;overflow:hidden;visibility:hidden;}<\/style>'); /*]]>*/ </script> <?php if ($tmpTools->isIE6()) { ?> <!--[if lte IE 6]> <link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" /> <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>-ie6.php" rel="stylesheet" type="text/css" /> <script type="text/javascript"> window.addEvent ('load', makeTransBG); function makeTransBG() { makeTransBg($$('#ja-cssmenu li ul'),'', 'scale'); makeTransBg($$('img')); } </script> <![endif]--> <?php } ?> </head I wonder will it work for IE7 or not? For the image file h3-bg.gif you are also right. I just forgot to mention that I use FileZilla and code works online on my hosting service company. Of couse, on my computer I have just folder ivantabel, and online storage of folder Ivantabel is public_html. /public_html/ivantabel/templates/ja_nagya/images/h3-bg.gif After I add your code everything works fine. I'm not quite sure whether my script is Ok, but it still works. Many thanks one more time!!!
Create an account or sign in to comment