Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6031125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:08:15+00:00 2026-05-23T05:08:15+00:00

I am using a modal window on my page, which actually has a frameset

  • 0

I am using a modal window on my page, which actually has a frameset page called within an iframe. The code to dynamically append the modal window is like;

$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' > </iframe>");

The generated HTML looks like;

<div id="TB_window" style="margin-left: -500px; width: 1001px; display: block;">
<iframe frameborder="0" style="width:1000px;height:581px;" onload="tb_showIframe()" name="TB_iframeContent805" id="TB_iframeContent" src="framesetPg.html" hspace="0"> </iframe></div>
</div>

Now while on IE, I can scroll through the main page as well as the inner frames, on Firefox, I cannot scroll completely through the main frameset page..

Also to summarize this issue and this is something which should help identify where the problem lies;
If I hide the Windows Taskbar so that more vertical space is available for Firefox window, I can see the complete frameset page …So something like viewport or based on display height. Reverse is also true i.e. if I drag the taskbar up, so that less space is available for FF, it only shows that much content and I cannot scroll the rest..

Please help me. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:08:16+00:00Added an answer on May 23, 2026 at 5:08 am

    Add this

    $("body").css("overflow", "auto");
    $("html").css("overflow", "auto");
    

    to top of tb_show function in thickbox.js uncompressed here is exapmple
    This is How it’s look

    function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
    
        try {
            if (typeof document.body.style.maxHeight
    

    change it to this

    function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
        $("body").css("overflow", "auto");
        $("html").css("overflow", "auto");
        try {
            if (typeof document.body.style.maxHeight
    

    And leave the rest in peace if not work post it to jsfiddle let me see it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a modal window using jqmodal. I need a button within that modal
After seeing tons of web site using modal window with a nice expansion animation
how can I open a modal window using javascript only. I can't use own
I'm using Lightwindow v2 in a Symfony project to create a modal window (
Alright. I am using a Modal box pop up window to display business details
We have implemented a popup window as a modal dialog using the IE method:
Is there a maximum length when using window.returnValue (variant) in a modal? I am
I was wondering if there is way to open another page using a Modal
I am using a bookmarklet which can (obviously) be called by the user anywhere:
I am creating a modal window using jquery. I am having an issue with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.