i want add dropdown abridgement in sceditor

Go down

Solved i want add dropdown abridgement in sceditor

Post by coolkool on September 7th 2015, 5:12 pm

hi 

i know I'm hard to explain but Focus with me

i want add button in sceditor like that :
it's dropdown
but i don't want him for size

i want him for abridgement 

Such as when you press the button shows you options such as: Thank you and the like
When you choose one of the options which option you chose in shows in box writing

if you don't have dropdown no proplem gize me normal button 

quickly please

coolkool
Forumember

Posts : 122
Reputation : 3
Language : arabic

http://x-gaming.lforum.biz

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by Ange Tuteur on September 7th 2015, 6:07 pm

avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by coolkool on September 7th 2015, 6:43 pm

Thanks but button appears at the end of the SCEDITOR the end of the buttons I want to make it in the beginning before the Bold button

I apologize because I ask a lot

coolkool
Forumember

Posts : 122
Reputation : 3
Language : arabic

http://x-gaming.lforum.biz

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by Ange Tuteur on September 7th 2015, 7:02 pm

In the script replace this :
Code:
toolbar += '|messages'

by :
Code:
toolbar = toolbar.replace(/bold/, 'messages,bold')

Don't worry about it. ^^
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by coolkool on September 7th 2015, 7:11 pm

thanks bro but 
Became the buttons on the right, and this because of the increased number of buttons to a large degree


If you have the code puts the buttons in the middle, I hope that you give it to me

and thank you very much

coolkool
Forumember

Posts : 122
Reputation : 3
Language : arabic

http://x-gaming.lforum.biz

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by Ange Tuteur on September 7th 2015, 7:32 pm

You want the buttons to be centered, correct ? If so, add the following rule to your stylesheet :
Code:
.sceditor-toolbar { text-align:center !important }
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by coolkool on September 7th 2015, 7:37 pm

thanks brother ^.^ solved you are the best

coolkool
Forumember

Posts : 122
Reputation : 3
Language : arabic

http://x-gaming.lforum.biz

Back to top Go down

Solved Re: i want add dropdown abridgement in sceditor

Post by Ange Tuteur on September 7th 2015, 7:38 pm

You're welcome ^^

Topic archived

Have a good day. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum