| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ ! ] Hide a css class to guests | |
|---|---|
| Tweet Topic Started: Dec 8 2014, 02:16 AM (230 Views) | |
| nogats07 | Dec 8 2014, 02:16 AM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
I need a code that will hide a particular css class to guests |
![]() |
|
| Cory | Dec 8 2014, 02:27 AM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try that, change CLASS and CLASS_NAME as necessary. |
![]() |
|
| nogats07 | Dec 8 2014, 02:34 AM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Like this ![]() <script type="text/javascript"> if ($.zb.logged_in === false) { $('#search').removeClass('#search'); } </script> |
![]() |
|
| Cory | Dec 8 2014, 02:38 AM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
#search is an ID, is that what you were wanting to remove instead? .search would be a class. |
![]() |
|
| Helena | Jan 7 2015, 12:41 AM Post #5 |
![]()
M is for Mod
![]()
|
This request has gone a lengthy period of time without any new activity, therefore it is being marked as expired. Thank you. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:32 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)





8:32 PM Jul 10