-
AuthorPosts
-
February 24, 2011 at 2:04 pm #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
-
thuanlq Friend
thuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
February 25, 2011 at 8:51 am #378400Hi 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,
February 25, 2011 at 10:43 pm #378504Thanks, but it still has the same problem.
Dan
February 28, 2011 at 8:40 pm #378933I 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 Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
March 3, 2011 at 8:35 am #379437Hi 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. -
AuthorPosts
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, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-