-
AuthorPosts
-
January 31, 2009 at 12:12 am #137672
I updated IE to version 8 over the past week and find that the JA Fagus template moves everything below the breadcrumbs over to the left side of the window rather than floating it with the top.
I checked the JA demo page for this template and it also moves over.
Anyone have any ideas where to tweak the code to fix it?
Or is it just my copy of IE8??
Thanks.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
February 5, 2009 at 9:01 am #289657Dear kj_wilson !
You can fix it following some steps below :
1.Download attachment file , extract it , copy to templatesja_faguscss folder.
2.Open index.php file in templates/ja_fagus folder , find following code section at about line 68 :
<?php if ($tmpTools->isIE6()) {
$s = '';
if ($tmpTools->getParam(JA_TOOL_SCREEN) == 'narrow') $s = '-n';
?>
<script type="text/javascript">
window.addEvent ('domready', makeTransBG);
function makeTransBG() {
makeTransBg($('ja-mainnav'), '<?php echo $tmpTools->templateurl(); ?>/images/mainnav-bg<?php echo $s;?>.png')
makeTransBg($E('#ja-topsl .ja-newflash'), '<?php echo $tmpTools->templateurl(); ?>/images/topimg.png')
makeTransBg($E('#ja-topsl'), '<?php echo $tmpTools->templateurl(); ?>/images/topsl-bg<?php echo $s;?>.png')
}
</script>
<?php } ?>
change to :
<?php if ($tmpTools->isIE6()) {
$s = '';
if ($tmpTools->getParam(JA_TOOL_SCREEN) == 'narrow') $s = '-n';
?>
<script type="text/javascript">
window.addEvent ('domready', makeTransBG);
function makeTransBG() {
makeTransBg($('ja-mainnav'), '<?php echo $tmpTools->templateurl(); ?>/images/mainnav-bg<?php echo $s;?>.png')
makeTransBg($E('#ja-topsl .ja-newflash'), '<?php echo $tmpTools->templateurl(); ?>/images/topimg.png')
makeTransBg($E('#ja-topsl'), '<?php echo $tmpTools->templateurl(); ?>/images/topsl-bg<?php echo $s;?>.png')
}
</script>
<?php } ?><!-->
<link href="<?php echo $tmpTools->templateurl(); ?>/css/ie8.css" rel="stylesheet" type="text/css" />
<!-->
February 6, 2009 at 12:54 am #289792Thanks for the code bit. . . unfortunately it doesn’t change the column location. I can see from the code what you are trying to do, so I will pursue that further myself. If you have any more ideas, feel free to share them, and I will do the same if I figure it out.
Thanks again.
February 6, 2009 at 1:09 am #289795Okay, I should not have been so hasty. . . I must have copied the code incorrectly or didn’t give the cache enough time to clear. . . it works – it looks great- and I am forever in your debt!
Thanks very much, and ignore my previous message!
March 29, 2009 at 2:12 pm #298865Excellent, same problem here, your solution does the trick!
May 7, 2009 at 2:53 am #303866Hi.
To fix this problem in Joomla 1.0.15 can i use this same code?
Thanks
-
AuthorPosts
This topic contains 8 replies, has 6 voices, and was last updated by splove 15 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum