Tutorial - Vevioz Share Plugin Example | Vevioz Developers

Tutorial Vevioz Share Plugin Example

DevOps

Linux Systems Engineer
Joined
Oct 18, 2019
Messages
176
Reaction score
14
Points
18
Location
Novosibirsk, Russia
Website
addons.vevioz.com
Offline
  1. Place the following code on your site, under the <head> tag:
    Code:
    <script>
    function OpenWindow(url, windowName) {
    newwindow = window.open('https://www.vevioz.com/sharer?url=' + url, windowName, 'height=600,width=800');
    if (window.focus) {
    newwindow.focus();
    }
    return false;
    }
    </script>
  2. Once placed, pass your site url to the function, example:
    Code:
    <button onclick="OpenWindow('http://yoursite.com/')">Click me</button>
 
Top Bottom