Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Modifying On Rate - Pop Up Window Rather Thann rate_sucess

Quote Reply
Modifying On Rate - Pop Up Window Rather Thann rate_sucess
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:

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
Subject Author Views Date
Thread Modifying On Rate - Pop Up Window Rather Thann rate_sucess carfac 4886 May 8, 2012, 7:31 PM
Thread Re: [carfac] Modifying On Rate - Pop Up Window Rather Thann rate_sucess
carfac 4774 May 8, 2012, 7:34 PM
Thread Re: [carfac] Modifying On Rate - Pop Up Window Rather Thann rate_sucess
eupos 4762 May 8, 2012, 8:19 PM
Thread Re: [eupos] Modifying On Rate - Pop Up Window Rather Thann rate_sucess
carfac 4754 May 9, 2012, 6:11 AM
Post Re: [carfac] Modifying On Rate - Pop Up Window Rather Thann rate_sucess
eupos 4752 May 9, 2012, 6:22 AM