*
The moose likes Struts and the fly likes Changing the look of a fixed tile? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Changing the look of a fixed tile?" Watch "Changing the look of a fixed tile?" New topic
Author

Changing the look of a fixed tile?

Niall
Greenhorn

Joined: Mar 22, 2006
Posts: 6
Hi,

I desperately need help with a problem I'm having using struts tiles. I have a menu with seven options in a file called 'menu.jsp'. This menu appears on the side of every page throughout my application. However, I now want to be able to change the colour of the text for whatever option is currently selected. I've tried using 'onclick' to change the colour of the text for the selected option but because the original colours are defined in 'menu.jsp', once the page reloads the original menu tile is displayed again (ie with no colour changes). I am trying to avoid writing a seperate menu tile for each menu option selected but can't see any other way round this problem. Am I trying to do the impossible?

Any help is appreciated. I'd like to know if anyone else has found a way around this.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Changing the look of a fixed tile?
 
Similar Threads
Tiles - adding background image to a clicked link
html:mutibox and validation Error
Change color of clicked link - tiles
JSF navigation problem
How to print a Specific tile ?