2011-08-27 5 views
9

में काम नहीं कर मानचित्र मैं अपनी साइट पर एक छवि नक्शा है, और यह IE के अलावा सब कुछ में काम करता है।छवि आईई

<div id="content"> 
    <div style="text-align:center; width:302px; margin-left:auto; margin-right:auto;"> 
    <img id="alexpeteNav" src="nav.jpg" usemap="Aalexpetenav" border="0" width="302" height="274" alt="" /> 
    <map id="BalexpeteNav" name="AalexpeteNav"> 
    <area shape="rect" coords="0,0,297,72" href="http://doubleohnine.com/" alt="009" title="009" /> 
    <area shape="rect" coords="0,68,297,140" href="about.html" alt="About alexpete" title="About alexpete" /> 
    <area shape="rect" coords="0,139,297,211" href="https://plus.google.com/104897364451129767176" alt="Google+" title="Google+" /> 
    <area shape="rect" coords="0,209,297,269" href="http://www.facebook.com/alexpete" alt="Facebook" title="Facebook" /> 
    </map> 
    </div> 
    </div> 

कोई सुझाव:

इस कोड है? कारण?

साइट www.alexpete.com पर ऑनलाइन है।

धन्यवाद।

उत्तर

22

usemap नक्शा नाम से पहले पर एक छवि मानचित्र के लिए मान्य hash-name reference की अपेक्षा करता है।

मुझे लगता है कि अन्य ब्राउज़र उस संबंध में अधिक उदार हैं।

+0

पूरी तरह से काम किया! धन्यवाद! – 009

+0

@pekka क्या आप कृपया मेरे प्रश्न में देख सकते हैं और मेरी मदद कर सकते हैं http://stackoverflow.com/q/24078704/2118383 –