The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

i want add dropdown abridgement in sceditor

View previous topic View next topic 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 : 116
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


Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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 : 116
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. ^^

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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 : 116
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 }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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 : 116
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

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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