Jump to content
View in the app

A better way to browse. Learn more.

Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ips.ui.hovercard

Description

The hovercard widget can be used to display a popup with remote content, which is attached to a trigger element.

 

Example

@todo

 

Usage

The hovercard widget is initialized by including the widget key attribute on a link:

<a href='...' data-ipsHover>Hover on me</a>

The URL that the link points to is also the URL that is called to fetch the hovercard content, by default.

 

Options

target
(String; optional)

If a URL other than the link's href should be used to load the hovercard content, it can be specified in this option.

 

content
(Mixed; optional)

Sets the content of the hovercard. If a selector is provided, the contents of the matching element will be inserted into to hovercard. Alternatively, a string can be supplied which will be inserted into the hovercard. Using this option means remote content won't be loaded by the hovercard.

 

timeout
(Number; optional; default 0.75)

The number of seconds between the user hovering on the element and the hovercard beginning to load (and conversely, hiding when the mouse leaves the element).

 

attach
(Selector; optional)

The element that the hovercard will be attached to. If not specified, the element that the widget is initialized on will be used.

 

width
(Number; optional; default 300)

The width in pixels at which the hovercard will display.

 

onClick
(Boolean; optional; default false)

If true, the hovercard will be activated only when the user clicks on the element. By default, the hovercard will show on hover.

 

 

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.