popup window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mac

    #1

    popup window

    Hi all,

    Is there a way to force pop up windows even if the browser
    preferences
    is set to block pop windows, for onload event? using javascript....


    Note: for onload event


    -mac


  • Evertjan.

    #2
    Re: popup window

    mac wrote on 05 nov 2008 in comp.lang.javas cript:
    Is there a way to force pop up windows even if the browser
    preferences
    is set to block pop windows, for onload event? using javascript....
    No.
    Note: for onload event
    What does that matter?


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)

    Comment

    • mac

      #3
      Re: popup window

      On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
      mac wrote on 05 nov 2008 in comp.lang.javas cript:
      >
      Is there a way to force pop up windows even if the browser
      preferences
      is set to block pop windows, for onload event? using javascript....
      >
      No.
      >
      Note: for onload event
      >
      What does that matter?
      >
      --
      Evertjan.
      The Netherlands.
      (Please change the x'es to dots in my emailaddress)
      hi...yes it matters. i want to unblock the poup using
      programming.... pls give something useful

      Comment

      • SAM

        #4
        Re: popup window

        Le 11/5/08 9:27 AM, mac a écrit :
        On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
        >mac wrote on 05 nov 2008 in comp.lang.javas cript:
        >>
        >>Is there a way to force pop up windows even if the browser
        >>preferences
        >>is set to block pop windows, for onload event? using javascript....
        >No.
        >>
        >>Note: for onload event
        >What does that matter?
        >>
        >--
        >Evertjan.
        >The Netherlands.
        >(Please change the x'es to dots in my emailaddress)
        >
        hi...yes it matters. i want to unblock the poup using
        programming.... pls give something useful

        Nothing useful exists for that.
        You'll have to do with it and to find another idea.
        (clickable biv above (over) (on front) the page ?)

        example among a lot :
        <http://www.theopensour cery.com/jspopwin1.htm>

        --
        sm

        Comment

        • rf

          #5
          Re: popup window


          "mac" <mhmunshi@gmail .comwrote in message
          news:020ccb28-7403-42aa-97d1-ef000e1a34d9@n1 g2000prb.google groups.com...
          On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
          mac wrote on 05 nov 2008 in comp.lang.javas cript:
          >
          Is there a way to force pop up windows even if the browser
          preferences
          is set to block pop windows, for onload event? using javascript....
          >>
          >No.
          >>
          Note: for onload event
          >>
          >What does that matter?
          >hi...yes it matters. i want to unblock the poup using
          >programming... .pls give something useful
          Evertjan's answer was usefull.

          Did you miss the bit where he said "No"?


          Comment

          • rf

            #6
            Re: popup window


            "SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
            news:49116591$0 $869$ba4acef3@n ews.orange.fr.. .
            Le 11/5/08 9:27 AM, mac a écrit :
            >On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
            >>mac wrote on 05 nov 2008 in comp.lang.javas cript:
            >>>
            >>>Is there a way to force pop up windows even if the browser
            >>>preference s
            >>>is set to block pop windows, for onload event? using javascript....
            >>No.
            >>>
            >>>Note: for onload event
            >>What does that matter?
            >>>
            >>--
            >>Evertjan.
            >>The Netherlands.
            >>(Please change the x'es to dots in my emailaddress)
            >>
            >hi...yes it matters. i want to unblock the poup using
            >programming... .pls give something useful
            >
            >
            Nothing useful exists for that.
            You'll have to do with it and to find another idea.
            (clickable biv above (over) (on front) the page ?)
            Assuming you mean div rather than biv, please do not advise anybody to do
            this to their viewers.
            >
            example among a lot :
            <http://www.theopensour cery.com/jspopwin1.htm>
            What? Where? All I see is a broken page.


            Comment

            • mac

              #7
              Re: popup window

              On Nov 5, 2:23 pm, "rf" <r...@invalid.c omwrote:
              "mac" <mhmun...@gmail .comwrote in message
              >
              news:020ccb28-7403-42aa-97d1-ef000e1a34d9@n1 g2000prb.google groups.com...
              On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
              >
              mac wrote on 05 nov 2008 in comp.lang.javas cript:
              >
              Is there a way to force pop up windows even if the browser
              preferences
              is set to block pop windows, for onload event? using javascript....
              >
              No.
              >
              Note: for onload event
              >
              What does that matter?
              hi...yes it matters. i want to unblock the poup using
              programming.... pls give something useful
              >
              Evertjan's answer was usefull.
              >
              Did you miss the bit where he said "No"?
              ok. that means its not possible.
              thanks for guiding.

              Comment

              • Evertjan.

                #8
                Re: popup window

                mac wrote on 05 nov 2008 in comp.lang.javas cript:
                On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
                >mac wrote on 05 nov 2008 in comp.lang.javas cript:
                >>
                Is there a way to force pop up windows even if the browser
                preferences
                is set to block pop windows, for onload event? using javascript....
                >>
                >No.
                >>
                Note: for onload event
                >>
                >What does that matter?
                [Please do not quote signatures on usenet]
                hi...yes it matters. i want to unblock the poup using
                programming.... pls give something useful
                It does not, not possible == not possible.
                ....pls give something useful
                Furthermore it would be very impolite
                to your users if it were possible.

                Is your caps key broken?


                --
                Evertjan.
                The Netherlands.
                (Please change the x'es to dots in my emailaddress)

                Comment

                • mac

                  #9
                  Re: popup window

                  On Nov 5, 2:39 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
                  mac wrote on 05 nov 2008 in comp.lang.javas cript:
                  >
                  On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
                  mac wrote on 05 nov 2008 in comp.lang.javas cript:
                  >
                  Is there a way to force pop up windows even if the browser
                  preferences
                  is set to block pop windows, for onload event? using javascript....
                  >
                  No.
                  >
                  Note: for onload event
                  >
                  What does that matter?
                  >
                  [Please do not quote signatures on usenet]
                  >
                  hi...yes it matters. i want to unblock the poup using
                  programming.... pls give something useful
                  >
                  It does not, not possible == not possible.
                  >
                  ....pls give something useful
                  >
                  Furthermore it would be very impolite
                  to your users if it were possible.
                  >
                  Is your caps key broken?
                  >
                  --
                  Evertjan.
                  The Netherlands.
                  (Please change the x'es to dots in my emailaddress)
                  Hi,
                  Thanks for your suggestons.
                  -Mac

                  Comment

                  • SAM

                    #10
                    Re: popup window

                    Le 11/5/08 10:31 AM, rf a écrit :
                    "SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                    news:49116591$0 $869$ba4acef3@n ews.orange.fr.. .
                    >Le 11/5/08 9:27 AM, mac a écrit :
                    >>>>Is there a way to force pop up windows even if the browser
                    >>>>preferenc es
                    >>>>is set to block pop windows, for onload event? using javascript....
                    (...)
                    >Nothing useful exists for that.
                    >You'll have to do with it and to find another idea.
                    >(clickable biv above (over) (on front) the page ?)
                    >
                    Assuming you mean div rather than biv,
                    Yes.
                    please do not advise anybody to do
                    this to their viewers.
                    Why ?
                    >example among a lot :
                    ><http://www.theopensour cery.com/jspopwin1.htm>
                    >
                    What? Where? All I see is a broken page.
                    Not me.
                    (or perhaps didn't you really try to see ?)
                    (I'm OK to say it is a bit dirty)

                    --
                    sm

                    Comment

                    • David Mark

                      #11
                      Re: popup window

                      On Nov 5, 4:33 am, mac <mhmun...@gmail .comwrote:
                      On Nov 5, 2:23 pm, "rf" <r...@invalid.c omwrote:
                      >
                      >
                      >
                      "mac" <mhmun...@gmail .comwrote in message
                      >
                      news:020ccb28-7403-42aa-97d1-ef000e1a34d9@n1 g2000prb.google groups.com...
                      On Nov 5, 1:23 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
                      >
                      mac wrote on 05 nov 2008 in comp.lang.javas cript:
                      >
                      Is there a way to force pop up windows even if the browser
                      preferences
                      is set to block pop windows, for onload event? using javascript.....
                      >
                      >No.
                      >
                      Note: for onload event
                      >
                      >What does that matter?
                      >hi...yes it matters. i want to unblock the poup using
                      >programming... .pls give something useful
                      >
                      Evertjan's answer was usefull.
                      >
                      Did you miss the bit where he said "No"?
                      >
                      ok. that means its not possible.
                      thanks for guiding.
                      Seems something finally sunk in. Additional guidance is to stop
                      trying to open new browser windows (invariably for ads.) It isn't
                      your browser. Leave it alone.

                      Comment

                      • rf

                        #12
                        Re: popup window


                        "SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                        news:4911cf54$0 $906$ba4acef3@n ews.orange.fr.. .
                        Le 11/5/08 10:31 AM, rf a écrit :
                        >"SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                        >news:49116591$ 0$869$ba4acef3@ news.orange.fr. ..
                        >>Le 11/5/08 9:27 AM, mac a écrit :
                        >>>>>Is there a way to force pop up windows even if the browser
                        >>>>>preference s
                        >>>>>is set to block pop windows, for onload event? using javascript....
                        (...)
                        >>Nothing useful exists for that.
                        >>You'll have to do with it and to find another idea.
                        >>(clickable biv above (over) (on front) the page ?)
                        >>
                        >Assuming you mean div rather than biv,
                        >
                        Yes.
                        >
                        >please do not advise anybody to do this to their viewers.
                        >
                        Why ?
                        Why do browsers block popup windows? Because the users of those browsers
                        demanded that they do so.

                        What happens when a page unexpectedly simulates a popup using this method?
                        The user gets bloody cranky.

                        The absolute worst case is when a page pops up one on load, and
                        obscures/greys out the rest of the page. You have to do something to dismiss
                        the unwanted popup (and they all work differently) before accessing the
                        content of the page. Makes me real damn cranky, especially when said popup
                        is an ad or something that has nothing at all to do with what I have just
                        googled for. Far worse then those splash pages the now seem to be dying out.
                        I suspect this is exactly what the OP wants to do.
                        >>example among a lot :
                        >><http://www.theopensour cery.com/jspopwin1.htm>
                        >>
                        >What? Where? All I see is a broken page.
                        >
                        Not me.

                        (or perhaps didn't you really try to see ?)
                        (I'm OK to say it is a bit dirty)
                        On re-examining the page I have determined that yes, there is actually a div
                        there that can be dragged around. However it simply does *not* look like any
                        sort of popup I have ever seen. The total lack of borders around it makes
                        the whole page look like you have re-discovered the IE broken box model.

                        If it takes me several minutes to figure out what is going on (and I have
                        been writing pages that contain such draggable divs for ages) then what hope
                        does your average viewer have?

                        At least put a border around the thing. A different background colour would
                        be an assist as well.

                        And don't ever ever pop it up unless the viewer has requested it and knows
                        that it is going to appear.


                        Comment

                        • SAM

                          #13
                          Re: popup window

                          Le 11/5/08 11:44 PM, rf a écrit :
                          "SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                          news:4911cf54$0 $906$ba4acef3@n ews.orange.fr.. .
                          >Le 11/5/08 10:31 AM, rf a écrit :
                          >>"SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                          >>news:49116591 $0$869$ba4acef3 @news.orange.fr ...
                          >>>Le 11/5/08 9:27 AM, mac a écrit :
                          >>>>>>Is there a way to force pop up windows even if the browser
                          >>>>>>preferenc es
                          >>>>>>is set to block pop windows, for onload event? using javascript....
                          >(...)
                          >>>Nothing useful exists for that.
                          >>>You'll have to do with it and to find another idea.
                          >>>(clickable biv above (over) (on front) the page ?)
                          >>Assuming you mean div rather than biv,
                          >Yes.
                          >>
                          >>please do not advise anybody to do this to their viewers.
                          >Why ?
                          >
                          Why do browsers block popup windows? Because the users of those browsers
                          demanded that they do so.
                          >
                          What happens when a page unexpectedly simulates a popup using this method?
                          The user gets bloody cranky.
                          Pas forcément.
                          All depends.

                          I'm absolutely OK with you : that must be useful to the displayed page.
                          Anyway that's only a JS result, and You can disabled it.
                          (and all must work without JS)

                          (snip)
                          I suspect this is exactly what the OP wants to do.
                          Possible, who can know ?
                          It's not our problem.
                          >>>example among a lot :
                          >>><http://www.theopensour cery.com/jspopwin1.htm>
                          >>What? Where? All I see is a broken page.
                          >Not me.
                          >
                          http://barefile.com.au/test/popup.png
                          Yes, that's what I see.
                          And ... yes, I'd too get some difficulties to see it.
                          (seems to be an old page (with original and personal code))
                          At least put a border around the thing. A different background colour would
                          be an assist as well.
                          That was not one of my pages.
                          Only an example among so much others ones on the web.
                          Perhaps would you prefer this one :
                          <http://jquery.com/demo/thickbox/?

                          --
                          sm

                          Comment

                          • rf

                            #14
                            Re: popup window


                            "SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                            news:4912efbe$0 $956$ba4acef3@n ews.orange.fr.. .
                            Le 11/5/08 11:44 PM, rf a écrit :
                            >"SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                            >news:4911cf54$ 0$906$ba4acef3@ news.orange.fr. ..
                            >>Le 11/5/08 10:31 AM, rf a écrit :
                            >>>"SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                            >>>news:4911659 1$0$869$ba4acef 3@news.orange.f r...
                            >>>>Le 11/5/08 9:27 AM, mac a écrit :
                            >>>>example among a lot :
                            >>>><http://www.theopensour cery.com/jspopwin1.htm>
                            >>>What? Where? All I see is a broken page.
                            >>Not me.
                            >>
                            >http://barefile.com.au/test/popup.png
                            >
                            Yes, that's what I see.
                            And ... yes, I'd too get some difficulties to see it.
                            (seems to be an old page (with original and personal code))
                            >
                            >At least put a border around the thing. A different background colour
                            >would be an assist as well.
                            >
                            That was not one of my pages.
                            Only an example among so much others ones on the web.
                            Perhaps would you prefer this one :
                            <http://jquery.com/demo/thickbox/?
                            "build using the super lightweight jQuery library"

                            Er, no thanks.

                            My own draggable "popup" works quite fine for me and comes in at 5K
                            uncompressed *incuding* comments, not the 80K or so that thing is.


                            Comment

                            • SAM

                              #15
                              Re: popup window

                              Le 11/6/08 11:45 PM, rf a écrit :
                              "SAM" <stephanemoriau x.NoAdmin@wanad oo.fr.invalidwr ote in message
                              news:4912efbe$0 $956$ba4acef3@n ews.orange.fr.. .
                              >Only an example among so much others ones on the web.
                              >Perhaps would you prefer this one :
                              ><http://jquery.com/demo/thickbox/?
                              >
                              "build using the super lightweight jQuery library"
                              Yeap ! :-(
                              My own draggable "popup" works quite fine for me and comes in at 5K
                              uncompressed *incuding* comments, not the 80K or so that thing is.
                              and where is this famous script ?

                              --
                              sm

                              Comment

                              Working...