Support » Plugin: Flexible Map » How to close directions after they appear

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webaware

    (@webaware)

    G’day Pantelis,

    The directions are inside a DIV with class “flxmap-directions”, so you could add a button somewhere that removes content of that div, using a little jQuery like this:

    jQuery("#reset-directions").click(function() {
        jQuery(".flxmap-directions").html("");
    });

    cheers,
    Ross

    hey there. finally got the time to check this out. can you please tell me where exactly should i enter this code you gave me? thanks
    Pantelis

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to close directions after they appear’ is closed to new replies.