Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Control on CSS on a Jsp Page

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi,
I have one issue with my web site home page which is a three column div layout where left column div contains
Ex: <UL><LI>First Link< LI><LI>Second Link< LI></UL>. I have around 20 links on the page.(Similar to Yahoo Home Page).
Basically i am going to implement a authentication kind of thing where i will be getting a value through java bean after performing security validation and all for which link is to be displayed and which link should not be displayed for each user.

Accordingly i have two css classes in one will have a attribute called visibility:visible and another class visibility :hidden.
Now i want to assign these classes to each UL TAG dynamically .
How can i achieve this?
Kindly help me out to solve this problem.
Thanks &Regards
Naveen
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic