PHP Classes

File: web/assets/plugins/flexslider/demo/js/demo.js

Recommend this page to a friend!
  Classes of Felix Ivan Romero Rodríguez   PHP Web Socket Chat   web/assets/plugins/flexslider/demo/js/demo.js   Download  
File: web/assets/plugins/flexslider/demo/js/demo.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Web Socket Chat
Chat system using Websockets or AJAX requests
Author: By
Last change:
Date: 7 years ago
Size: 365 bytes
 

Contents

Class file image Download
$(function(){ var toggles = $('.toggle a'), codes = $('.code'); toggles.on("click", function(event){ event.preventDefault(); var $this = $(this); if (!$this.hasClass("active")) { toggles.removeClass("active"); $this.addClass("active"); codes.hide().filter(this.hash).show(); } }); toggles.first().click(); });