Community Forums 

Main Content

Re:Help with nocart feature and custom popup

    Jul 20 2010 19:17:00


    Gil Sery

    Join date : 2010-04-27      Posts : 141

    Geoff said As far as my testing goes, it would seem that you can delay a form submission by attaching an event handler to a standard link (It does not appear to work with input type submit or input type image). Try it here -

    (3000 is a 3 second delay)

    I personally don't think you need the "close" link in your message div as the page reloads after the delay - which of course resets the div to hidden.


    I have been trying to find a way to solve problem this since last Friday!

    My only issue now is that, because I will be using this 32 times on 1 page for 32 different products (although, only one popup will appear at a time), I need a way to keep the alert centered on the screen when the user scrolls down the page.

    At the moment, if the user chooses ETBB26, the popup still displays, but you need to scroll up the page to see it.

    Is there a way to keep the popup centered even when the user scrolls down?

    Thanks again so very much!