• Hi,
    I have done exactly as stated in directions – Input custom code and adjust divs. I have tried using only jquery effects but none worked. Even the simplest jquery code doesn’t work(click to fade div).
    Also tried getting several code samples from your project site – and they dont work(on default or customized).
    I have read all the previous posts regarding this issue and followed those instruction as well.
    It doesn’t make a whole lot of sense that even basic jquery doesn’t work..
    Again, I have done:
    1. Install plugin
    2. Input custom code
    3. Changed div id’s to match with my code

    Is there any way i can debug this or does someone have working jquery effects on front-end ui in wordpress?

    in custom code input box:

    jQuery(document).ready(function($) {
    $( document ).click(function() {
      $( "#toggle" ).toggle( "fade" );
    });
    	});

    in header.php:
    <div id="toggle">Hi!</div>

    Again – i have tried several variations with id’s and classes, with added <script> or without etc. and nothing seems to work.

    Thank you for your time and help!

    http://wordpress.org/extend/plugins/jquery-ui-widgets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jmikewp

    (@jmikewp)

    So,
    This seems to work.

    jQuery(document).ready(function($) {  $( "#opener" ).click(function() {
      $( ".thing" ).toggle( "fade" );
    }); });

    Maybe the input has to be a button – otherwise it doesnt work.
    <button id="opener">fade</button>

    Please confirm or let me know – though effects work with button(otherwise they don’t seem to work.)
    Thanks!

    Plugin Author David Gwyer

    (@dgwyer)

    Please try the jQuery forums if you are still having issues.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working?’ is closed to new replies.