cancel
Showing results for 
Search instead for 
Did you mean: 

How to eliminate scroll in a tabstrip

0 Kudos

Hello All.

Let´s see if I am able to explain myself.

We are creating a BSP to show BW web report.

In our BSP we have three frames: Header(top), Menu(left) and Report(right).

Header an menu are ok, but in report we are including an HTMLB html tag in order to call the BW url to show the report.

The problem we have is that when the BW report is too big, the IFRAME creates a new scroll bar, so we have two scroll bars in our Report FRAME.

We want to avoid somehow that this second scroll bar is crated.

Here is an squema of our BSP., in order to understand better the problem.

-

-


HEADER (FRAME)

-

-


  • MENU | REPORT (FRAME) ^

  • FRAME| Tab1/ Tab2 |

  • | | --------------------------------|

  • | | ^ |

  • | | BW REPORT | |

  • | | | |

  • | | | |

  • | | v v

-

-


Thanks a lot.

Accepted Solutions (0)

Answers (1)

Answers (1)

Private_Member_9643
Active Contributor
0 Kudos

hi javier,

can u please send me some part of your code,specially tabstrib part.

Regards,

kamaljeet

0 Kudos

Hello Kamaljeet

Here it is:

Private_Member_9643
Active Contributor
0 Kudos

hi Javier,

u just put <b>height='100%'</b> in the iframe code, it will work fine.

regards,

kamaljeet

athavanraja
Active Contributor
0 Kudos

We had exactly the same design and setting the iframe height inside tabstrip is going to be tricky as the factors involved are page height, ifram height, tabstrip height.

We solved it by using the following method.

<table height=100% border="0" cellpadding="0" cellspacing="0" width="100%">
              <tr>
                <td width="100%">
      <xhtmlb:tabStrip id ....   

 
       
      </xhtmlb:tabStrip>
    
          </td>
      </tr>
      <tr>
        <td height=100% width="100%">
      
  
      <iframe  id="I1" name="I1" scrolling="yes" width="100%"  height="100%" src="<%= loading_url %>"
       border="0" frameborder="0" >
      Your browser does not support inline frames or is currently configured not to display inline frames.
      </iframe>
  
      </td>
      </tr>
      </table>

Hope this helps .

Regards

Raja