View Single Post
  #5  
Old 05-17-2011, 02:52 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Astram View Post
I used the RC Graal Gui Editor. Because I needed to set it up quick. xD I was in a hurry. I put the script through the Java beatuifier soooo... Also, the timer works perfectly. Thanks, I just got mixed up with the clientWidth. So it would be like.
PHP Code:
clientWidth clientHeight 10
?_?
If you're doing it in a hurry, it's probably not Code Gallery material.

I don't know what beautifier you used, but it didn't work very well. You should be indenting and styling as you script anyway.

The timer may work perfectly, but that doesn't mean it's correct. The smallest timeout possible is 0.05 seconds—there's no reason to make it look like you're using a smaller one.

clientWidth and clientHeight are just the width and height of the element (excluding the border width/height). Set them like ordinary variables.
__________________
Reply With Quote