side slidebar

i'm not sure what you call it but i guess it's slidebar - my question is that how to get it to other side, if it's on left side like most of them are then how to get it to right side. is there something i have to change inside script?

thank you!
1,043 views 1 replies
Reply #1 Top
Ok This script will work for the Right hand side, mouse over a small part of the object left on screen and it comes out
Sub Object_OnMouseEnter
Object.KillTimer 2
Object.SetTimer 1, 10
End Sub

Sub Object_OnTimer1
If Object.Left <= System.VScreenLeft + System.VScreenWidth - Object.Width Then 'Makes the object "stick" to the right of the screen
Object.KillTimer 1
Else
Object.Left = Object.Left - 1 'Else moves the object out
End If
End Sub

Sub Object_OnMouseLeave
Object.KillTimer 1
Object.SetTimer 3, 2500 'Adds a little gap so you can do what you like with the object
End Sub

Sub Object_OnTimer3
Object.SetTimer 2, 1
Object.KillTimer 3
End Sub

Sub Object_OnTimer2
If Object.Left >= System.VScreenLeft + System.VScreenWidth - 40 Then
Object.KillTimer 2
Else
Object.Left = Object.Left + 1 'Draws the object back to the right
End If
End Sub