I just added some jquery code to the rating system... so the stars light up on mosueover, and you can just click a star to rate. If anyone wants that code, just let me know- happy to share that. Its a cool add in (here is a working sample page: http://www.bcdb.com/cartoon/13-Snow_White_And_The_Seven_Dwarfs.html Just look for the Purple stars!)
Anyway, it hooks right into rate.pm, so it has all the user can only vote once protections and all that. My only real problem is that when you click a star and rate a cartoon, rate.pm sends you to rate_sucess.html... which is cool normally, but for this method of voting, it would be better if the page does not change, and maybe just a pop up window appears that says, "Thanks For Voting" and you click to make it disappear.
Looks like this is the code in rate.pm where we are sent to rate_sucess.html:
print $IN->header();
print Links::SiteHTML::display ('rate_success', $results);
}
}
ANyone know how I can change thjis to just have an alert box appear instead of going to a new page?
Thanks!
dave
Big Cartoon DataBase
Big Comic Book DataBase
Anyway, it hooks right into rate.pm, so it has all the user can only vote once protections and all that. My only real problem is that when you click a star and rate a cartoon, rate.pm sends you to rate_sucess.html... which is cool normally, but for this method of voting, it would be better if the page does not change, and maybe just a pop up window appears that says, "Thanks For Voting" and you click to make it disappear.
Looks like this is the code in rate.pm where we are sent to rate_sucess.html:
Code:
print $IN->header();
print Links::SiteHTML::display ('rate_success', $results);
}
}
ANyone know how I can change thjis to just have an alert box appear instead of going to a new page?
Thanks!
dave
Big Cartoon DataBase
Big Comic Book DataBase