I dont know what the name of the function is but I see on many other forums where certain words will show a definition when the mouse hovers over it. how is this done in Vbulletin5?
Announcement
Collapse
No announcement yet.
hover definition
Collapse
X
-
Sounds like a third party add-on of some sort. There's nothing in the default software that would do this.
-
The HTML Tag that does this is the DFN tag. You can accomplish this in vBulletin by adding a BBCode. In the AdminCP go to Custome BB Codes -> Add New BB Code.
Name: DFN
tag: dfn
replacement: <dfn title="{option}">{parameter}</dfn>
example: term
use option: Yes.
Customize the look of the tag with CSS. By default, it will be italicized.
You can also accomplish similar using the Replacement Variable tools in Styles. However, these are global and will replace every instance of the word on the page. So if you set up:
Amazon to be replaced with <dfn title="One of the world's largest online shopping sites">Amazon</dfn>
It will replace every instance. This includes usernames, links (it will break links), channel titles, etc..
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API
- Likes 1
Comment
-
Cool! .... I cant seem to get this to work and Ive tried a million ways and no effect on the words in a post.. Can you post a screen shot of exactly what it should look like in the BBC manager with Amazon as the word being defined or any word is fine.
Comment
-
You actually have to type the definition into the code when you use it in a post.
So once the bbcode is defined you would use AmazonTranslations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API
Comment
-
This requires a custom mod. I have a kind of similar mod where configured words or phrases get linked automatically to the designated URL. In your case, the word will just need to be automatically inserted in an HTML tag (if not already) and add a title attribute to it so that the browser will display a tooltip when you hover it.
Comment
Related Topics
Collapse
-
by zonawI using anchor links with custom bbcode:
Code:- example: www.cerberuz.com/forum/descargas/20-descargar-encarta-2016-gratis-para-windows - anchors look like this: www.cerberuz.com/forum/descargas/20-descargar-encarta-2016-gratis-para-windows#redes
-
Channel: Support Issues & Questions
Fri 15 Apr '16, 11:47am -
Comment