Parameter | Description | Example of usage |
---|---|---|
data-url |
link to a page | <div class="share42init" data-url="http://site.name/page-title/"> |
data-title |
title of a page | <div class="share42init" data-title="Page Title"> |
data-image |
link to an image [1] | <div class="share42init" data-image="http://site.name/image.jpg"> |
data-description |
description of a page | <div class="share42init" data-description="Page description"> |
data-path |
path to a folder containing icons.png file | <div class="share42init" data-path="http://site.name/share42/"> |
data-icons-file |
name of the file with icons | <div class="share42init" data-icons-file="my-icons.png"> |
data-zero-counter |
1 - show the zero counter, 0 - don't show the zero counter | <div class="share42init" data-zero-counter="1"> |
The parameters for the vertical panel | ||
data-top1 |
distance from the top of the page to the panel, in pixels | <div class="share42init" data-top1="150"> |
data-top2 |
distance from the top of the visible area of the page to the panel, in pixels | <div class="share42init" data-top2="20"> |
data-margin |
horizontal displacement of the panel, in pixels (negative value - to the left, positive value - to the right) | <div class="share42init" data-margin="-70"> |
[1] data-image
parameter does not work for Facebook. Wherefore add the following tag inside the <head>
tag on your website:
<meta property="og:image" content="http://site.name/image.jpg" />