The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Painting a page, How to allow the user to highlight multiple areas
WillOsborn
post Feb 18 2014, 02:29 PM
Post #1





Group: Members
Posts: 5
Joined: 11-February 14
Member No.: 20,348



I've been using a hover CSS model for some time - e.g., http://www.seco-larm.com/E-941SA-600.htm, where the text under "Descriptions" highlights on mouseover.

I figured that this lent a distinctive flair to the site, one that few other sites display, and that it could be handy if a salesperson was pointing out areas of interest and wanted everyone looking at a big screen to see where he was referring. A further enhancement of this sort would be to allow the user to highlight multiple areas or to draw on top of the screen, something that I would presume can now be done in HTML5. However, since I'm using HTML4 transitional, I'd settle for persistent highlights, altho that begs the question of how to de-select...

So, has anyone tried this or seen it done in straight HTML + CSS? Or know of js hacks for it?

Thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 18 2014, 05:46 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,661
Joined: 10-August 06
Member No.: 7



You might adapt this CSS trick to highlight multiple clicked areas: http://css-tricks.com/the-checkbox-hack/ . But don't hide the checkboxes --a form control like a checkbox is a familiar interface to the user, which is always good.

To do something similar onmouseover I think you must use javascript. To deselect several mouseover highlights maybe you could use a "reset" button of some kind. But since users may accidentally highlight content when moving around with the mouse on screen, I think a clickable control is a much better idea.

BTW for usability reasons you may want to use a different style for highlights than for ordinary hovered links, or users may become confused by that as well.



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 06:20 AM