Sandeep, I have now edited the article and have added the download link. Apart from this, I have uploaded the zip file in the right hand side uploading section of the codeproject webapage. The download link on my article is:
Upon doing so, on my article, a simple hyperlink appears just like below:
Download Cursor Loader Example
Plain text which is clickable and code is downloadable.
You can see my article. I have published it.
Thanks for the reply Sandeep! I have edited the post and have submitted for the approval.
I would like to say that, firstly my colleague did not add any code for downloading the source code. He just uploaded the code in the right hand panel of the web page. Secondly, he does not even know about this css class called "download". Still, the same download widget appears on his web page.
I also faced issues in uploading the code snippet which I have discussed in another Thread. Uploading complete class is not an issue, but when we think of attaching just code snippet, then we need to format it manually with the pre block.
What I asked was how to fix it. All that would happened by default if you would have used the article submit workflow where it asks if any download to be attached.
About code blocks, you need to always wrap it with a pre tag with a defined language to get proper colorization. You don't need to know any class or style. Put few line of code, select them and use 'code -> C#' for C# code lines. It will automatically apply the need HTML with attribute if any.
Since, I could not edit your article, I suggested you a way to do it yourself.
Still I'm not able to upload my code.
I'm in the edit mode. If I'm not wrong, "Add files" is the button used to upload my code. I browsed my code to be uploaded [ which is in zip format ], but there is a cursor which keeps on rotating next to the Upload files button. I noticed one more thing that, even if I just enter into the edit mode, the status next to the upload files button is just keep on rotating.
I am trying to write an Article on Android Mobile Application. While I am writing the code, e.g.
To hightlight this code section, I selected 'Formatted' and then selected 'Java' as the language. When I preview this web page, the above code is shown as follows:
I published my first CP article as part 1 of two-part series based on the same material which is available for download in part 1. Since I have part 2 already prepared and ready for submission page, what would be the best way to add the same links to part 2? I presume there is a better way than just upload files from part 1 again?
Last Visit: 31-Dec-99 18:00 Last Update: 24-Apr-14 13:54