Reply to Re: anchors in clickable maps??

Your name:

Reply:


Posted by slycaper on 08/17/06 19:39

Hey

I know that this syntax is not correct. I'm simply trying to convey a
description of what I am doing.

Here's my situation:

I have a single html file with several clickable maps scattered through
the file. Consider this: I have 2 sections in the html file. Each
section contains a clickable map and 3 regular links to anchors. When
the user clicks on a link I want the destination to remain in the
section from which they clicked the link. It works fine for the
following code:

<a href="#name-Case No. 2"> Link </a>
......
<a name="name-Case No. 2">Destination</a>

In this above example clicking on the link takes the user to the
destination in section 2.

--------------------------
Now consider this:
Keep in mind I have a clickable map for each section. If I add the
following it does not work properly:

<area href="#name-Case No. 2" alt="Case No. 2" shape="rect"
coords="39,99,61,121"/> Link </a>
......
<a name="name-Case No. 2">Destination</a>

This does NOT work properly. Clicking on the word "Link" should take me
to the word "Destination" in section 2. The result is it takes me to
the word Destination of Case No. 1....even though the anchor for Case
No. 1 is as follows:

<a name="name-Case No. 1">Destination</a>

Unfortunatley I have no outside link to provide you. I hope I've
explained my situation well enough. Are spaces in the "name" attribute
permitted for the <area> tag?

Thanks for the help.





Jukka K. Korpela wrote:
> slycaper <sly_caper@yahoo.com> scripsit:
>
> > <a href="#name-Case No. 1">
> > <area href="#name-Case No. 1"> //clickable map
> > <a href="#name-Case No. 1">
> > <a name="name-Case No. 1"> //anchor for Case No. 1
>
> That does not make sense, and it's not even syntactically correct (valid).
>
> Why don't you
> a) tell what you are trying to achieve and
> b) post the URL?
>
> --
> Jukka K. Korpela ("Yucca")
> http://www.cs.tut.fi/~jkorpela/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация