View Single Post
  #21  
Unread 01-02-2005, 08:40 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Quote:
Originally Posted by Talyns
Only problem is without an if statment there's no way to tell it to stop scrolling in either direction..
If the user can't figure out when to stop scrolling by the blank space that starts showing up when he clicks too many times...


Side note: If you're using math, you need to make sure you're using the full reference.

OnPress="parent.BLARG.opacity=(parent.BLARG.opacity-0.05)" works.
OnPress="parent.BLARG.opacity=(opacity-0.05)" checks the opacity of the button you're pressing, not BLARG.

Quote:
Originally Posted by Talyns
I hope since theres math statements there are boolean statements like
== (equals), != (doesn't equal)...
Yeah, you can use ! to reverse Boolean values... OnPress="parent.Test.visible=(!parent.Test.visible)" works great.

Unfortunately I don't think there's an "if" statement. OnPress="if(parent.Test.visible==true)visible=false" hides the button whether Test is visible or not.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 01-02-2005 at 09:39 AM.
Reply With Quote