Giter Club home page Giter Club logo

sprymap's People

Contributors

mholt avatar slav123 avatar xloong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sprymap's Issues

On Mobile

Hi there,
I have another issue. This script doesn't work on mobile devices. Do you work out something?
Thanks in advance

Click on the map

Hi there,
just a question. Did you have a way to insert some clickable area on the map?
For example I want to insert on two different city on your map the possibility for a user to click and open a link.

Thank you in advance

Scrollbars wanted

I realize that the intent of SpryMap is to enable scrolling by dragging the content, but I like to show the vertical and horizontal scrollbars using css overflow: auto as a way of indicating where the displayed content is positioned within the overall image, but dragging the image doesn't accurately update the respective scrollbar(s), and even stops scrolling before reaching the edge. Is there a newer version than 2 (spryMap-2.js) that I found in this getub page. By the way, I really like that this solution is so simple to use and doesn't require jQuery.

Firefox issue

In firefox I have to click, drag (a short distance) mouseup then move the mouse to get the intended behavior. Dragging does an image drag some default behavior from the browser.
If I add this:
$(document).on("dragstart", function(e) {
if (e.target.nodeName.toUpperCase() == "IMG") {
return false;
}
});
it works great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.