Coder Social home page Coder Social logo

image map about anythingzoomer HOT 3 CLOSED

css-tricks avatar css-tricks commented on June 12, 2024
image map

from anythingzoomer.

Comments (3)

Mottie avatar Mottie commented on June 12, 2024

Hi @jamiloquai!

If the img and map elements are within the "large" div, there shouldn't be an issue (demo):

<div class="zoom">
    <div class="small">
        <img src="http://css-tricks.github.com/AnythingZoomer/demo/rushmore_small.jpg" alt="small rushmore">
    </div>
    <div class="large">
        <img src="http://css-tricks.github.com/AnythingZoomer/demo/rushmore.jpg" alt="big rushmore" usemap="#map" />
        <map name="map">
            <area shape="poly" coords="338, 184, 311, 187, 300, 134, 306, 116, 354, 119" title="Lincoln" />
            <area shape="poly" coords="279, 183, 258, 180, 247, 153, 250, 121, 285, 128" title="Roosevelt" />
            <area shape="poly" coords="244, 153, 220, 148, 203, 128, 213, 94, 235, 96, 248, 115" title="Jefferson" />
            <area shape="poly" coords="199, 129, 161, 130, 151, 98, 172, 72, 190, 71, 209, 92" title="Washington" />
        </map>
    </div>
</div>

from anythingzoomer.

jamiloquai avatar jamiloquai commented on June 12, 2024

AAAH!! I had moved the map to the end of the doc. Thanks!

-Jake

from anythingzoomer.

Mottie avatar Mottie commented on June 12, 2024

No problem! :)

from anythingzoomer.

Related Issues (20)

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.