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. ASP.NET
  4. Popup blocker window

Popup blocker window

Scheduled Pinned Locked Moved ASP.NET
4 Posts 3 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.
  • M Offline
    M Offline
    MalikRizwan
    wrote on last edited by
    #1

    I want to detect if the client browser is using popupblocker or not.. or is there any solution to popup a window regardless of that popblocker as Hotmail and yahoo shows popupwindow on deleteing of emails thanx in advance**

    R A M

    **

    S V 2 Replies Last reply
    0
    • M MalikRizwan

      I want to detect if the client browser is using popupblocker or not.. or is there any solution to popup a window regardless of that popblocker as Hotmail and yahoo shows popupwindow on deleteing of emails thanx in advance**

      R A M

      **

      S Offline
      S Offline
      Sushant Duggal
      wrote on last edited by
      #2

      Hi, What is the method you r using to show popup? Sushant Duggal.

      1 Reply Last reply
      0
      • M MalikRizwan

        I want to detect if the client browser is using popupblocker or not.. or is there any solution to popup a window regardless of that popblocker as Hotmail and yahoo shows popupwindow on deleteing of emails thanx in advance**

        R A M

        **

        V Offline
        V Offline
        Vuks
        wrote on last edited by
        #3

        function openMyWindow(){ var PagetoPopup; PagetoPopup= '<%=Session["app_path"]%>' + "MyWindowName.aspx"; var newWin = null; newWin = window.open(PagetoPopup,"MyPopupWindow","toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=no, resizable=yes,titlebar=0"); if ( (newWin == null) || (typeof(newWin) =="undefined") || (typeof(newWin .location.hash) != "string") ) { alert('Please ensure that pop-ups are enabled!'); } else { if (self.name != 'MyPopupWindow') { top.close(); // Use this if you want to close the main/parent window ; otherwise comment out this code } } I hope this is what you wanted.The code notifies the user if the popup blocker is activated, so that the user can de-activate it and try to open the window again. Vuks

        M 1 Reply Last reply
        0
        • V Vuks

          function openMyWindow(){ var PagetoPopup; PagetoPopup= '<%=Session["app_path"]%>' + "MyWindowName.aspx"; var newWin = null; newWin = window.open(PagetoPopup,"MyPopupWindow","toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=no, resizable=yes,titlebar=0"); if ( (newWin == null) || (typeof(newWin) =="undefined") || (typeof(newWin .location.hash) != "string") ) { alert('Please ensure that pop-ups are enabled!'); } else { if (self.name != 'MyPopupWindow') { top.close(); // Use this if you want to close the main/parent window ; otherwise comment out this code } } I hope this is what you wanted.The code notifies the user if the popup blocker is activated, so that the user can de-activate it and try to open the window again. Vuks

          M Offline
          M Offline
          MalikRizwan
          wrote on last edited by
          #4

          thanx alot Vuks .. i will get back to you if i face some problem in this script .. thanks again**

          R A M

          **

          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