Has help
Small script to easily display hover tool tips
Download all the files.
Click this to download the files
You can attach a popup to anything by simply giving it a class of ‘hasHelp’ and an id. Then adding the help text to a blockquote and giving that a class of ‘helpContents’ and an id of ‘xxxHelp’ where xxx is the id of the element it’s related to.
I decided to use a blockquote as opposed to an attribute on the element, or from some other souce, as this means that without CSS and javascript the help contents are still readable in the page.
even this
giving
different
classes/ids
means
you
can
have
any
number
of
styles
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
Some help popup
See the related blog post for more details.
View the post on livsey.org. que guardaremos en nuestro servidor y modificaremos a nuestro gusto (en el CSS es importante vincular una imagen para el fondo del title). Después, escribiremos en la sección head:
Opciones de discusión
Hay 0 comentarios
No hay comentarios aún. Anímate a participar.
Deja un comentario