News:

Wondering if this will always be free?  See why free is better.

Main Menu

Hiding a DIV in SMF 2.1....

Started by dougiefresh, April 25, 2015, 07:46:05 PM

Previous topic - Next topic

dougiefresh

Anyone know how to properly hide a <div> section using SMF 2.1 Beta 1 using a <select> option?  I'm trying to hide the labels area in the PM section and can't figure it out.  Assistance would be appreciated!  Thanks in advance!

margarett

You need to use JavaScript associated to the select control.

I'm on the phone but if you check this
https://github.com/margarett/CustomAction_new

I think I did something similar to what you want. Not exactly sure anymore, though :P
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

dougiefresh

Thanks, margarett!  I found an answer here: How to hide a div with jQuery?.  This works perfectly for SMF 2.1 Beta 1!

Advertisement: