Div visible on click

1 reply·opened Aug 23, 2019
G
guruguhangunaratnamAug 23, 2019

I have a div that is hidden on page load:

<div id="taco-menu" class="container clearfix hidden">
Tacos are delicious
</div>

Upon clicking "CLICK HERE", I'd like it to appear:

<div id="TACOS">CLICK HERE</div>

S
SemiColonWebSTAFFAug 25, 2019

Hello,

You can consider using the following code:

<script>
jQuery('#TACOS').on( 'click', function(){
	jQuery('#taco-menu').removeClass('hidden');
});
</script>

Additionally, any further customization or feature/functionality enhancements is your responsibility as we currently do not provide Customization related Support according to the Item Support Policy: https://themeforest.net/page/item_support_policy .

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard