Web Dev Solutions

Catalin Mititiuc

From 263201d869956b94660d4efa8297e89dadbe36a8 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 12 Apr 2024 10:57:15 -0700 Subject: Initial commit --- public/image.svg | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ public/index.html | 33 ++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 public/image.svg create mode 100644 public/index.html (limited to 'public') diff --git a/public/image.svg b/public/image.svg new file mode 100644 index 0000000..5a5c3d9 --- /dev/null +++ b/public/image.svg @@ -0,0 +1,82 @@ + + + + + + diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..8040421 --- /dev/null +++ b/public/index.html @@ -0,0 +1,33 @@ + + + + + + SVG Pan & Zoom Example + + + +

Pan & Zoom an SVG Image with JavaScript

+ +

+ Click and drag on the image to pan. Use the mouse wheel + to zoom in and out. +

+ + + + + -- cgit v1.2.3