Basics of xhEditor and introduction to xheditor
1. download the latest version of xhEditor: http://xheditor.com/download (official website can not download, CSDN provides download: http://download.csdn.net/detail/itmyhome/7741815)
2. decompress the downloaded compressed file and upload xheditor. min. js, xheditor_lang, xheditor_emot, xheditor_plugins, and xheditor_skin.
Four folders to the corresponding folder of the website.
Note: if you do not use the jQuery framework, upload jquery. js together.
3. Add the following code to the page:
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script><script type="text/javascript" src="/js/xheditor.min.js"></script><script type="text/javascript" src="/js/xheditor_lang/zh-cn.js"></script>
Note: The js file paths of jQuery and xhEditor must be modified based on the specific path of your website.
4. Add class = "xheditor" to the textarea attribute of the text box to be visualized. For example:
<textarea name="content" rows="10" cols="110" class="xheditor">Hello xHeditor</textarea>
The effect is as follows:
Project demo source code download: http://download.csdn.net/detail/itmyhome/7741815
Basic Books on Painting
There is a "five days to learn painting: 2 minutes of Miracle". When I was studying art, I was fascinated by my teacher. I also tried it myself. It's not bad.
Xheditor is very useful, but how can I get it in asp?
I don't need to talk about it for a long time, nor do I need to talk about it professionally (I'm afraid I don't understand it). I just learned these three languages. Let's talk about ASP first. I learned ASP PHP in sequence.. NET. ASP is the most suitable for beginners, because it is not really a program, just like talking, very straightforward, without turning around, PHP and. NET is oriented to image programming, which involves a class. The essential difference between ASP and PHP is that PHP involves classes. PHP follows the programming style. NET. net is super easy. net is also super easy to learn PHP, and the programming style is similar. Create a class and then call the class. However, it should be noted that. net is indeed more complex than PHP, and its functions are also different. If you want to learn it, you can start learning ASP first, then PHP, And then. NET because I learned it at the beginning, and it feels quite good.