www.webdeveloper.com
Results 1 to 3 of 3

Thread: POPUP Help

Hybrid View

  1. #1
    Join Date
    Aug 2013
    Posts
    2

    POPUP Help

    I want to open up a pop up window and center it on the page AND have it leave the main window where it happens to be within the page. Right now I have the code doing all that EXCEPT leaving the main page alone. When the popup opens, the main window is scrolled back to the top of the page.

    http://www.joeyshotdogs.com/info/mobile.php

    Click on the event for August 28th.



    Any idea how to make the main page stay stationary when the popup opens?

  2. #2
    Join Date
    Mar 2007
    Location
    U.K.
    Posts
    1,127
    Your handler must return false. Also never use javascript:
    Code:
    onclick="centerpopup('pgm-cal-details.inc.php?id=23542e12787fe578bf6db130ed5bc510','EVENTDETAILS', '470', '400');return false"

  3. #3
    Join Date
    Aug 2013
    Posts
    2
    Thank you sir.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles