No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
I have this code for a hover effect, it was working, but now won't. jQuery is working, but events from jquery aren't... [CODE] $(document).ready(function () { $("#logoimg").hover(function () { $("#logoimg").attr("src", "Media/imgover.png"); $("#logoimg").animate({ width: 420 }, 300); }, function () { $("#logoimg").attr("src", "Media/imgout.png"); $("#logoimg").animate({ width: 400 }, 300); }); });[/CODE]
You should just use a while loop with a counter, and a break statement... Here's an example: [CODE] class Game { public void Main() { int counter = 0; bool win = false; int number = 10; //Set number... while (counter<=6) { input = 0; //Input set to input... if …
The End.
EternityCoder