test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • skyshing Friend
    #129031

    I have problem with inserting png image in the content area (Joomla inline) and it is showing blue background in IE6. OK in IE7. I have tried different plug-ins like ‘Ultimate PNG Fix’ and ‘Correct PNG mambot’. It kind of work with the plug-ins but it would mess up the top part navigation and some layout distort also.

    Can anyone help please? I have seen someone posting this sort of thread but it seems like there is no real solution yet. Please help. Thanks

    Menalto Friend
    #251024

    I have not seen how you have set up your site, but you can try to locate the div that contains the content area and add somehting like this in the index.php file(marked with red:

    <?php if ($tmpTools->isIE6()) { ?>
    <script type="text/javascript">
    var siteurl = '<?php echo $tmpTools->baseurl();?>';

    window.addEvent ('load', makeTransBG);
    function makeTransBG() {
    makeTransBg($('ja-header'));
    makeTransBg($$('h1.logo a'));
    makeTransBg($$('#ja-mainnav img'));
    makeTransBg($('ja-footer'));
    makeTransBg($$('#ja-footer img'));
    makeTransBg($$('#the contentdiv img'));
    }
    </script>

    <?php } ?>
    Also replace “the contentdiv” with the name of the div that have your content.
    Or maybe try out something like this(this might be easier for you to try out first:

    <?php if ($tmpTools->isIE6()) { ?>
    <script type="text/javascript">
    var siteurl = '<?php echo $tmpTools->baseurl();?>';

    window.addEvent ('load', makeTransBG);
    function makeTransBG() {
    makeTransBg($('ja-header'));
    makeTransBg($$('h1.logo a'));
    makeTransBg($$('#ja-mainnav img'));
    makeTransBg($('ja-footer'));
    makeTransBg($$('#ja-footer img'));
    makeTransBg($$('img'));
    }
    </script>

    <?php } ?>

    skyshing Friend
    #251027

    Hi Menalto, yes it works perferctly fine with this one – makeTransBg($$(‘img’));
    Many Thanks. This should do the trick for many others.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  skyshing 16 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum