test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • multimedion Friend
    #194959

    Hello there..

    I am trying to trigger off-canvas from my custom button in my module but i cant get to work.

    I could just ad a Jquery selector directly in off-canvas.js in plugins/system/t3/base-bs3/js/off-canvas.js, but i rather trigger the event from my own code.

    I have tryed following, but its not working:


    jQuery("#expoze-login").on('tap',function(event){
    //event.preventDefault();
    jQuery("button").trigger('tap');
    return false;
    });

    Anyone haves an sugestion?

    multimedion Friend
    #523420

    Ok Solved it. 😉


    jQuery("#expoze-login").on('click',function(){
    jQuery("button").trigger('tap');
    return false;
    });

    Did the trick..

    fbugalla Friend
    #547745

    Hello,
    I want to have a contact form in the off-canvas sidebar and open it by clicking on a call-to-action button placed into an article. I see you managed to do so by yourself but my coding level is zero, so my question is.. where should I put your snippet in order to make it work?
    Thank you in advance for your reply

    <em>@multimedion 412204 wrote:</em><blockquote>Ok Solved it. 😉


    jQuery("#expoze-login").on('click',function(){
    jQuery("button").trigger('tap');
    return false;
    });

    Did the trick..</blockquote>

    Adam M Moderator
    #548443

    Hi @fbugalla,

    For such kind of customization task, if you’re not familiar with development process, you can hire a developer via Joomlancers to do it for you with a reasonable price.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Adam M 10 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum