Force open on redirect
-
I’m trying to work out a way to force open on page load. I tried using a query string like so:
jQuery(document).ready(function($){ var fp = getParameterByName('fp'); if(fp){ $('.printfriendly a').click(); } });
That JS function checks for fp=true in the url on page load, and clicks the button if it is there.. but that opens the default system dialogue instead of the PF window. Is there anything in the core that would handle this more efficiently?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Force open on redirect’ is closed to new replies.