Click here to Skip to main content
15,910,981 members
Home / Discussions / Article Writing
   

Article Writing

 
QuestionExisting article closed Pin
Naveen Kumar Matteddula7-Mar-15 21:09
professionalNaveen Kumar Matteddula7-Mar-15 21:09 
QuestionRe: Existing article closed Pin
Thomas Daniels7-Mar-15 21:45
mentorThomas Daniels7-Mar-15 21:45 
AnswerRe: Existing article closed Pin
Naveen Kumar Matteddula7-Mar-15 22:22
professionalNaveen Kumar Matteddula7-Mar-15 22:22 
AnswerRe: Existing article closed Pin
Kornfeld Eliyahu Peter7-Mar-15 21:54
professionalKornfeld Eliyahu Peter7-Mar-15 21:54 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 0:18
professionalNaveen Kumar Matteddula8-Mar-15 0:18 
AnswerRe: Existing article closed Pin
Kornfeld Eliyahu Peter8-Mar-15 0:22
professionalKornfeld Eliyahu Peter8-Mar-15 0:22 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 0:26
professionalNaveen Kumar Matteddula8-Mar-15 0:26 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 0:44
professionalNaveen Kumar Matteddula8-Mar-15 0:44 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 0:46
professionalNaveen Kumar Matteddula8-Mar-15 0:46 
AnswerRe: Existing article closed Pin
OriginalGriff8-Mar-15 0:12
mveOriginalGriff8-Mar-15 0:12 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 0:23
professionalNaveen Kumar Matteddula8-Mar-15 0:23 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 2:07
professionalNaveen Kumar Matteddula8-Mar-15 2:07 
GeneralRe: Existing article closed Pin
OriginalGriff8-Mar-15 2:17
mveOriginalGriff8-Mar-15 2:17 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 2:30
professionalNaveen Kumar Matteddula8-Mar-15 2:30 
GeneralRe: Existing article closed Pin
OriginalGriff8-Mar-15 2:38
mveOriginalGriff8-Mar-15 2:38 
GeneralRe: Existing article closed Pin
Naveen Kumar Matteddula8-Mar-15 2:59
professionalNaveen Kumar Matteddula8-Mar-15 2:59 
GeneralRe: Existing article closed Pin
Nelek8-Mar-15 22:18
protectorNelek8-Mar-15 22:18 
GeneralRe: Existing article closed Pin
OriginalGriff8-Mar-15 22:31
mveOriginalGriff8-Mar-15 22:31 
QuestionNeed help for making a mutli-language code tab Pin
Afzaal Ahmad Zeeshan5-Mar-15 6:19
professionalAfzaal Ahmad Zeeshan5-Mar-15 6:19 
Hey guys,

I am writing an article where, I need to add code in multiple languages (right now, I am willing to post code solution in C++, C#, Java and VB.NET). But I am not able to do so. According to Chris' tip, the following code is required,

HTML
<div class="code-samples">
<pre lang="C#">
...
// some C# code
...
</pre>
<pre lang="VB.NET">
...
' some VB code
...




I am also using the following code,

HTML
<div class="code-samples">
<pre lang="Java">
class ComplexNumber {
// Properties that a ComplexNumber can have
    private boolean isPolar;

    // For a non-polar complex number
    private int real;
    private int imaginary;

    // For a rectangular complex number
    private int radius;
    private int angle;
};
</pre>
<pre lang="C++">
class ComplexNumber {
// Properties that a ComplexNumber can have
private:
    bool isPolar;

    // For a non-polar complex number
    int real;
    int imaginary;

    // For a rectangular complex number
    int radius;
    int angle;
};
</pre>
</div>


But that doesn't seem to work in my case. It does show tab titles (Java, C++) but doesn't actually change the content of the tabs, Java code (first one) is always the code shown, whereas C++ code is shown under the Java code (as a seperate block), not inside the multi-language code tab. Once I click on the C++, it then scrolls the browser's window down to the block where C++ code exists.

Why is it so? The current way the code is being displayed (preview of the article) can be viewed at: http://s28.postimg.org/5st9jvk0t/Screenshot_756.png[^]. Waiting for guidance...
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

AnswerRe: Need help for making a mutli-language code tab Pin
Chris Maunder5-Mar-15 13:20
cofounderChris Maunder5-Mar-15 13:20 
Questionemmm.... how can...? Pin
Nelek5-Mar-15 0:35
protectorNelek5-Mar-15 0:35 
AnswerRe: emmm.... how can...? Pin
Sean Ewington5-Mar-15 1:58
staffSean Ewington5-Mar-15 1:58 
GeneralRe: emmm.... how can...? Pin
Nelek5-Mar-15 6:37
protectorNelek5-Mar-15 6:37 
GeneralRe: emmm.... how can...? Pin
Sean Ewington5-Mar-15 6:52
staffSean Ewington5-Mar-15 6:52 
GeneralRe: emmm.... how can...? Pin
Nelek6-Mar-15 8:29
protectorNelek6-Mar-15 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.