javascript - Is there any solution to redirect facebook fan page after submission -


in facebook app, pull website form enter data. after submit form it's showing message. want re-direct facebok fan page. can't. used several method i'm going crazy :(

<?php echo "<div class='success'><font color='green' size='5'>congratulation!. submited recipe. thank you.</font/></center></div>"; //header("refresh:5; url=fan_page_url"); //echo "top.location.href='fan_page_url'"; //header("refresh: 1;"); //header("location: fan_page_url"); ?> <script type='text/javascript'> window.location.href = 'fan_page_url'; </script> 

you may need this

<script type='text/javascript'>     window.top.location = 'http://www.facebook.com/fanapage';  </script> 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -