send me the coding for map linking

send me the coding for map linking

am 15.01.2008 06:51:35 von kamarajbca

dear sir,

Now I am doing the task that the index page contains the US
states Map.When i am pressing on the particular state that state map
will be open.I create the link to states using with Microsoft
Frontpage.Now my problem is when i am clicking the county on the state
map that particular county will be opened.There are 50 states in us
how should i create the link to county on the state map.

Please give me the coding for this in php.



Thank You.



by,


kamaraj.

Re: send me the coding for map linking

am 15.01.2008 07:03:53 von Larry Anderson

On Jan 14, 9:51 pm, kamaraj...@gmail.com wrote:
> dear sir,
>
> Now I am doing the task that the index page contains the US
> states Map.When i am pressing on the particular state that state map
> will be open.I create the link to states using with Microsoft
> Frontpage.Now my problem is when i am clicking the county on the state
> map that particular county will be opened.There are 50 states in us
> how should i create the link to county on the state map.
>
> Please give me the coding for this in php.
>
> Thank You.
>
> by,
>
> kamaraj.

Some US states have over a hundred counties! (Texas has 254), It may
be better to have the user select from a list of counties for a state
than to build 50 detailed image maps,

Re: send me the coding for map linking

am 15.01.2008 12:47:14 von Jerry Stuckle

kamarajbca@gmail.com wrote:
> dear sir,
>
> Now I am doing the task that the index page contains the US
> states Map.When i am pressing on the particular state that state map
> will be open.I create the link to states using with Microsoft
> Frontpage.Now my problem is when i am clicking the county on the state
> map that particular county will be opened.There are 50 states in us
> how should i create the link to county on the state map.
>
> Please give me the coding for this in php.
>
>
>
> Thank You.
>
>
>
> by,
>
>
> kamaraj.
>

This is all client-side. No PHP need be involved.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: send me the coding for map linking

am 15.01.2008 18:24:50 von Steve

"Jerry Stuckle" wrote in message
news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
> kamarajbca@gmail.com wrote:
>> dear sir,
>>
>> Now I am doing the task that the index page contains the US
>> states Map.When i am pressing on the particular state that state map
>> will be open.I create the link to states using with Microsoft
>> Frontpage.Now my problem is when i am clicking the county on the state
>> map that particular county will be opened.There are 50 states in us
>> how should i create the link to county on the state map.
>>
>> Please give me the coding for this in php.
>>
>>
>>
>> Thank You.
>>
>>
>> by,
>>
>> kamaraj.
>>
>
> This is all client-side. No PHP need be involved.

wow. isn't forcing the user to enable scripting in their browser your
argument in *every* 'discussion' you have with OMH? are you now saying it's
ok? take your own advice, it needs a purely non-scripted counterpart or it's
shit.

all the guy needs is a us map that he can use the height and width thereof
to 'tell' what state, even county, the user clicked (as submitted x/y).
server-side, he gets x/y, and uses a coordinate boundry array to define the
states...when x/y in a boundry, we have a known location.

to answer his specific question, all he needs to do is submit the map image
to the server when clicked...no specific client-side links need to exist at
all. and thus, the alternative to client-side scripting. :)

Re: send me the coding for map linking

am 15.01.2008 20:12:59 von Csaba

"Steve" wrote in message
news:w%5jj.32$GW7.17@newsfe05.lga...
>
> "Jerry Stuckle" wrote in message
> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>> kamarajbca@gmail.com wrote:
>>> dear sir,
>>>
>>> Now I am doing the task that the index page contains
>>> the US
>>> states Map.When i am pressing on the particular state that state
>>> map
>>> will be open.I create the link to states using with Microsoft
>>> Frontpage.Now my problem is when i am clicking the county on the
>>> state
>>> map that particular county will be opened.There are 50 states in
>>> us
>>> how should i create the link to county on the state map.
>>>
>>> Please give me the coding for this in php.
>>>
>>>
>>>
>>> Thank You.
>>>
>>>
>>> by,
>>>
>>> kamaraj.
>>>
>>
>> This is all client-side. No PHP need be involved.
>
> wow. isn't forcing the user to enable scripting in their browser
> your argument in *every* 'discussion' you have with OMH? are you now
> saying it's ok? take your own advice, it needs a purely non-scripted
> counterpart or it's shit.
>
> all the guy needs is a us map that he can use the height and width
> thereof to 'tell' what state, even county, the user clicked (as
> submitted x/y). server-side, he gets x/y, and uses a coordinate
> boundry array to define the states...when x/y in a boundry, we have
> a known location.
>
> to answer his specific question, all he needs to do is submit the
> map image to the server when clicked...no specific client-side links
> need to exist at all. and thus, the alternative to client-side
> scripting. :)

Client side image map?

R.

Re: send me the coding for map linking

am 15.01.2008 21:37:29 von Jerry Stuckle

Richard wrote:
> "Steve" wrote in message
> news:w%5jj.32$GW7.17@newsfe05.lga...
>> "Jerry Stuckle" wrote in message
>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>> kamarajbca@gmail.com wrote:
>>>> dear sir,
>>>>
>>>> Now I am doing the task that the index page contains
>>>> the US
>>>> states Map.When i am pressing on the particular state that state
>>>> map
>>>> will be open.I create the link to states using with Microsoft
>>>> Frontpage.Now my problem is when i am clicking the county on the
>>>> state
>>>> map that particular county will be opened.There are 50 states in
>>>> us
>>>> how should i create the link to county on the state map.
>>>>
>>>> Please give me the coding for this in php.
>>>>
>>>>
>>>>
>>>> Thank You.
>>>>
>>>>
>>>> by,
>>>>
>>>> kamaraj.
>>>>
>>> This is all client-side. No PHP need be involved.
>> wow. isn't forcing the user to enable scripting in their browser
>> your argument in *every* 'discussion' you have with OMH? are you now
>> saying it's ok? take your own advice, it needs a purely non-scripted
>> counterpart or it's shit.
>>
>> all the guy needs is a us map that he can use the height and width
>> thereof to 'tell' what state, even county, the user clicked (as
>> submitted x/y). server-side, he gets x/y, and uses a coordinate
>> boundry array to define the states...when x/y in a boundry, we have
>> a known location.
>>
>> to answer his specific question, all he needs to do is submit the
>> map image to the server when clicked...no specific client-side links
>> need to exist at all. and thus, the alternative to client-side
>> scripting. :)
>
> Client side image map?
>
> R.
>
>
>

Exactly. No PHP involved.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: send me the coding for map linking

am 16.01.2008 00:14:49 von Steve

"Richard" wrote in message
news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>
> "Steve" wrote in message
> news:w%5jj.32$GW7.17@newsfe05.lga...
>>
>> "Jerry Stuckle" wrote in message
>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>> kamarajbca@gmail.com wrote:
>>>> dear sir,
>>>>
>>>> Now I am doing the task that the index page contains the US
>>>> states Map.When i am pressing on the particular state that state map
>>>> will be open.I create the link to states using with Microsoft
>>>> Frontpage.Now my problem is when i am clicking the county on the state
>>>> map that particular county will be opened.There are 50 states in us
>>>> how should i create the link to county on the state map.
>>>>
>>>> Please give me the coding for this in php.
>>>>
>>>>
>>>>
>>>> Thank You.
>>>>
>>>>
>>>> by,
>>>>
>>>> kamaraj.
>>>>
>>>
>>> This is all client-side. No PHP need be involved.
>>
>> wow. isn't forcing the user to enable scripting in their browser your
>> argument in *every* 'discussion' you have with OMH? are you now saying
>> it's ok? take your own advice, it needs a purely non-scripted counterpart
>> or it's shit.
>>
>> all the guy needs is a us map that he can use the height and width
>> thereof to 'tell' what state, even county, the user clicked (as submitted
>> x/y). server-side, he gets x/y, and uses a coordinate boundry array to
>> define the states...when x/y in a boundry, we have a known location.
>>
>> to answer his specific question, all he needs to do is submit the map
>> image to the server when clicked...no specific client-side links need to
>> exist at all. and thus, the alternative to client-side scripting. :)
>
> Client side image map?

you are essentially providing a form with an image that, when submitted to
php, the x and y coords. are available to you, the developer. use that info
to generate the appropriate web page back to the user from there...no
client-side scripting involved.

Re: send me the coding for map linking

am 16.01.2008 00:15:41 von Steve

"Jerry Stuckle" wrote in message
news:SfKdnWF4d9BYhBDanZ2dnUVZ_vPinZ2d@comcast.com...
> Richard wrote:
>> "Steve" wrote in message
>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>> "Jerry Stuckle" wrote in message
>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>> kamarajbca@gmail.com wrote:
>>>>> dear sir,
>>>>>
>>>>> Now I am doing the task that the index page contains the US
>>>>> states Map.When i am pressing on the particular state that state map
>>>>> will be open.I create the link to states using with Microsoft
>>>>> Frontpage.Now my problem is when i am clicking the county on the state
>>>>> map that particular county will be opened.There are 50 states in us
>>>>> how should i create the link to county on the state map.
>>>>>
>>>>> Please give me the coding for this in php.
>>>>>
>>>>>
>>>>>
>>>>> Thank You.
>>>>>
>>>>>
>>>>> by,
>>>>>
>>>>> kamaraj.
>>>>>
>>>> This is all client-side. No PHP need be involved.
>>> wow. isn't forcing the user to enable scripting in their browser your
>>> argument in *every* 'discussion' you have with OMH? are you now saying
>>> it's ok? take your own advice, it needs a purely non-scripted
>>> counterpart or it's shit.
>>>
>>> all the guy needs is a us map that he can use the height and width
>>> thereof to 'tell' what state, even county, the user clicked (as
>>> submitted x/y). server-side, he gets x/y, and uses a coordinate boundry
>>> array to define the states...when x/y in a boundry, we have a known
>>> location.
>>>
>>> to answer his specific question, all he needs to do is submit the map
>>> image to the server when clicked...no specific client-side links need to
>>> exist at all. and thus, the alternative to client-side scripting. :)
>>
>> Client side image map?
>>
>> R.
>
> Exactly. No PHP involved.

i think you're lost in the thread jerry. the correct response would have
been:

exactly. no JAVASCRIPT involved. :)

Re: send me the coding for map linking

am 16.01.2008 00:16:37 von Csaba

"Steve" wrote in message
news:C7bjj.50$Kv6.45@newsfe06.lga...
>
> "Richard" wrote in message
> news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>>
>> "Steve" wrote in message
>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>>
>>> "Jerry Stuckle" wrote in message
>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>> kamarajbca@gmail.com wrote:
>>>>> dear sir,
>>>>>
>>>>> Now I am doing the task that the index page contains
>>>>> the US
>>>>> states Map.When i am pressing on the particular state that
>>>>> state map
>>>>> will be open.I create the link to states using with Microsoft
>>>>> Frontpage.Now my problem is when i am clicking the county on the
>>>>> state
>>>>> map that particular county will be opened.There are 50 states in
>>>>> us
>>>>> how should i create the link to county on the state map.
>>>>>
>>>>> Please give me the coding for this in php.
>>>>>
>>>>>
>>>>>
>>>>> Thank You.
>>>>>
>>>>>
>>>>> by,
>>>>>
>>>>> kamaraj.
>>>>>
>>>>
>>>> This is all client-side. No PHP need be involved.
>>>
>>> wow. isn't forcing the user to enable scripting in their browser
>>> your argument in *every* 'discussion' you have with OMH? are you
>>> now saying it's ok? take your own advice, it needs a purely
>>> non-scripted counterpart or it's shit.
>>>
>>> all the guy needs is a us map that he can use the height and width
>>> thereof to 'tell' what state, even county, the user clicked (as
>>> submitted x/y). server-side, he gets x/y, and uses a coordinate
>>> boundry array to define the states...when x/y in a boundry, we
>>> have a known location.
>>>
>>> to answer his specific question, all he needs to do is submit the
>>> map image to the server when clicked...no specific client-side
>>> links need to exist at all. and thus, the alternative to
>>> client-side scripting. :)
>>
>> Client side image map?
>
> you are essentially providing a form with an image that, when
> submitted to php, the x and y coords. are available to you, the
> developer. use that info to generate the appropriate web page back
> to the user from there...no client-side scripting involved.

An image map is not scripted.
Its just... an image with links for certain areas.

R.

Re: send me the coding for map linking

am 16.01.2008 00:18:16 von Csaba

"Richard" wrote in message
news:478d3ed6$0$60803$dbd45001@news.euronet.nl...
>
> "Steve" wrote in message
> news:C7bjj.50$Kv6.45@newsfe06.lga...
>>
>> "Richard" wrote in message
>> news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>>>
>>> "Steve" wrote in message
>>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>>>
>>>> "Jerry Stuckle" wrote in message
>>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>>> kamarajbca@gmail.com wrote:
>>>>>> dear sir,
>>>>>>
>>>>>> Now I am doing the task that the index page contains
>>>>>> the US
>>>>>> states Map.When i am pressing on the particular state that
>>>>>> state map
>>>>>> will be open.I create the link to states using with Microsoft
>>>>>> Frontpage.Now my problem is when i am clicking the county on
>>>>>> the state
>>>>>> map that particular county will be opened.There are 50 states
>>>>>> in us
>>>>>> how should i create the link to county on the state map.
>>>>>>
>>>>>> Please give me the coding for this in php.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thank You.
>>>>>>
>>>>>>
>>>>>> by,
>>>>>>
>>>>>> kamaraj.
>>>>>>
>>>>>
>>>>> This is all client-side. No PHP need be involved.
>>>>
>>>> wow. isn't forcing the user to enable scripting in their browser
>>>> your argument in *every* 'discussion' you have with OMH? are you
>>>> now saying it's ok? take your own advice, it needs a purely
>>>> non-scripted counterpart or it's shit.
>>>>
>>>> all the guy needs is a us map that he can use the height and
>>>> width thereof to 'tell' what state, even county, the user clicked
>>>> (as submitted x/y). server-side, he gets x/y, and uses a
>>>> coordinate boundry array to define the states...when x/y in a
>>>> boundry, we have a known location.
>>>>
>>>> to answer his specific question, all he needs to do is submit the
>>>> map image to the server when clicked...no specific client-side
>>>> links need to exist at all. and thus, the alternative to
>>>> client-side scripting. :)
>>>
>>> Client side image map?
>>
>> you are essentially providing a form with an image that, when
>> submitted to php, the x and y coords. are available to you, the
>> developer. use that info to generate the appropriate web page back
>> to the user from there...no client-side scripting involved.
>
> An image map is not scripted.
> Its just... an image with links for certain areas.
>
> R.

Exactly,
no PHP or Javascript involved.

:D

R.

Re: send me the coding for map linking

am 16.01.2008 00:29:05 von Steve

"Richard" wrote in message
news:478d3ed6$0$60803$dbd45001@news.euronet.nl...
>
> "Steve" wrote in message
> news:C7bjj.50$Kv6.45@newsfe06.lga...
>>
>> "Richard" wrote in message
>> news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>>>
>>> "Steve" wrote in message
>>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>>>
>>>> "Jerry Stuckle" wrote in message
>>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>>> kamarajbca@gmail.com wrote:
>>>>>> dear sir,
>>>>>>
>>>>>> Now I am doing the task that the index page contains the
>>>>>> US
>>>>>> states Map.When i am pressing on the particular state that state map
>>>>>> will be open.I create the link to states using with Microsoft
>>>>>> Frontpage.Now my problem is when i am clicking the county on the
>>>>>> state
>>>>>> map that particular county will be opened.There are 50 states in us
>>>>>> how should i create the link to county on the state map.
>>>>>>
>>>>>> Please give me the coding for this in php.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thank You.
>>>>>>
>>>>>>
>>>>>> by,
>>>>>>
>>>>>> kamaraj.
>>>>>>
>>>>>
>>>>> This is all client-side. No PHP need be involved.
>>>>
>>>> wow. isn't forcing the user to enable scripting in their browser your
>>>> argument in *every* 'discussion' you have with OMH? are you now saying
>>>> it's ok? take your own advice, it needs a purely non-scripted
>>>> counterpart or it's shit.
>>>>
>>>> all the guy needs is a us map that he can use the height and width
>>>> thereof to 'tell' what state, even county, the user clicked (as
>>>> submitted x/y). server-side, he gets x/y, and uses a coordinate boundry
>>>> array to define the states...when x/y in a boundry, we have a known
>>>> location.
>>>>
>>>> to answer his specific question, all he needs to do is submit the map
>>>> image to the server when clicked...no specific client-side links need
>>>> to exist at all. and thus, the alternative to client-side scripting. :)
>>>
>>> Client side image map?
>>
>> you are essentially providing a form with an image that, when submitted
>> to php, the x and y coords. are available to you, the developer. use that
>> info to generate the appropriate web page back to the user from
>> there...no client-side scripting involved.
>
> An image map is not scripted.
> Its just... an image with links for certain areas.

understood, but you'll find you're having to generate loads of links where
90% where never be used. that effects load times.

Re: send me the coding for map linking

am 16.01.2008 00:48:36 von Csaba

"Steve" wrote in message
news:_kbjj.57$Kv6.33@newsfe06.lga...
>
> "Richard" wrote in message
> news:478d3ed6$0$60803$dbd45001@news.euronet.nl...
>>
>> "Steve" wrote in message
>> news:C7bjj.50$Kv6.45@newsfe06.lga...
>>>
>>> "Richard" wrote in message
>>> news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>>>>
>>>> "Steve" wrote in message
>>>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>>>>
>>>>> "Jerry Stuckle" wrote in message
>>>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>>>> kamarajbca@gmail.com wrote:
>>>>>>> dear sir,
>>>>>>>
>>>>>>> Now I am doing the task that the index page
>>>>>>> contains the US
>>>>>>> states Map.When i am pressing on the particular state that
>>>>>>> state map
>>>>>>> will be open.I create the link to states using with Microsoft
>>>>>>> Frontpage.Now my problem is when i am clicking the county on
>>>>>>> the state
>>>>>>> map that particular county will be opened.There are 50 states
>>>>>>> in us
>>>>>>> how should i create the link to county on the state map.
>>>>>>>
>>>>>>> Please give me the coding for this in php.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thank You.
>>>>>>>
>>>>>>>
>>>>>>> by,
>>>>>>>
>>>>>>> kamaraj.
>>>>>>>
>>>>>>
>>>>>> This is all client-side. No PHP need be involved.
>>>>>
>>>>> wow. isn't forcing the user to enable scripting in their browser
>>>>> your argument in *every* 'discussion' you have with OMH? are you
>>>>> now saying it's ok? take your own advice, it needs a purely
>>>>> non-scripted counterpart or it's shit.
>>>>>
>>>>> all the guy needs is a us map that he can use the height and
>>>>> width thereof to 'tell' what state, even county, the user
>>>>> clicked (as submitted x/y). server-side, he gets x/y, and uses a
>>>>> coordinate boundry array to define the states...when x/y in a
>>>>> boundry, we have a known location.
>>>>>
>>>>> to answer his specific question, all he needs to do is submit
>>>>> the map image to the server when clicked...no specific
>>>>> client-side links need to exist at all. and thus, the
>>>>> alternative to client-side scripting. :)
>>>>
>>>> Client side image map?
>>>
>>> you are essentially providing a form with an image that, when
>>> submitted to php, the x and y coords. are available to you, the
>>> developer. use that info to generate the appropriate web page back
>>> to the user from there...no client-side scripting involved.
>>
>> An image map is not scripted.
>> Its just... an image with links for certain areas.
>
> understood, but you'll find you're having to generate loads of links
> where 90% where never be used. that effects load times.

LOL!
Then which of the 50 states of the US should be left out?
;-)

R.

Re: send me the coding for map linking

am 16.01.2008 00:53:36 von luiheidsgoeroe

On Wed, 16 Jan 2008 00:48:36 +0100, Richard wrote:
>>>>> Client side image map?
>>>>
>>>> you are essentially providing a form with an image that, when
>>>> submitted to php, the x and y coords. are available to you, the
>>>> developer. use that info to generate the appropriate web page back
>>>> to the user from there...no client-side scripting involved.
>>>
>>> An image map is not scripted.
>>> Its just... an image with links for certain areas.
>>
>> understood, but you'll find you're having to generate loads of links
>> where 90% where never be used. that effects load times.
>
> LOL!
> Then which of the 50 states of the US should be left out?

Oooh, don't tempt me :P
--
Rik Wasmus

Re: send me the coding for map linking

am 16.01.2008 02:01:58 von Jerry Stuckle

Rik Wasmus wrote:
> On Wed, 16 Jan 2008 00:48:36 +0100, Richard wrote:
>>>>>> Client side image map?
>>>>>
>>>>> you are essentially providing a form with an image that, when
>>>>> submitted to php, the x and y coords. are available to you, the
>>>>> developer. use that info to generate the appropriate web page back
>>>>> to the user from there...no client-side scripting involved.
>>>>
>>>> An image map is not scripted.
>>>> Its just... an image with links for certain areas.
>>>
>>> understood, but you'll find you're having to generate loads of links
>>> where 90% where never be used. that effects load times.
>>
>> LOL!
>> Then which of the 50 states of the US should be left out?
>
> Oooh, don't tempt me :P

Hmmm, we could start with Texas... :-)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: send me the coding for map linking

am 16.01.2008 02:04:06 von Steve

"Richard" wrote in message
news:478d4655$0$23100$dbd4b001@news.euronet.nl...
>
> "Steve" wrote in message
> news:_kbjj.57$Kv6.33@newsfe06.lga...
>>
>> "Richard" wrote in message
>> news:478d3ed6$0$60803$dbd45001@news.euronet.nl...
>>>
>>> "Steve" wrote in message
>>> news:C7bjj.50$Kv6.45@newsfe06.lga...
>>>>
>>>> "Richard" wrote in message
>>>> news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>>>>>
>>>>> "Steve" wrote in message
>>>>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>>>>>
>>>>>> "Jerry Stuckle" wrote in message
>>>>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>>>>> kamarajbca@gmail.com wrote:
>>>>>>>> dear sir,
>>>>>>>>
>>>>>>>> Now I am doing the task that the index page contains the
>>>>>>>> US
>>>>>>>> states Map.When i am pressing on the particular state that state
>>>>>>>> map
>>>>>>>> will be open.I create the link to states using with Microsoft
>>>>>>>> Frontpage.Now my problem is when i am clicking the county on the
>>>>>>>> state
>>>>>>>> map that particular county will be opened.There are 50 states in us
>>>>>>>> how should i create the link to county on the state map.
>>>>>>>>
>>>>>>>> Please give me the coding for this in php.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thank You.
>>>>>>>>
>>>>>>>>
>>>>>>>> by,
>>>>>>>>
>>>>>>>> kamaraj.
>>>>>>>>
>>>>>>>
>>>>>>> This is all client-side. No PHP need be involved.
>>>>>>
>>>>>> wow. isn't forcing the user to enable scripting in their browser your
>>>>>> argument in *every* 'discussion' you have with OMH? are you now
>>>>>> saying it's ok? take your own advice, it needs a purely non-scripted
>>>>>> counterpart or it's shit.
>>>>>>
>>>>>> all the guy needs is a us map that he can use the height and width
>>>>>> thereof to 'tell' what state, even county, the user clicked (as
>>>>>> submitted x/y). server-side, he gets x/y, and uses a coordinate
>>>>>> boundry array to define the states...when x/y in a boundry, we have a
>>>>>> known location.
>>>>>>
>>>>>> to answer his specific question, all he needs to do is submit the map
>>>>>> image to the server when clicked...no specific client-side links need
>>>>>> to exist at all. and thus, the alternative to client-side scripting.
>>>>>> :)
>>>>>
>>>>> Client side image map?
>>>>
>>>> you are essentially providing a form with an image that, when submitted
>>>> to php, the x and y coords. are available to you, the developer. use
>>>> that info to generate the appropriate web page back to the user from
>>>> there...no client-side scripting involved.
>>>
>>> An image map is not scripted.
>>> Its just... an image with links for certain areas.
>>
>> understood, but you'll find you're having to generate loads of links
>> where 90% where never be used. that effects load times.
>
> LOL!
> Then which of the 50 states of the US should be left out?

from what i skimmed of the op, he's talking about zooming in from the globe,
to a country, to a state, to a county, to a city. the number of links grows
in large multiples the more you zoom in. :)

can you tell me how many counties there are in the us? how many cities? lots
o' links?

Re: send me the coding for map linking

am 16.01.2008 02:09:23 von Steve

"Jerry Stuckle" wrote in message
news:2YednTqHLtJcyhDanZ2dnUVZ_gSdnZ2d@comcast.com...
> Rik Wasmus wrote:
>> On Wed, 16 Jan 2008 00:48:36 +0100, Richard wrote:
>>>>>>> Client side image map?
>>>>>>
>>>>>> you are essentially providing a form with an image that, when
>>>>>> submitted to php, the x and y coords. are available to you, the
>>>>>> developer. use that info to generate the appropriate web page back
>>>>>> to the user from there...no client-side scripting involved.
>>>>>
>>>>> An image map is not scripted.
>>>>> Its just... an image with links for certain areas.
>>>>
>>>> understood, but you'll find you're having to generate loads of links
>>>> where 90% where never be used. that effects load times.
>>>
>>> LOL!
>>> Then which of the 50 states of the US should be left out?
>>
>> Oooh, don't tempt me :P
>
> Hmmm, we could start with Texas... :-)

and for those lacking humor, there's more opportunity provided by jerry
stuckle and in the whole of the u.s. there's simply not much to *not* laugh
at there. :-)

Re: send me the coding for map linking

am 16.01.2008 02:22:22 von Csaba

"Steve" wrote in message
news:5Kcjj.69$Kv6.12@newsfe06.lga...
>
> "Richard" wrote in message
> news:478d4655$0$23100$dbd4b001@news.euronet.nl...
>>
>> "Steve" wrote in message
>> news:_kbjj.57$Kv6.33@newsfe06.lga...
>>>
>>> "Richard" wrote in message
>>> news:478d3ed6$0$60803$dbd45001@news.euronet.nl...
>>>>
>>>> "Steve" wrote in message
>>>> news:C7bjj.50$Kv6.45@newsfe06.lga...
>>>>>
>>>>> "Richard" wrote in message
>>>>> news:478d05bc$0$68770$dbd4f001@news.euronet.nl...
>>>>>>
>>>>>> "Steve" wrote in message
>>>>>> news:w%5jj.32$GW7.17@newsfe05.lga...
>>>>>>>
>>>>>>> "Jerry Stuckle" wrote in message
>>>>>>> news:V6OdnerEB7vgABHanZ2dnUVZ_oHinZ2d@comcast.com...
>>>>>>>> kamarajbca@gmail.com wrote:
>>>>>>>>> dear sir,
>>>>>>>>>
>>>>>>>>> Now I am doing the task that the index page
>>>>>>>>> contains the US
>>>>>>>>> states Map.When i am pressing on the particular state that
>>>>>>>>> state map
>>>>>>>>> will be open.I create the link to states using with
>>>>>>>>> Microsoft
>>>>>>>>> Frontpage.Now my problem is when i am clicking the county on
>>>>>>>>> the state
>>>>>>>>> map that particular county will be opened.There are 50
>>>>>>>>> states in us
>>>>>>>>> how should i create the link to county on the state map.
>>>>>>>>>
>>>>>>>>> Please give me the coding for this in php.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thank You.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> by,
>>>>>>>>>
>>>>>>>>> kamaraj.
>>>>>>>>>
>>>>>>>>
>>>>>>>> This is all client-side. No PHP need be involved.
>>>>>>>
>>>>>>> wow. isn't forcing the user to enable scripting in their
>>>>>>> browser your argument in *every* 'discussion' you have with
>>>>>>> OMH? are you now saying it's ok? take your own advice, it
>>>>>>> needs a purely non-scripted counterpart or it's shit.
>>>>>>>
>>>>>>> all the guy needs is a us map that he can use the height and
>>>>>>> width thereof to 'tell' what state, even county, the user
>>>>>>> clicked (as submitted x/y). server-side, he gets x/y, and uses
>>>>>>> a coordinate boundry array to define the states...when x/y in
>>>>>>> a boundry, we have a known location.
>>>>>>>
>>>>>>> to answer his specific question, all he needs to do is submit
>>>>>>> the map image to the server when clicked...no specific
>>>>>>> client-side links need to exist at all. and thus, the
>>>>>>> alternative to client-side scripting. :)
>>>>>>
>>>>>> Client side image map?
>>>>>
>>>>> you are essentially providing a form with an image that, when
>>>>> submitted to php, the x and y coords. are available to you, the
>>>>> developer. use that info to generate the appropriate web page
>>>>> back to the user from there...no client-side scripting involved.
>>>>
>>>> An image map is not scripted.
>>>> Its just... an image with links for certain areas.
>>>
>>> understood, but you'll find you're having to generate loads of
>>> links where 90% where never be used. that effects load times.
>>
>> LOL!
>> Then which of the 50 states of the US should be left out?
>
> from what i skimmed of the op, he's talking about zooming in from
> the globe, to a country, to a state, to a county, to a city. the
> number of links grows in large multiples the more you zoom in. :)
>
> can you tell me how many counties there are in the us? how many
> cities? lots o' links?

He asked:
>> how should i create the link to county on the state map.

My answer:
By hand.

You mean:
Get all the county border data in the US as lists of connected
lat/long pairs, put it in a db, find some algorithm that maps a
clicked coordinate of an image into a latitude/longitude pair, try to
find that position in the db and return the county name?

Probably someone has done this before, but it wasnt me.

R.