Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > IE bug with dynamic image maps?

Reply
Thread Tools

IE bug with dynamic image maps?

 
 
Rasmus Grøndahl Olsen
Guest
Posts: n/a
 
      01-11-2004
I have made a map over europe where u can select a country and then a region
in that country.
After selecting a country the image is replace with the country selected and
also the image map is replaced. When using IE explorer and select Belgium or
Netherland, explorer will crash. Can anyone tell me why this happens?

The example can be found at this address
http://www.kampsax.dtu.dk/~rasmus_ol...ap_select.html

- Rasmus -


 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      01-11-2004
in post <news:btrc5h$1fq2$(E-Mail Removed)-net.dk>
Rasmus Grøndahl Olsen said:

> I have made a map over europe where u can select a country and then a region
> in that country.


not with any of my browsers. appears you're using optional client side
goodies (i.e. JS) for critical functions.

> http://www.kampsax.dtu.dk/~rasmus_ol...ap_select.html


i would recommend a server side image map to keep the page size down
(backed up with normal links of course) with server side scripting to
serve the appropriate image/page for the selection. as it doesn't rely
on any client side support[1] it'll work for everyone.

visitor makes selection --> .map file[2] passes selection to script -->
script generates the page to serve to the visitor --> visitor receives
new page based on selection and giggles.

[1] ismap support needed (IE1+, NS1+, mosaic1+ opera2.1+)
[2] its not practical to pass 62.5k possible coords with your image
direct to a script so the .map file comes in handy. if the coords were
for rectangular areas it wouldn't be a problem.



--
brucie
 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      01-11-2004
in post <news:btrfu1$aciim$(E-Mail Removed)-berlin.de>
brucie said:

>> http://www.kampsax.dtu.dk/~rasmus_ol...ap_select.html


> i would recommend a server side image map to keep the page size down
> (backed up with normal links of course) with server side scripting to
> serve the appropriate image/page for the selection. as it doesn't rely
> on any client side support[1] it'll work for everyone.
>
> visitor makes selection --> .map file[2] passes selection to script -->
> script generates the page to serve to the visitor --> visitor receives
> new page based on selection and giggles.


heres a quick and dirty demo:

the image map:
http://moreshit.bruciesusenetshit.in...st-thingy.html

the map file
http://moreshit.bruciesusenetshit.info/map-test.map

what the map file actually looks like:
http://moreshit.bruciesusenetshit.info/map-test.txt

the script source
http://moreshit.bruciesusenetshit.info/script.phps


--
brucie
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      01-11-2004
brucie wrote:

> visitor makes selection --> .map file[2] passes selection to script -->
> script generates the page to serve to the visitor --> visitor receives
> new page based on selection and giggles.


The giggling stage is optional.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
David Graham
Guest
Posts: n/a
 
      01-11-2004
brucie wrote:
> in post <news:btrfu1$aciim$(E-Mail Removed)-berlin.de>
> brucie said:
>
>>> http://www.kampsax.dtu.dk/~rasmus_ol...ap_select.html

>
>> i would recommend a server side image map to keep the page size down
>> (backed up with normal links of course) with server side scripting to
>> serve the appropriate image/page for the selection. as it doesn't rely
>> on any client side support[1] it'll work for everyone.
>>
>> visitor makes selection --> .map file[2] passes selection to script -->
>> script generates the page to serve to the visitor --> visitor receives
>> new page based on selection and giggles.

>
> heres a quick and dirty demo:
>
> the image map:
> http://moreshit.bruciesusenetshit.in...st-thingy.html
>
> the map file
> http://moreshit.bruciesusenetshit.info/map-test.map
>
> what the map file actually looks like:
> http://moreshit.bruciesusenetshit.info/map-test.txt
>
> the script source
> http://moreshit.bruciesusenetshit.info/script.phps


Hi
I assume you used some prog to do all the coordinates - at least I do for
client side image maps. I would like to know what you use for server side
image maps - please
David


 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      01-11-2004
in post <news:G9eMb.3460$(E-Mail Removed)>
David Graham said:

>> http://moreshit.bruciesusenetshit.info/map-test.txt


> I assume you used some prog to do all the coordinates
> at least I do for client side image maps.


yes

> I would like to know what you use for server side image maps - please


the same editor i use for my client side maps and this new thing called
"copying and pasting".

--
brucie
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      01-11-2004
brucie wrote:

> the same editor i use for my client side maps and this new thing called
> "copying and pasting".


Is that where you carefully shovel out a bit of dirt and put it somewhere
else?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      01-11-2004
in post <news(E-Mail Removed) >
Toby A Inkster said:

>> the same editor i use for my client side maps and this new thing called
>> "copying and pasting".


> Is that where you carefully shovel out a bit of dirt and put it somewhere
> else?


yes but i've discovered the results can be disastrous if you're not
paying enough attention to what you're doing and accidentally shovel an
ant hill.

--
brucie
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FF bug? Or IE bug? Text doesn't wrap around image in list elementwhen image is aligned. iwasjoeking HTML 9 06-09-2008 11:43 PM
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
Re: BUG? OR NOT A BUG? John ASP .Net 2 09-21-2005 10:31 AM
wx.Image: Couldn't add an image to the image list. Laszlo Zsolt Nagy Python 1 01-26-2005 09:55 PM
Dynamic Image Generation using Mobile Image Control Waverider ASP .Net Mobile 1 09-21-2004 07:59 PM



Advertisments