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.

Stylish Code Box

View previous topic View next topic Go down

Solved Stylish Code Box

Post by balu on Sun Dec 06, 2015 10:52 am



Anyone Can Share This Code Box code..


Last edited by balu on Thu Dec 10, 2015 3:06 am; edited 1 time in total
avatar
balu
Forumember

Male Posts : 72
Reputation : 2
Language : english
Location : India

http://www.kbzteam.forums1.net

Back to top Go down

Solved Re: Stylish Code Box

Post by APE on Sun Dec 06, 2015 6:32 pm

What do you mean by Share "This Code Box code.." Do you mean
1 how the code looks in the box
2 the code that makes the box look as it does ?

If it is how the code looks then you can find the Code here
http://help.forumotion.com/t144528-colorize-the-code-tags
If its number 2 then i think this is copyrighted By FM.



avatar
APE
Manager
Manager

Male Posts : 10648
Reputation : 996
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Stylish Code Box

Post by balu on Wed Dec 09, 2015 11:30 pm

@APE
Bro this code box not showing correctly and not showing numbers
Can you share fm forum code box?
avatar
balu
Forumember

Male Posts : 72
Reputation : 2
Language : english
Location : India

http://www.kbzteam.forums1.net

Back to top Go down

Solved Re: Stylish Code Box

Post by Rhino.Freak on Thu Dec 10, 2015 12:23 am

avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Stylish Code Box

Post by balu on Thu Dec 10, 2015 1:03 am

@Rhino.Freak
Bro i did that tutorial now showing like this :


How can i change that header and border color
avatar
balu
Forumember

Male Posts : 72
Reputation : 2
Language : english
Location : India

http://www.kbzteam.forums1.net

Back to top Go down

Solved Re: Stylish Code Box

Post by Rhino.Freak on Thu Dec 10, 2015 1:56 am

Code:
.codebox {
    background-color: blue;
    border: 1px solid red;
}
.codebox dt {
    border-bottom: 1px solid yellow;
}

Edit the colors to your liking.
avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Stylish Code Box

Post by balu on Thu Dec 10, 2015 2:16 am

@Rhino.Freak
Bro its done ...

Any code For SELECT ALL and COPY ALL option in codebox header?
And i like to change that header name ( code: ) to ( CODEBOX: )

avatar
balu
Forumember

Male Posts : 72
Reputation : 2
Language : english
Location : India

http://www.kbzteam.forums1.net

Back to top Go down

Solved Re: Stylish Code Box

Post by Rhino.Freak on Thu Dec 10, 2015 2:34 am

Try this code for Select Code option
Javascript - Tick in topics!
Code:
$(function(){$('.codebox dt').not(".spoiler > dt, .hidecode dt").html('Code:&nbsp;<a href="#" onclick="$FA_selectCode(this); return false;" title="Select all the content" class="code-a">Select Content</a>')});

And change the codebox title
http://help.forumotion.com/t135638-personalize-the-titles-of-quote-spoiler-and-code
avatar
Rhino.Freak
Helper
Helper

Male Posts : 1248
Reputation : 105
Language : English
Location : Mumbai, India

http://freetest.forumotion.net/

Back to top Go down

Solved Re: Stylish Code Box

Post by balu on Thu Dec 10, 2015 3:05 am

@Rhino.Freak
Code Box Title Change is working fine.. but select content not working.

http://help.forumotion.com/t93456-select-content-button this tutorial working fine ..
Thank you @Rhino.Freak
Topic Solved.
avatar
balu
Forumember

Male Posts : 72
Reputation : 2
Language : english
Location : India

http://www.kbzteam.forums1.net

Back to top Go down

Solved Re: Stylish Code Box

Post by SLGray on Thu Dec 10, 2015 3:25 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40177
Reputation : 2714
Language : English
Location : United States

https://fmthemes.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