The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Need Help in Figuring Out Modal with iFrame

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #41957


    I’m attempting to create a modal dialogue for a site I maintain. The goal is, when the user clicks a link to read an article or posted review, a modal dialogue appears to display the text and related images, with links at the bottom to access other related pages (i.e., bibliography, etc.).

    Now, I’m quite new at trying to figure out this modal window business, so be kind. ;) But I’m primarily concerned whether I’m executing this properly.

    Additionally, I’ve disabled scrolling when the modal appears to prevent the user from going further down the main page, but when the modal is ‘closed,’ the page is at the top. My concern is if the list of links grows longer and one at the bottom is clicked, the user’s place is lost – and I don’t want that.

    The HTML:

    >Article Title