Forums

Expanding page while iframed page increasing in size (3 posts)

  1. Black_Jack
    Member
    Posted 4 months ago #

    Hello. I have a question. First of all, I'm new to WordPress. And I like it. So, I have a script which generate a text depending on database information. It's independent script. It posts lines. So in my wordpress page this script added as iframe. As it's iframe, it makes scrolling if page bigger than page size. Not just expanding the page size. It's a banlist. So, how it looks not in wordpress: http://prntscr.com/52d5u. And how it looks in page: http://prntscr.com/52d67. So, when bans there will be too many, there will be something like that: http://prntscr.com/52d70. I need to change the size of page, not scrolling. I hope you understood it. Thanks!

  2. SwansonPhotos
    Member
    Posted 4 months ago #

    You need to set the height of an iframe so it does not work well with an expanding list unless you want to create/add code to calculate the height needed based on the lines of text generated..

    http://www.w3schools.com/tags/att_iframe_scrolling.asp

    It is not really a WordPress issue.

  3. Black_Jack
    Member
    Posted 4 months ago #

    Oh yeah, forgot about iframe. Thanks!

Reply

You must log in to post.

About this Topic