Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

Any ideas how to upload image maps through the editor?

Reply with quote Hey guys,

My first time in here, though I've been on the other forums for some time.

I've just used xstandard for the first time today and hit a snag.
Bet it's a newbie thing.
Did a search and had zero hits.

The system is in up and working.
But I'm having difficulty putting a uk map into our cms with xstandard.

I cannot get an image-map through the editor.
Is this a setting someones missed or is it just not supported?
Code:
<div>
<img .... usemap="#map1" />
<map id="map1" name="map1">
      <area ....... />
      <area ....... />
</map>
</div>

The code validates (W3C and xstandard)

What happens is the <map> element closes on itself and any content inside is deleted.

Code:
...
<map id="map1" name="map1"></map>
...


Can anyone help?


mike 2k:)2
we slack so you don't have to

<marquee><blink><work> webSemantics </work><rest> 2kool2 </rest> &amp; <play> bangers & mashed </play></marquee></blink>
Reply with quote Here is an example:

http://misc.xstandard.com/accessifyforum/2/map.htm

In WYSIWYG mode, the map will display as a ruler icon.

Vlad Alexander
XStandard Development Team
http://xstandard.com
Reply with quote It still doesn't work.

This is what goes in the xstandard window in XML (source) mode:
Code:
<div id="imagemap1">
   <img style="border:0 solid" src="/images/map/uk.gif" alt="Map of UK and Eire" width="229" height="269" id="uk_map1" usemap="#map1" />
   <script type="text/JavaScript" src="/scripts/map.js"><![CDATA[]]></script>
    <map id="map1" name="map1">
      <area href="#east_midlands"
        title="East Midlands"             
        alt="East Midlands"               
        shape="poly" coords="165,174,173,174,197,169,201,173,202,177,202,182,198,187,198,189,201,191,200,194,189,194,190,201,186,205,179,209,173,211,173,199,169,193,165,181" />
      <area href="#east_of_england"         
        title="East of England"           
        alt="East of England"             
        shape="poly" coords="208,231,200,233,200,227,191,222,186,220,184,208,188,204,191,199,190,194,200,194,207,188,219,188,224,193,225,198,225,206,222,215,216,221,211,225,209,231" />
      <area href="#eire"                     
        title="Eire"                       
        alt="Eire"                       
        shape="poly" coords="79,148,81,156,84,162,80,173,80,182,76,191,73,198,67,202,60,199,55,199,47,204,40,207,37,207,24,211,16,212,11,209,5,204,2,199,1,191,12,181,22,172,28,167,26,164,18,159,14,155,20,148,23,146,19,140,21,134,27,132,38,133,45,133,50,131,53,129,46,127,41,124,48,118,57,114,61,112,63,117,59,124,56,131,55,137,62,139,63,141,70,138,74,138,75,142" />
      <area href="#london"                   
        title="London"                     
        alt="London"                     
        shape="poly" coords="185,227,185,221,197,225,201,230,200,232,194,235,189,232" />
      <area href="#north_east"               
        title="North East"                 
        alt="North East"                 
        shape="poly" coords="165,103,159,108,164,114,153,120,156,125,154,130,159,133,159,142,181,140,173,114" />
      <area href="#north_west"               
        title="North West"                 
        alt="North West"                 
        shape="poly" coords="152,120,154,126,153,130,158,132,160,142,157,147,151,148,155,153,160,156,162,161,163,169,163,176,156,183,146,184,142,179,142,168,149,152,147,148,140,151,136,143,134,137,140,128" />
      <area href="#northern_ireland"         
        title="Northern Ireland"           
        alt="Northern Ireland"           
        shape="poly" coords="83,148,76,146,72,136,63,141,52,130,57,130,58,123,65,117,65,108,73,110,86,114,94,124,95,132,97,141" />
      <area href="#scotland"                 
        title="Scotland"                   
        alt="Scotland"                   
        shape="poly" coords="164,103,159,108,163,113,145,125,121,130,111,131,111,121,117,97,101,113,104,95,91,102,89,96,111,76,95,83,98,71,105,61,85,41,90,25,104,20,94,36,107,48,110,39,117,37,115,32,125,20,142,21,152,5,159,10,150,20,147,29,136,39,139,44,134,51,147,46,170,49,170,57,162,74,154,83,156,91,145,95,148,98,160,98" />
      <area href="#south_east"               
        title="South East"                 
        alt="South East"                 
        shape="poly" coords="184,221,185,214,185,208,169,213,166,218,168,228,166,234,162,239,161,245,162,252,173,250,181,250,193,251,206,248,216,242,221,237,216,233,204,231,197,234,187,231,185,227" />
      <area href="#south_west"               
        title="South West"                 
        alt="South West"                 
        shape="poly" coords="86,261,106,246,109,238,117,234,128,234,137,236,143,227,149,218,156,212,167,211,164,218,167,226,167,231,163,237,159,241,158,249,158,252,146,253,139,248,126,252,121,261,112,259,102,261,91,267" />
      <area href="#wales"                   
        title="Wales"                     
        alt="Wales"                       
        shape="poly" coords="142,174,128,173,119,170,113,172,118,178,111,185,120,184,122,197,114,205,98,213,103,220,114,218,116,221,124,221,130,229,146,220,141,213,138,197,142,188" />
      <area href="#west_midlands"           
        title="West Midlands"             
        alt="West Midlands"               
        shape="poly" coords="165,175,156,183,145,184,142,181,141,190,139,200,142,211,147,219,156,212,165,211,169,213,175,204,167,194,165,186" />
      <area href="#yorkshire_and_humberside"
        title="Yorkshire &amp; Humberside"
        alt="Yorkshire &amp; Humberside" 
        shape="poly" coords="153,149,162,143,185,140,197,168,181,172,171,175,163,173,162,159" />
    </map>
  </div>


It validates ok but when the XML button is pressed twice to return and visually check the code, it has been cut to:
Code:

<!-- Generated by XStandard version 1.7.0.0 on 2006-06-05T12:47:09 -->
<div id="imagemap">
   <img alt="Map of UK and Eire" height="269" id="uk_map" src="/images/map/uk.gif" style="border:0 solid" usemap="#map1" width="229" />
   <script src="/scripts/map.js" type="text/JavaScript"><![CDATA[]]></script>
   <map id="map1" name="map1"></map>
</div>


Is there a setup feature or function that this may be a side effect of?

<marquee><blink><work> webSemantics </work><rest> 2kool2 </rest> &amp; <play> bangers & mashed </play></marquee></blink>
Reply with quote I can't reproduce the problem. Make sure you are using version 1.7. Why don't you contact free technical support at: support [at] xstandard.com and they will be happy to help you find the problem. This forum should only focus on accessibility issues.

Vlad Alexander
XStandard Development Team
http://xstandard.com
Reply with quote Will do,

Thanks Vlad

mike 2k:)2

<marquee><blink><work> webSemantics </work><rest> 2kool2 </rest> &amp; <play> bangers & mashed </play></marquee></blink>
Reply with quote Just to conclude this topic for anyone searching the archives.

The issue presented here was due to a development version of xStandard existing on the PC.


Regards

mike 2k:)2

<marquee><blink><work> webSemantics </work><rest> 2kool2 </rest> &amp; <play> bangers & mashed </play></marquee></blink>

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic