See the widget in action on our Widget Demo Page.
First, copy the widget script below, replacing yoursubdomain
with your own Artworker subdomain (e.g., if your Artworker subdomain is speedypress
, replace yoursubdomain
with speedypress
).
<script type="text/javascript" src="https://storage.googleapis.com/embed.artworker.io/artworker-fsp-widget-popup.js?subdomain=yoursubdomain"></script>
Paste the widget script into the <head>
section of your website's HTML.
Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="https://storage.googleapis.com/embed.artworker.io/artworker-fsp-widget-popup.js?subdomain=yoursubdomain"></script>
<title>Your Website</title>
</head>
To open the file-sharing widget, you can use either a button or a link. Just add the data-artworkerio-modal="open"
attribute to your chosen element.
Button Example:
<button data-artworkerio-modal="open">Share File</button>
Link Example:
<a data-artworkerio-modal="open" href="#">Share File</a>
Save your changes and visit your webpage. Click your button or link, and the Artworker file-sharing widget should pop up, ready to use