lelebug
09-27-2003, 01:54 PM
I would like to find a way to set the visibility style to hidden to all html objects having the same class name.
Is it possible?
thanks in advance.
Lelebug
Is it possible?
thanks in advance.
Lelebug
|
||||
Stylelelebug 09-27-2003, 01:54 PM I would like to find a way to set the visibility style to hidden to all html objects having the same class name. Is it possible? thanks in advance. Lelebug glenngv 09-27-2003, 02:26 PM <style> .hidden {display:none} </style> <input class="hidden" type="text"> <p class="hidden">Hidden</p> ... lelebug 09-27-2003, 02:36 PM Yes, I know that, but i want to set the objects to hidden only if user disabled it on the database. Thanks glenngv 09-27-2003, 03:42 PM so you must be using a server-side language... just have a server-side variable that will contain the corresponding value from db <% 'set strCSSDisplay to none or empty depending on the value retrieved from db %> <style> .dynamic {display:<%=strCSSDisplay%>} </style> <input class="dynamic" type="text"> <p class="dynamic">Hidden or not</p> lelebug 09-28-2003, 09:55 AM thank you very much glenngv, it's what I looking for!!!! |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum