MxGucci Posted November 14, 2008 Share Posted November 14, 2008 Hi, I used an open source code for a 5 star rating system and it works perfectly fine, however I didn't realize when customizing the code to suite my needs that it would refresh the entire page when user rated something, this really annoys me and will bother some of my users. I have hear jquery would help me out with this but I have no concept of it and don't understand most terminology from the tutorials they have on their site. Does anyone just have a simple method of having this script refresh everytime someone clicks on the page rather having to refresh the page. Should I paste the whole code or just the part that echo's the star rating onto the page? Here is how I put it onto my page: include("include/rate.php"); // 5 star rating system echo ' <tr><td background="imgs/menu_master_gfx.gif" align="center" class="left_top_right_border"> <font class="table_title"> User Ratings </td></tr> <tr><td bgcolor="FFFFFF" align="center" class="left_right_border"> <font class="inside_text">'; writeRate($poker_room_field); echo '<p style="margin-top: 0; margin-bottom: 0"> <img border="0" width="0" height="4"></p> </td></tr>'; I think you all might need the entire code as maybe I have to edit some stuff there, but if anyone could possibly fix this for me, I'd greatly appreciate it. For a working example of the script please go to : www.tiltnation.com/beta/reviews.php?site=pokerstars and you'll see the star rating under "USER RATINGS". Test it out and you'll notice it refreshes the entire page. Can someone please help?! Link to comment https://forums.phpfreaks.com/topic/132738-please-help-with-this-star-rating-script/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.