Results 1 to 5 of 5

Thread: multiple popup locations?

  1. #1
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default multiple popup locations?

    Hi,

    I am trying to configure code to launch multiple onlick popups at different sizes which appear at different coordinates on one page
    (I assure you they are not for annoying advertising - more of an artists gallery experiment)).
    Cross browswer would just be icing on the cake..

    Thanks
    Neil Whitehead

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    By different coordinates on the page, do you mean relative to the page's upper left corner or relative to the object on the page that was clicked to produce the pop up?

    Do you realize that in either case, on some systems and/or viewport locations/sizes, many 'coordinates on the page' might actually be off the page and/or outside the window?

    Different coordinates on the screen would be much easier.

    Also, do you mean launch multiple pop ups on one click or just one pop up per click, just several opportunities to launch pop ups?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I have been directed to this site which is what i am looking to do.
    I now know it can be done! http://www.copyrightdavis.com/index_3.html
    ( beware popup frenzy). The code looks interesting, I need to extract the main source of launcing a popup and inputting the screen coordinates. Any other pointers would be gratefully recieved.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That page does nothing but say:

    "Paul Davis loves London."

    in the lower left corner and activate my pop up blocker. This is in IE6, with the default (read most widely used browser with the most widely used pop up settings) values for pop up handling. FF (the second most widely used browser) with its default pop up handling settings, does the same. As a result, I would highly recommend not emulating the code from that page.

    You haven't really answered my questions directly but, I can deduce that you want windows to pop up on page load. This is impossible to do in today's average browser with their built in pop up blockers. The only way to have pop ups work in these browsers is to have them be as the direct result of a user's clicking on something on the page. If the default settings in the browser for pop up blocking have been made more strict, even this strategy will no work.

    I have an idea that pop ups may be able to be launched on the same click (from another page on your site) that loads the current page where pop ups are desired but, will have to test this idea out. I have only ever seen this with pop under windows, which I imagine would be unsuitable for your purposes.

    Another approach would be not to use pop up windows at all but, rather pop up and/or drop down divisions (boxes). These are not so widely blocked.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    many thank for your comments..I am gonna revise my prepared solution.

    cheers

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •