Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Daniel Raymo Friend
    #160648

    I changed the image height in the mod_janews_fp module, and it is displaying correctly in every browser but Explorer 8. In Explorer…when it first loads, it only shows about a 100 pixels of the image. After it cycles through to the next article, it corrects itself. I’ve looked everywhere and can’t figure out what is causing it. The page is: http://platpuswork.com

    The two screen captures show the initial page load, and then after a cycle:

    Thank you…and help would be appreciated.

    Dan


    1. explorerlater
    2. explorerload
    thuanlq Friend
    #378400

    Hi Dan,

    Your problem was due at IE8, javascript of janews_fp load slow, so height value of image is incorrect at the first loads.
    I update the js file in your site, please check your site again.

    thanks,

    Daniel Raymo Friend
    #378504

    Thanks, but it still has the same problem.

    Dan

    Daniel Raymo Friend
    #378933

    I was able to fix my problem by changing line 93 in modules/mod_janews_fp/assets/headline.js from:

    this.container.setStyle(“height”, el2.offsetHeight);
    to
    this.container.setStyle(“height”, 350);

    which fixed my problem, but really isn’t the correct way to fix it.

    thuanlq Friend
    #379437

    Hi Danraymo,
    This way you only apply for image box with height is 350px, the offsetHeight value was get when image loaded completely.
    So you can use this way to fix your problem.

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

This topic contains 5 replies, has 2 voices, and was last updated by  thuanlq 13 years, 4 months ago.

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