Chrome issue on user 5-6-7-8 alignment

  • marx
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 1 month ago #11940 by marx
Hi. After i have past all posts i didn't find a solution to my prob.
While in IE and Firefox is all ok, in CHrome and safari shows as in the images attatched. Any suggestion? Thank you in advance
Attachments:

Please Log in to join the conversation.

More
13 years 1 month ago #11944 by ivan.milic
Hi, updating jQuery may help. Can we see your link?

Please Log in to join the conversation.

  • marx
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 1 month ago #11973 by marx

Please Log in to join the conversation.

More
13 years 1 month ago #11984 by ivan.milic
Hi what module type you use for taht boxex. Check only first one has this style attribute:

<iframe id="blockrandom" name="" src="/coupon/HomeTop10.php" width="100%" height="205" scrolling="no" align="top" frameborder="0" class="wrapper" style="height: 386px; ">...</iframe>

remove that style attribute for first box (iframe)

Please Log in to join the conversation.

  • marx
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 1 month ago #11993 by marx
Sorry Ivan, for making it long. i dont understand since when get the page source, i dont see in the code that ..style="height: 386px; and i dont know from where to remove it.
I am using in position user5 a wraper. I dont have any similar styling within the included (internal the iframe) page. I have tried to copy one module from the position user6, but behaves the same.Also tried to make a new one but nothing. Could pls explain me how find it a remove it? Thanx again

Please Log in to join the conversation.

More
13 years 1 month ago #11995 by ivan.milic
Ok, I investigated little further. The height is set by using javascript , problem is that all 4 modules have same id attribute for ifarme : "blockrandom". This is kind of joomla bug.

here is fix but save an copy first to preserve original file some ware.

open:
modules\mod_wrapper\tmpl\default.php

Replace all:

document.getElementById('blockrandom')

with:

this

example:

h = document.getElementById('blockrandom').contentDocument.height;
replace with:
h = this.contentDocument.height;
The following user(s) said Thank You: marx

Please Log in to join the conversation.

Time to create page: 0.296 seconds
Powered by Kunena Forum