I am trying to display the Doofinder form but without having an input text. I have tried to create the input and make a trigger to be able to call it whenever I want but without success :(
HTML:
<script type='text/javascript'>var doofinder_script = '//cdn.doofinder.com/media/js/doofinder-fullscreen.latest.min.js';
(function (d, t) {
var f = d.createElement(t), s = d.getElementsByTagName(t)[0];
f.async = 1;
f.src = ('https:' == location.protocol ? 'https:' : 'http:') + doofinder_script;
f.setAttribute('charset', 'utf-8');
s.parentNode.insertBefore(f, s)
}(document, 'script')
);
var dfFullscreenLayers = [{
"toggleInput": "#opendoofinder",
"zone": "XXXX",
"hashid": "XXXXXXXXXXXXXXX",
"display": {
"lang": "es"
}
}];
</script>
<input type="text" id="opendoofinder" style="display: none;"/>
<script>
$(document).on('click', '.toggle_search_opened, .menu_hamb_left .closehamb .searchbox', function (e) {
$('#opendoofinder').focus();
});
</script>
changing the
input
for a<a>
Solved by the Doofinder administrator via email