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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -