Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Slide and Push Menu – Classie.js

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #237765
    vvaroczi
    Participant

    Hi,

    I want to use the below slide and push menu on a wp page.

    http://tympanus.net/codrops/2013/04/17/slide-and-push-menus/

    WP page:

    http://makeawish.ourverybigday.com/about-us/

    1, added html and ccs
    2, uploaded classie.js to my js folder
    3, created menu.js from the code from tutorial and uploaded to folder
    4, added the below to function.php

    add_action( ‘wp_enqueue_scripts’, ‘exmaple_enqueue’ );

    function exmaple_enqueue() {
    wp_enqueue_script( ‘jquery’ );
    wp_enqueue_script( ‘classie’, get_template_directory_uri() . ‘/js/classie.js’, array(), ‘1.0.0’, true );
    wp_enqueue_script( ‘menu’, get_template_directory_uri() . ‘/js/menu.js’, array(), ‘1.0.0’, true );
    }

    No joy :(

    Anyone could help me out pls

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.