hello, i want a popup javascript or php code that dosn't get blocked by browsers or popup blockers !! thank you
Create a div pop-up instead. It's technically not a "pop-up" but, it will serve the same purpose of catching the user's attention.
@Crazy div needs someone to click the link before it appears, I want a popup comes when someone close the website ( exit popup )
Well no, it doesn't require user interaction at all. You could use the onLoad or onUnload attribute within the body element of the page to change the visibility of an existing div. In the onUnload attribute, I'm sure you could use JavaScript to suspend the action and show the div, allowing the user to close the window only after closing the "pop-up" div.
If you take time to study jQuery (a javascript framework) for several hours you'll be amazed what you can do with a webpage using it, I mean it! The beauty of knowing it is you can do anything much faster than finding same thing on internet (if it even exists).