Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Re: Hide delete button section 29.06.2015 10:04
Hi,
you could use the function hide() to hide from user view any element of the calculator. If you insert the element inside a div with id="mydiv" for ex, you can hide it using:
CB("#mydiv").hide();
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
you could use the function hide() to hide from user view any element of the calculator. If you insert the element inside a div with id="mydiv" for ex, you can hide it using:
CB("#mydiv").hide();
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
Re: Hide delete button section 30.06.2015 09:50
Hi,
To hide all delete buttons, selector should be class:
CB(".cb_delete").hide();
This will hide all delete buttons in all sections in your page. But if you want to hide buttons only in some sections, you should enclosure your section in a div with id (for example id="mysection"), and then add it to selector:
CB("#mysection").find(".cb_delete").hide();
This will only hide delete buttons on section selected.
Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es
To hide all delete buttons, selector should be class:
CB(".cb_delete").hide();
This will hide all delete buttons in all sections in your page. But if you want to hide buttons only in some sections, you should enclosure your section in a div with id (for example id="mysection"), and then add it to selector:
CB("#mysection").find(".cb_delete").hide();
This will only hide delete buttons on section selected.
Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es
Re: Hide delete button section 01.07.2015 09:20
Hi,
are you/user creating sections dinamically? Then the js code won't affect, as it executes once as soon as the page is ready. If this is your case, you can try to add css classes instead. You can use any css present at the page, the calcbuilder one, or add styles directly at the js tab 'write directly in html page'. You can add there style tags with the classes needed.
Hope this helps, regards
Moonsoft Team
www.moonsoft.es
are you/user creating sections dinamically? Then the js code won't affect, as it executes once as soon as the page is ready. If this is your case, you can try to add css classes instead. You can use any css present at the page, the calcbuilder one, or add styles directly at the js tab 'write directly in html page'. You can add there style tags with the classes needed.
Hope this helps, regards
Moonsoft Team
www.moonsoft.es