|
Posted by dorayme on 10/27/04 11:17
> From: "Guy Doucet" <someone@somewhere.nb.ca>
> Organization: Aliant Internet
> Newsgroups: alt.html
> Date: Sun, 29 May 2005 12:20:48 GMT
> Subject: Re: can I highlight part of an image on an event...?
>
> "dorayme" <dorayme@optusnet.com.au> wrote in message
>> streets to the building concerned. What's this about the big map?
>>
>> You might have a big map. There's no problem about it sitting on your desk
>> or in 100 little bits on your computer. Or on your server. When a customer
>> "selects an office from a list" why not link the list to the *relevant*
>> specific map. Why the need for the huge one and highlight?
>>
>> dorayme
>>
>
> I guess I wasn't accurate in my describing the situation. The customers in
> this are employees in the office and so speed would not be an issue.
>
> You're right that I could display part of the map as opposed to the entire
> map, but displaying the entire map would have other advantages.
> It's not a detailed map to begin with, doesn't have street names, and
> looking at just a section may not be enough to know where this section fits.
>
> I know I can highlight a section if I make two copies of the map - the
> original map with white background and smaller pieces of the map in yellow
> background.
> At the same time, having two copies of the map doesn't appeal to me.
>
> Thanks for all so far,
>
> G Doucet
If speed is not a problem, what about the 2000 pixels? Have the employees
got such big screens?
OK. Lets suppose scrolling is no big deal. You have this big map in a table
all sliced up in a hundred bits. The customer/employees (a captured market
eh?) click on some list you have. Depending on the thing they click, a map
will appear with a particular bit highlighted.
Excuse me if this seems a bit dumb but it is a solution: you have each link
go to a different html page. Each page will be very similar, just one cell
different to a master table (in which no cells are "highlighted" - a table
that you do not necessarily display, it being your working behind-the-scenes
template). How many links are in the list? However many, you will have as
many html pages. It is easy for you to do. Only those are called from the
server that are needed. And, even though speed is not a consideration, it
will also be fast if someone is browsing to see various parts of the map or
offices or whatever because all the images in all the cells will be cached
and appear quickly *the second time* around (at least).
There may be more elegant solutions with javascript and rollovers and stuff.
But by the time you have coded for it all, you might have done the above
which will sure fire work.
I hope this helps.
dorayme
Navigation:
[Reply to this message]
|