Please provide a link to a page on your site where you are using the plugin. Also what exact changes did you make to the plugin?
Hi,
Thanks for the quick response.
URL: http://pammeyerson.thatgirlva.com/press-room-pam-meyerson/
Code behind the page:
[popup url=”https://makeitbetter.net/better-you/strategies-to-stop-fighting-about-money” height=300 width=300 scrollbars=”yes” alt=”popup”]Strategies to Stop Fighting About Money[/popup]
[popup url=”https://makeitbetter.net/better-you/c129-sex-and-the-suburbs-better-you/5-things-you-should-know-about-marriage-counseling” height=300 width=300 scrollbars=”yes” alt=”popup”]5 Things You Should Know About Marriage Counseling[/popup]
Changes:
alligator-pop.php_orig: return ‘‘ . $content . ‘‘;
alligator-pop.php_new: return ‘‘ . $content . ‘‘;
popup.js_orig: $(‘.popup’).click(function() {
popup.js_new: $(‘.rajapop’).click(function() {
Thanks,
Michael
Those first changes:
alligator-pop.php_orig: return ‘<a href=”‘ . esc_attr($url) . ‘” class=”popup”
alligator-pop.php_new: return ‘<a href=”‘ . esc_attr($url) . ‘” class=”rajapop”
I have just taken a look at http://pammeyerson.thatgirlva.com/press-room-pam-meyerson/ and the popup appears to be working correctly – a new window pops up in the middle of the page. This is on firefox 39.0 OSX, but should be the same on other browsers. Which browser are you having a problem with?
It seems to be working fine in chrome for me. Can you try any other browsers?
All set. It was a Chrome cache issue.
It works in Chrome, Firefox and Internet Explorer. It also works in Safari mobile.
Thanks!
Michael