• Post Reply 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Tiles - adding background image to a clicked link

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I have a menu bar which is displayed in a tile. This menu is fixed and displayed across all pages on the site. Now, I want to add a dot to the background to indicate which option has been selected. I've tried this code without success:



There are 7 of these colums with similar code. I'm trying to avoid writing a separate menu bar for each menu option clicked and I'm hoping that this can be done using 'onclick' (i've had t use 0nclick in the example to get round the problem of posting html code) to place an image behind a clicked option. Can anyone make any suggestions?

Any help appreciated.
Thanks.

[ March 22, 2006: Message edited by: Niall Mc Gurk ]
[ March 22, 2006: Message edited by: Niall Mc Gurk ]
 
She'll be back. I'm just gonna wait here. With this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!