Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • snvital Friend
    #178001

    Based on the module position i am able to display content on the outside corners. How do i display content to full the wall. I am attempting to use the wrapper component to iframe a website into the wall. THe content pushes to the far left leaving a space on the right

    Wall Crasher Developer
    #456896

    Hi snvital,

    To enable the full width of the content, please follow these steps:

    1. Open templatesja_wallindex.php
    2. Focus on line 191
    3. Modify markup like below

    <div id="content">
    to

    <div id="content" <?php if (!jaTpl_check ('hasAside')){ echo 'style="width: 100% !important;"' ;} ?>>

    Hope this help.
    If you have any other question, just let me know.

    Regards

    ncarter Friend
    #462312

    how about automatic height wall crasher? because i am atempting to load an iframe into the jawall template but i keep getting scroll bars for the height, the width is set to 100% but i cant seem to get the height to automatic.

    Wall Crasher Developer
    #462343

    Hi ncarter,

    In my knowledge, iframe element can not extend the height of itself.
    You must use javascript to calculate the height of the content inside the iframe and then set to the iframe element.
    And there is a restriction ‘same origin policy’ that will prevent your javascript access to iframe if your iframe load source from another website.

    So if you have an iframe which load content from the same domain, you can use javascript to achieve it.
    Or you should set the height of iframe to and specific value (100% or 1000px)

    Hope it helps.

    Regards

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

This topic contains 4 replies, has 3 voices, and was last updated by  Wall Crasher 12 years, 3 months ago.

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