background preloader

Jquery image maps

Facebook Twitter

SVGPan: a Javascript SVG (Viewer) Pan/Zoom/Drag library. Some time ago the need for a browser-compatible vectorial language pushed me to consider the SVG markup language (I won’t say anything about Internet Explorer – it’s just unsupported there).

SVGPan: a Javascript SVG (Viewer) Pan/Zoom/Drag library

The language itself is great, but, as a beginner, I was so disappointed about the fact that on the Internet I couldn’t find ANY library ready to use for panning and zooming features that I had to write one from scratch. The SVGPan library features: Panning (pan à la Google maps) (click on the white background and pan)Zooming (using the mouse wheel)Element dragging (click on a drawing element and drag it somewhere else)Combinations of the above like zooming while dragging The resulting javascript library is published here, in the hope that someone can find it useful.

Professor Cloud. Dynamic Drive DHTML Scripts- Simple Image Panner and Zoomer. March 25th, 10': Updated with ability to zoom in/out of image Description: Simple Image Panner lets you partially clip and confine large images on your site to a smaller container to save space, with the hidden portion accessible by dragging -or panning- inside the image.

Dynamic Drive DHTML Scripts- Simple Image Panner and Zoomer

The optional zoom feature lets the user zoom in and out of the image at the same time. This script is great for embedding large images on your page that users may also want to zoom in on to get a closer look. Demos (Drag inside image to see more. First and 2nd image zoomable as well): Directions Step 1: Add the below code inside the <HEAD> section of the page: The above code references an .js external file plus two images which you should download below (right click, and select "Save As"): Step 2: Insert the below sample code into the BODY section of your page, which adds 1 pannable image: To make an image pannable, wrap the image inside a DIV with CSS class="pancontainer": You should:

Simple Image Panner and Zoomer. Mapbox: the jQuery Map. Most Recent Blog Post:jQuery Mapbox Updated Click to toggle dark text on white Home » Plugins » Mapbox Get latest code here. Or get the outdated (but still working) version:[ Click here for the mapbox.min.js code - Click here for the uncompressed code ] $().mapbox(). The jQuery mapbox() plugin is for creating relatively small scale, zoomable, draggable maps with multiple layers of content. Mousewheel will zoom the map. . * New feature: by default, the map will now zoom to the cursor position when the mousewheel is used. The code:Before using Mapbox, you must link to jQuery and mapbox.js. Then, some CSS. Then, some HTML. AJAX-ZOOM jQuery Image Zoom Viewer & Pan Gallery, PHP - Javascript 360 Spin & Zoom Rotate. Jquery zoom and pan. ShiftZoom – add zoom and pan functionality to oversized images. ShiftZoom 1.0 – allows you to add zoom and pan functionality to oversized images on your webpages.

ShiftZoom – add zoom and pan functionality to oversized images

It uses unobtrusive javascript to keep your code clean. It works in all the major browsers – Mozilla Firefox 1.5+, Opera 9+, IE 6+ and Safari. Works also on older browsers supporting images/ createElement/ getElementById, else it’ll degrade and your visitors won’t notice a thing. jQuery Pan/Zoom. Just a little experiment, playing with jQuery to make a zoom and pan plug-in.

jQuery Pan/Zoom

It's probably not production-ready. E.g., I can't be bothered to test it in Internet Explorer. :-) Demo Click on an image to zoom in. When you're zoomed in, you can move around the image. Usage Step 1: download the script (alternately, get the minified version) and put it on your server somewhere. It's pretty simple to set up and use. Next, include jQuery somewhere on the page and somewhere after that include the plugin (please do not link to the plugin on my server, rather copy it to yours, thanks!). The last step is to include something like the following script on your page (or, preferably, in a script included after the other two): <script type="text/javascript" charset="utf-8"> // call pan/zoom plugin on document.ready $(function () { $.panzoom(); }); </script> <script type="text/javascript" charset="utf-8"> // call pan/zoom plugin on document.ready $(function () { $.panzoom('#mycontainer a'); }); </script>

Benlumley/jQuery-PanZoom - GitHub. jQuery PanZoom Example - by Ben Lumley. Interactive Map - jQuery over Flash. At the end of last year, we launched a website for Coastal & Marine Sciences in North Carolina with one of our Agency Partners, Liaison Design Group.

Interactive Map - jQuery over Flash

As a part of the project, the website was supposed to have an interactive map that showed some information and the location of the various Marine Science outposts across the state. The locations would be represented by dots and upon clicking one an info box would pop up and display information about the location. To make the map as engaging as possible, there needed to be smooth animations and crisp graphics. Traditionally such a project would require the use of Flash.

We try to avoid Flash whenever possible, so I began to consider how the project could be accomplished in jQuery.