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");
}
]]>
55 comments
  1. kyrie spongebob

    I want to convey my love for your generosity giving support to people that really need assistance with this study. Your real dedication to getting the message up and down turned out to be astonishingly valuable and have surely encouraged many people much like me to attain their goals. The warm and helpful guideline indicates so much to me and additionally to my mates. Thanks a ton; from each one of us.

  2. nike off white

    I am commenting to make you understand what a incredible encounter my friend’s daughter obtained viewing your blog. She figured out a wide variety of issues, which include what it’s like to possess an incredible giving heart to have a number of people just learn specified impossible subject matter. You really surpassed visitors’ expected results. Thanks for showing such important, trustworthy, educational and in addition fun thoughts on that topic to Jane.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.