Home › Forums › JavaScript › Help with some simple jQuery › Reply To: Help with some simple jQuery
October 14, 2014 at 5:12 am
#186181
Member
The best way to hand all of this would be to tidy everything up into some simple class change events.
That would eliminate all that CSS changing you are doing in the JS. Unless you have an overriding reason to use JS/JQ to amend the CSS…do it with a class change,
Remember, using JS/JQ to amend CSS is actually adding inline css to your page…not updating an already read CSS file.
Neater and better practice to do it with a class change.
Let me work on it.