Loading...
WordPress

Du joli code dans votre HTML

Si vous voulez afficher le source d’un code dans votre page HTML, voici un plugin en javascript qui peut vous aider.
Le code est ici c’est prettify

Si vous voulez l’utiliser en plugin WordPress il vous faudra ajouter un script php dans le dossier du plugin nommé par exemple google_code_prettify vous trouverez le code du php google_code_prettify.php ici

vous mettrez simplement votre code entre <pre class= »prettyprint>..</pre> ou <code

Exemple de code un bouton reload d’une application Flex :

< ![CDATA[
private function onReloadFlexApp():void
{
var urlRequest:URLRequest = new URLRequest(Application.application.url);
navigateToURL(urlRequest,"_self");
}
]]>
7 comments
  1. yeezy 500

    Thank you for your entire effort on this site. My daughter delights in making time for investigations and it’s easy to understand why. Most of us learn all regarding the dynamic way you render powerful solutions by means of the web site and as well as encourage response from other people on the idea and my girl is always being taught a whole lot. Take advantage of the remaining portion of the year. You’re the one performing a splendid job.

  2. off white nike

    I really wanted to construct a brief remark so as to thank you for some of the remarkable guidelines you are showing here. My particularly long internet research has finally been rewarded with really good concept to talk about with my friends. I ‘d declare that most of us readers are unequivocally fortunate to dwell in a notable site with very many brilliant individuals with interesting tricks. I feel quite grateful to have discovered the web site and look forward to many more amazing minutes reading here. Thanks once again for all the details.

  3. steph curry shoes

    I wanted to put you this bit of note to thank you so much as before over the pleasing concepts you have discussed above. It’s quite unbelievably open-handed of you to give publicly just what numerous people would’ve offered for sale for an ebook to help make some profit on their own, mostly given that you might have tried it if you ever desired. The good tips additionally served to be the good way to fully grasp that other people online have the identical desire really like my own to figure out significantly more when it comes to this condition. I believe there are a lot more fun sessions up front for individuals who read through your site.

  4. supreme hoodie

    I together with my friends have already been digesting the good pointers found on your website and then instantly I had a horrible suspicion I had not expressed respect to you for those techniques. My boys happened to be absolutely happy to study all of them and have unquestionably been taking pleasure in these things. We appreciate you turning out to be indeed considerate and also for choosing this form of nice themes millions of individuals are really desirous to discover. My very own sincere apologies for not expressing appreciation to sooner.

  5. a bathing ape

    I needed to put you one bit of word in order to say thanks a lot once again on your fantastic secrets you have featured on this site. This has been so particularly open-handed with people like you to allow extensively precisely what a number of us might have made available as an e book to generate some cash on their own, particularly seeing that you might well have tried it if you ever wanted. These techniques as well acted to become great way to know that most people have the identical interest similar to my very own to know many more on the topic of this matter. I know there are a lot more pleasant situations ahead for folks who scan your site.

  6. supreme shirt

    I would like to get across my affection for your generosity for persons that should have help on this one topic. Your personal commitment to passing the solution all around had been astonishingly practical and have all the time empowered workers just like me to get to their goals. Your insightful suggestions implies a whole lot a person like me and further more to my office colleagues. Many thanks; from everyone of us.

  7. kyrie shoes

    I wish to express some thanks to the writer just for rescuing me from such a situation. Right after checking through the internet and meeting tips that were not helpful, I was thinking my life was gone. Living devoid of the strategies to the difficulties you’ve resolved as a result of your good website is a critical case, and the kind which may have adversely affected my entire career if I had not noticed your site. The mastery and kindness in maneuvering all areas was important. I’m not sure what I would’ve done if I had not encountered such a solution like this. I am able to at this time look ahead to my future. Thanks so much for this skilled and effective help. I won’t think twice to refer the sites to anyone who will need support about this subject matter.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *