I created another png file with my 4 icons. This png has the same dimensions as the original checkbox_2.png: Each icon is 18px by 18px, the full size is 72px by 18px. All I do is change the name of my png to checkbox_2.png and replace the original icon file.
The icons show up correctly and even change correctly after I vote. However now if I scroll down the page and vote on something, it will refresh the page when i click vote and scroll me back to the top of the page.
I didn’t change any code and the png files were the exact same dimensions and all I did was replace the png file with another png file. What could cause the code to mess up like this and refresh my page after every vote??
Please help! Also you can see the problem here: http://www.hopecookie.com
Thank you in advance.
- The topic ‘[Plugin: Emo Vote] Replacing icon picture bugs the code, how to fix?’ is closed to new replies.