Can you make a test page available?  1.1.2 had a bug that prevented
attaching select tags and colgroup tags which is fixed for 1.1.3 and
it's possible that the map or area tags are also a problem.  The
append mechanism appends the tag to a div as it's building and before
attaching to the final element, so if the area tag is not valid in a
div, the browser probably is not creating it.

Any thoughts Brandon?

On Jun 8, 4:14 pm, "Jimmy Glass" <[EMAIL PROTECTED]> wrote:
> Absolutely!
>
> Before:
> <DIV ID="MapContainer">
>
>     <MAP id="thisMap" NAME="thisMap2">
>
>     </MAP>
>
> </DIV>
>
> <img src="http://sf-ips-01/is/image/DWR/IS_10147"; id="s7Image" 
> USEMAP="thisMap2" />
>
> After: ( I get the Areas as a string)
> <DIV ID="MapContainer">
>     <MAP id="thisMap" NAME="thisMap2">
>         <area href="javascript:alert(&#39;10147&#39;);" tenabledthis="true" 
> template="javascript:alert(&#39;10147&#39;);return false;" 
> templateenabled="false" alt="10147 &#45; Chair" shape="poly" 
> coords="192,154,192,352,390,352,390,154">
>         <area href="javascript:alert(&#39;10148&#39;);" tenabledthis="true" 
> template="javascript:alert(&#39;10147&#39;);return false;" 
> templateenabled="false" alt="10147 &#45; Ottoman" shape="poly" 
> coords="0,187,0,386,198,386,198,187">
>     </MAP>
> </DIV>
> <img src="http://sf-ips-01/is/image/DWR/IS_10147"; id="s7Image" 
> USEMAP="thisMap2" />
>
> ----------------------------------------
> From: "Matt Stith" <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2007 4:11 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: Append "Area" to Map
>
> A bit of HTML would help a bit!
>
> On 6/8/07, Jimmy Glass <[EMAIL PROTECTED]> wrote:
> I have been trying to append a freaking Area tag to a MAP tag for about 2 
> hours now...
>
> The data argument is always a string.
>
> function(data)
>                                                 {
>                                                     
> $('#s7Image').attr('usemap','');
>
>                                                    $('#MapContainer').empty();
>                                                     thisMap = '<MAP 
> ID="thisMap2" NAME="thisMap2"></MAP>';
>
>                                                     
> $('#MapContainer').append(thisMap);
>
>                                                    $('#thisMap').append(data);
>
>                                                     
> $('#s7Image').attr('usemap','thisMap2');
>                                                 }
>
> Is there something obvious that I'm missing here? Any thoughts would be 
> greatly appreciated.
>
> Jimmy G

Reply via email to