зеркало из https://github.com/mozilla/gecko-dev.git
67 строки
2.7 KiB
HTML
67 строки
2.7 KiB
HTML
<BODY>
|
|
Here's the HTML test case, extracted from the Netcenter Address Book page. At
|
|
the top of the address book is a "tool bar" with options like "New,"
|
|
"Directory," "Sign-out," "Customize," etc. These are areas in a client side
|
|
image map. You should be able to click on these areas of the map, including the
|
|
areas on the right side of the map. However, in NGLayout, the right side of the
|
|
map isn't "clickable" -- the cursor doesn't change and the link cannot be
|
|
"activated."
|
|
|
|
I think somewhere we're miscalculating where the imagemap's areas are, because
|
|
the areas on the left still work, although clicking on them sometimes crashes.
|
|
It's as though NGLayout thinks the Imagemap areas are located a few
|
|
hundred pixels to the left.
|
|
<BR>
|
|
<TABLE>
|
|
<TR>
|
|
<td>Let's put some space in here!</td>
|
|
<TD>
|
|
<TABLE>
|
|
<TR>
|
|
<TD>
|
|
<TABLE>
|
|
<TR
|
|
BACKGROUND=../images/raptor.jpg>
|
|
<TD><IMG SRC=../images/raptor.jpg WIDTH=4
|
|
HEIGHT=1><IMG
|
|
SRC=../images/raptor.jpg
|
|
../images/raptor.jpg USEMAP="#toolbar" WIDTH=436 HEIGHT=35 ALT="button
|
|
palette" BORDER=0 VSPACE=5 ISMAP>
|
|
|
|
<MAP NAME="toolbar">
|
|
<AREA SHAPE=RECT COORDS="0,0,41,35" HREF="mailto:">
|
|
<AREA SHAPE=RECT COORDS="41,0,124,35"
|
|
HREF="http://form.netscape.com/directory/html/no_javascript.html"
|
|
onClick="open_wname('http://my.netscape.com/mys/contact/comingsoon.html','search'); return false;">
|
|
|
|
<AREA SHAPE=RECT COORDS="124,0,164,35"
|
|
HREF="/setup_frameset.tmpl?services=addressbook&mn=NO&dest=/contact/index.tmpl">
|
|
<AREA SHAPE=RECT COORDS="164,0,222,35"
|
|
HREF="http://form.netscape.com/directory/html/no_javascript.html"
|
|
onClick="open_wname('http://form.netscape.com/directory/lookup/html/search_frameset.html','mdsearch'); return false;">
|
|
<AREA SHAPE=RECT COORDS="309,0,352,35"
|
|
HREF="http://ureg.netscape.com/iiop/UReg2/login/login?U2_SOURCE=ADDRESSBOOK&U2_E
|
|
NDURL=http://home.netscape.com&U2_EXITURL=http://home.netscape.com&U2_BROWSER_OK
|
|
=true&U2_LOGOUT=true">
|
|
<AREA SHAPE=RECT COORDS="352,0,411,35"
|
|
HREF="/setup_frameset.tmpl?services=addressbook&mn=NO&dest=/contact/index.tmpl">
|
|
|
|
<AREA SHAPE=RECT COORDS="309,0,352,35"
|
|
HREF="http://ureg.netscape.com/iiop/UReg2/login/login?U2_SOURCE=ADDRESSBOOK&U2_E
|
|
NDURL=http://contact.netscape.com/contact/&U2_EXITURL=http://home.netscape.com&U
|
|
2_BROWSER_OK=true">
|
|
<AREA SHAPE=RECT COORDS="352,0,411,35"
|
|
HREF="http://ureg.netscape.com/iiop/UReg2/entrypoint/dispatch?U2_SOURCE=ADDRESSB
|
|
OOK&U2_NEW_ENDURL=http://contact.netscape.com/setup_frameset.tmpl//&services=add
|
|
ressbook//&mn=NO//&dest=/contact/index.tmpl&U2_EXITURL=http://home.netscape.com&
|
|
U2_BROWSER_OK=true">
|
|
<AREA SHAPE=RECT COORDS="411,0,436,35"
|
|
HREF="http://my.netscape.com/mys/contact/help.html">
|
|
</MAP>
|
|
|
|
|
|
</td></tr></table>
|
|
</td></tr></table>
|
|
</td></tr></table>
|
|
</body>
|