Does anyone know how to hide .kn-crumbtrail only in one specific page?
Awesome! tks again!
use like this
$(document).on('knack-scene-render.any', function (event, view, records) {
if ($("#kn-scene_xyz").is(":visible") || $("#kn-scene_xyz").is(":visible")) {
$(".kn-crumbtrail").hide();
}
else {
$(".kn-crumbtrail").show();
}
});
add or conditions
Sunny,
and if I want to add more than one scene? What do I have to change in the code?
Tks!
Worked like a charm! Tks Sunny!
Hi
Try below code
$(document).on('knack-scene-render.any', function (event, view, records) {
if ($("#kn-scene_xyz").is(":visible")) {
$(".kn-crumbtrail").hide();
}
else {
$(".kn-crumbtrail").show();
}
});
change scene_xyz to your actual screen id
Thanks
Sunny Singla
+919855089359
Hello, perhaps the code here is outdated but not sure…the example is not working for one of my specific pages.