cancel
Showing results for 
Search instead for 
Did you mean: 

removing scrollbars from iframe ..

Former Member
0 Kudos
639

Hii all,

I have created par component, in which i have used <iframe> to display the html content(KM Document)

<iframe src="<%=target%>" width="100%" height="700px" marginheight="0" marginwidth="0" scrolling="auto" frameborder="0" align="left"/>

When i assigned this iview to role, there are multiple scrollbars while resizing the window.

I want to remove multiple scrollbars as single scrollbar is sufficient.

I also tried with Embedded Isolation method, but not solved.

Is there any other way to display KM html Docs as an iview in contentarea except standard km document ivew.

Its quite urgent !! Any help would be appreciated.

Thanks

Ami.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ami

add "scrolling="no"

<iframe src="imagepage.htm?u=$USERID$" name="List Result" width="50px" height="50px" marginheight="0" marginwidth="0" align="center" scrollingMode="none" scrolling="no" >

</iframe>

Regards

Kunal Saggar

P.S. Award points if it helps you.

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

There's three values yes, no and auto with "auto" being the default value given if you don't add a scrolling="" element and meaning that the browser will decide if scollbars are shown depending on whether or not the content page is larger than the frame itself

Setting the value scrolling="no" inside your <iframe> tag will remove the scrollbars, but obviously if the content page is larger than the frame your visitors will not see everything.

check the following link for reference

http://netcode.net/articles/inline_frames.php

http://archivist.incutio.com/viewlist/css-discuss/75669

regards,

shyja

Former Member
0 Kudos

Hii

Thanks all for your input.

I have used HTMLB tag <isolatedHtmlContainer> instead of <iframe> and it solved my problem.

Thanks,

Ami.

former_member246893
Active Participant
0 Kudos

Hello,

Please maintain the value of 'Height type' as AUTOMATIC instead of FULL_PAGE.

This will solve the issue.

Points will be help full

~ Abdul

Former Member
0 Kudos