Jump to content
Sign in to follow this  
Johan Jonker

How to mark visited images

Recommended Posts

Hello thanks for letting me join this forum.

Long ago I made a saxophone fingering chart on my site: https://www.johanjonker.net/grepentabel-sax

One of the users asks if I can mark the selected fingering on the left. Is that possible with style sheets?

I made the chart as a table with images in a Joomla module. By selecting an image another page is selected.

The html code is something like this:

<table class="grepentabel">
<td style="text-align: right;" colspan="6">
    <a href="index.php?option=com_content&amp;view=article&amp;id=296:sax-les-lage-bes&amp;catid=16:grepensax">
           <img src="images/stories/noten/saxBb3.jpg" alt="Bb3" />
    <a  href="index.php?option=com_content&amp;view=article&amp;id=297&amp;catid=16:grepensax">
           <img src="images/stories/noten/B3.jpg" alt="B3" />

Share this post

Link to post
Share on other sites

Not with CSS.

I'd redesign the image with divs positioned  around the image , with each div having a JS listener, in place of the finger points.

Edited by niche

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...