Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26037

Re: Dynamically assign image map values?

From Tuxedo <tuxedo@mailinator.com>
Newsgroups comp.lang.javascript
Subject Re: Dynamically assign image map values?
Date 2014-10-30 09:44 +0100
Organization albasani.net
Message-ID <m2stp7$79g$1@news.albasani.net> (permalink)
References (1 earlier) <m2q89q$c5m$1@dont-email.me> <m2qkt1$reb$1@news.albasani.net> <m2rbk4$a71$1@news.albasani.net> <m2rjvi$r6c$1@news.albasani.net> <m2sjla$i2j$1@dont-email.me>

Show all headers | View raw


Jukka K. Korpela wrote:

> 2014-10-29 22:50, Tuxedo wrote:
> 
> > One difference I notice is that MAP->AREA appears at the end of the BODY
> > node instead of at the beginning and before the IMG element, as in the
> > static HTML version, below, when in the DOM Inspector's tree view.
> 
> It does not matter where you place the MAP element, since it has no
> visible content, only AREA elements that declare areas of an image
> 
> >> .. as if the following would have existed in static HTML to begin with:
> >>
> >> <map name="mymap">
> >> <area shape="rect" coords="100,100,300,300" href="bla">
> >> </map>
> >> <img src="mymap.jpg" id="hello" usemap="#mymap">
> 
> That, or these elements in the opposite order, is the normal setup, but
> it's just a natural and convenient way - keeping the functionally
> related elements together, even though they technically need not appear
> that way.
> 

Thanks for the clarification.

Tuxedo

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-29 08:47 +0100
  Re: Dynamically assign image map values? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-29 10:25 +0200
    Re: Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-29 13:00 +0100
      Re: Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-29 19:28 +0100
        Re: Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-29 21:50 +0100
          Re: Dynamically assign image map values? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-30 07:51 +0200
            Re: Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-30 09:44 +0100
          Re: Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-30 18:35 +0100
            Re: Dynamically assign image map values? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-30 19:57 +0200
              Re: Dynamically assign image map values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-30 19:46 +0100
                Re: Dynamically assign image map values? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-30 20:57 +0200
                Re: Dynamically assign image map values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-30 21:26 +0100
                Re: Dynamically assign image map values? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-30 22:58 +0200
              Re: Dynamically assign image map values? Tuxedo <tuxedo@mailinator.com> - 2014-10-30 20:52 +0100
                Re: Dynamically assign image map values? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-30 22:23 +0200

csiph-web