e2openplugin-OpenWebif icon indicating copy to clipboard operation
e2openplugin-OpenWebif copied to clipboard

Remote control templates

Open IanSav opened this issue 5 years ago • 5 comments

In the remote control template files, "remote.html", used by OpenWebif what is the purpose of the "alt" attribute in the "area" tag?

These "area" tags are a map overlay coordinates over an image of the remote control. Is the "alt" attribute being used in some way by the OpenWebif code?

If the purpose was intended to be a hover help for the areas being mapped out then the correct attribute should be "title".

IanSav avatar Feb 23 '20 03:02 IanSav

There are some html files with only "title" and some with "alt" and "title". This looks like a copy paste issue. We don't need the "alt" attribute.

jbleyel avatar Feb 29 '20 13:02 jbleyel

Thank you. I will remove the "alt" attributes from my recent Zgemma update.

IanSav avatar Mar 01 '20 06:03 IanSav

@jbleyel, as we correct and update remote controls we are now converting alt= attributes into title= attributes.

There is one more question: Some remote controls have an id= attribute and some do not. Is the id= attribute used by OpenWebif or can it also be removed? (The value, when it is used, appears to be the same as that used in the pressMenuRemote() function.

IanSav avatar May 02 '20 06:05 IanSav

The id attribute is not needed.

jbleyel avatar May 03 '20 11:05 jbleyel

Thank you for the confirmation. We will drop the id= tag from all updated remote controls.

IanSav avatar May 03 '20 14:05 IanSav