PortfolioJs

html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return

0
baisser scrollbarr et vider formulaire

html', data: $form.serialize() }).then(function (data) { $("#affiche_mess").html(data); // Mise à jour des messages $.ajax({ url: '/fiche_cli/liste_profil.php', method: 'GET', dataType: 'html', data: $form.serialize() }).then(function (data) { $("#list_profil").html

2
Creer un site de A à Z jour 5: Problème tableau d'options Form.php

html .= ' '; }elseif($options['type'] == 'textarea'){ $html .= ' '.$value.' '; }elseif($options['type'] == 'checkbox'){ $html .= ' Mettre en ligne '; } $html .= ' '; return $html; } } ``` PostsController: ```

2
Gulp + Livereload

html' ]) .pipe(livereload()); }); gulp.task('css', function() { return gulp.src([ 'www/**/*.css' ]) .pipe(livereload()); }); gulp.task('php', function() { return gulp.src([ 'www/**/*.php' ]) .pipe(livereload()); }); gulp.task('reload', function() { livereload.listen(); gulp.watch('www/**/*.html', ['html']).on('change

0
la classe form tuto A à Z jour 5

options as $k => $v) { if ($k!='type') { # code... $attr .= " $k=\"$v\""; } } if (!isset($options'type'])) { $html .=' '; }elseif ($options'type']=='textarea') { $html .=' '.$this->controller->request->data->$name.' '; }elseif ($options'type']=='checkbox') { $html .=' '; } $html .=' '; return $html; } }

4
Replace par expression

html> par J'utilise donc la fonction replace : $(this).html($(this).html().replace(' ', ' ')); Je me demandais s'il était possible d'utiliser des expressions régulières, du style : $(this).html($(this

1
Notice (8): Undefined variable: animal [CakePHP2]

Html->link( 'Ajouter un Animal', array('controller' => 'animaux', 'action' => 'add') ); ?>

5
Image sur les webmails

html = ob_get_contents(); ob_end_clean(); return MAIL::send($mail,$html,$object); } public static function send($mail,$html,$subject){ if (!preg_match("#^[a-z0-9._-]+@(hotmail|live|msn).[a-z]{2,4}$#", $mail

1
Datatables, admin-lte et Cakephp

Html->css('sygaj_theme'); ?> Liste des candidats Id Nom Prénom Sexe Ceinture Poids Clubs Suppression

5
Problème de relation

Html->script('tiny_mce/tiny_mce.js',array('inline'=>false)); ?> tinyMCE.init({ mode : "textareas", theme: "advanced", plugins : "inlinepopups,paste,image", theme_advanced_buttons1 : 'bold,italic,underline,|,bullist

2