Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Show a hidden DIV with URL parameter Reply To: Show a hidden DIV with URL parameter

#263258
Kognak
Participant

Hi,

thanks for your help. I didn’t manage to use your code.

I found another way (I don’t know if it’s the best, but it works) :

if (window.location.search.indexOf('show') > -1) {
    jQuery('.showhid').css({"display":"block"});
}
else {}