Anonymous Function

Started by: Contact Online February 24, 2017 - 16:23

Hello,

I was wondering if you could do me a favour and name a function in your next update? Basically, when I purchased your theme I thought there was a top navigation so I wrote some jquery and php in my child theme in order to change it into a dropdown navigation menu. However, it will only work if I comment out one of your anonymous functions in the parent theme. This one in particular:

$(".top_bar_info_switcher a").on('click', function () {
var id = $(this).attr('href');
var title = $(this).text();
$(".top_bar_info").hide();
$(id).show();
$(".top_bar_info_switcher .active span").text(title);
$(".top_bar_info_switcher ul").slideUp(100);
return false;
});

It is on line 49 within your custom.js file.

Anyway, would it be possible for you to name that function please?

Thanks

Alex

Replies:

  • Author Team
    #3335 Reply

    Baxter
    Hi,

    Our developers will check and try to include the feature as you have asked. Thank you for using our theme!

    Regards

    #3350 Reply

    Contact Online
    Thank you very much its much appreciated

    Alex

You must be logged in to reply to this topic.