UI Modding Questions

Maybe. But at least I know the basics.

Go to Codeacademy and learn JavaScript. Thats how I got into it.

1 Like

That’s how I do too. I’m exatcly at 52% What about you

100% :slight_smile:

D: Does it say how to create buttons somewhere?

What button are you trying to make? An “OK” button on your window?

1 Like

A button which has text and does close the window and cofirm the contents

A button which adjucts the fans or cash or hype would be good. I will need to make the button first and then edit what it does

Just search on Google “JavaScript Button”!

1 Like

Alright, gotta pause codecademy for a while

1 Like

So I search for a button with an onclick event?

This is the way I add buttons to my windows:

Buttondiv.append('<div id="smallbutton" class="selectorButton whiteButton " onclick="Createinfo(this)" style="position: relative;width: 202px;" >Small contract</div>');

I just managed to do it and I saw your answer. Lemme see what it does

what if I renamed Buttondiv to just div?

Works fine. @Mabb but, I suggest you use orangeButton , they’re more baddass :smiley:

1 Like

a greenButton exists as well! :open_mouth: