w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Website Development: How to make the text/image emerge when a user click on the another text/image?

Consider using the JavaScript onClick(); event: http://www.w3schools.com/jsref/event_onclick.asp.

Set your the element that you want to show to display:none; then set to display:block; onclick or even use the jQuery fadeIn effect.

I'm not entirely too sure what you're after, but I hope that this is a start.

Set an ID to the element (like ). In your CSS stylesheet, simply add the following:

#hideMe { display:none; }

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.