• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Tiles - adding background image to a clicked link

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic