Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Pop screen opening problem

Pop screen opening problem

Scheduled Pinned Locked Moved Web Development
javascripthelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ravibabu_kanaparthi
    wrote on last edited by
    #1

    Hi All, I have a button control. By clicking the button a pop-up page should come. I had written a javascript function to do that and that is working fine. But the problem is like this, if the popup is already opened thn again a new pop-up should not open even i am click the button. ie, new pop-ups page should come only when there is no pop-ups are already opened. I think this is a common scenario in web developing. Please let me know the solution. Thanks in Advance, ravi

    L 1 Reply Last reply
    0
    • R ravibabu_kanaparthi

      Hi All, I have a button control. By clicking the button a pop-up page should come. I had written a javascript function to do that and that is working fine. But the problem is like this, if the popup is already opened thn again a new pop-up should not open even i am click the button. ie, new pop-ups page should come only when there is no pop-ups are already opened. I think this is a common scenario in web developing. Please let me know the solution. Thanks in Advance, ravi

      L Offline
      L Offline
      LeenaSo
      wrote on last edited by
      #2

      Are u using Window.open() in javascript to open the pop up. If yes then by specifying a name for the popup window as second argument of window.open u can solve this problem. That is Window.Open(pageURL,SomeNameForPopUpWindow,WindowProperties);

      R 1 Reply Last reply
      0
      • L LeenaSo

        Are u using Window.open() in javascript to open the pop up. If yes then by specifying a name for the popup window as second argument of window.open u can solve this problem. That is Window.Open(pageURL,SomeNameForPopUpWindow,WindowProperties);

        R Offline
        R Offline
        ravibabu_kanaparthi
        wrote on last edited by
        #3

        Thank u very much Leena. The problem was solved. Thanku, yeggu

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups