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 December 6th 2015, 5:52 pm



Anyone Can Share This Code Box code..


Last edited by balu on December 10th 2015, 10:06 am; edited 1 time in total

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 December 7th 2015, 1:32 am

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.





APE
Manager
Manager

Male Posts : 8333
Reputation : 718
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 December 10th 2015, 6:30 am

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

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 December 10th 2015, 7:23 am


Rhino.Freak
Active Poster

Male Posts : 1243
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 December 10th 2015, 8:03 am

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


How can i change that header and border color

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 December 10th 2015, 8:56 am

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

Edit the colors to your liking.

Rhino.Freak
Active Poster

Male Posts : 1243
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 December 10th 2015, 9: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: )


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 December 10th 2015, 9: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

Rhino.Freak
Active Poster

Male Posts : 1243
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 December 10th 2015, 10: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.

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 December 10th 2015, 10:25 am

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://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