dennismonsewicz Posted December 18, 2008 Share Posted December 18, 2008 Is there a way to pass the site URL from the main window (whatever page the client is on) to a popunder? Quote Link to comment https://forums.phpfreaks.com/topic/137554-solved-onunload-question/ Share on other sites More sharing options...
Adam Posted December 18, 2008 Share Posted December 18, 2008 var currentUrl = document.location.href; Does this help? A Quote Link to comment https://forums.phpfreaks.com/topic/137554-solved-onunload-question/#findComment-718914 Share on other sites More sharing options...
dennismonsewicz Posted December 18, 2008 Author Share Posted December 18, 2008 how do you pass that var into the onunload function so when the pop under is triggered i can display the url name? Quote Link to comment https://forums.phpfreaks.com/topic/137554-solved-onunload-question/#findComment-718916 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.