image map helper generates incorrect HTML

Last post 04-26-2010, 2:55 PM by Adam. 6 replies.
Sort Posts: Previous Next
  •  09-06-2007, 11:51 AM 33313

    image map helper generates incorrect HTML

    I'm trying to create an image map and after saving the map, I end up with multiple copies of the <map><area></map> code:

    <map name="AutoMap1">
    <area shape="rect" coords="20,30,122,64" href="http://somelink" /></map><img usemap="#AutoMap1" alt="" src="http://fawkes.tm00.com/wholefoods/NorPac/images/100best.gif" height="81" width="130" /><map name="AutoMap1">
    <area shape="rect" coords="20,30,122,64" href="http://somelink" /></map>

    It appears to place 2 copies of the <map>.  One before the image and one after.

    I'm using Cuteeditor 6 for ASP on a Mac with FireFox.



  •  09-06-2007, 12:31 PM 33320 in reply to 33313

    Re: image map helper generates incorrect HTML

    marckula,
     
    Please try the following example:
     
     
    If you can reproduce the problems there, please show me the steps.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-06-2007, 1:06 PM 33326 in reply to 33320

    Re: image map helper generates incorrect HTML

    your copy works correctly.  I think I need to reinstall the latest version.  Where may I download the latest version of CE 6 for ASP?  Perhaps a reinstall will help.
  •  09-06-2007, 1:14 PM 33327 in reply to 33326

    Re: image map helper generates incorrect HTML

    marckula,
     
    It's the same download URL included in the delivery email.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-11-2010, 12:19 PM 58119 in reply to 33320

    Re: image map helper generates incorrect HTML

    I can confirm this issue. in the example if you do the following.

    1.  Select the Image of the girls face.
    2. Click the Add Image Map button on the tool bar. (A new window will be displayed)
    3. Click the Add Image Map button
    4. Click in the middle of the newly added hot spot
    5. using the size adjusters resize the hot spot to something (size really does not matter)
    6. with the hot spot selected click the add hyperlink button
    7. add a url (in my case i used http://www.google.com)
    8. click insert
    9. click insert
    10. click the View HTML button at the bottom of the editor
    11. you will see html that looks as follows (with different coordinates most likely)
      <table bgcolor="#ffffff" border="0" cellpadding="4" cellspacing="4">
           <tbody>
               <tr>
                   <td>
                   <p> <map name="AutoMap1">
                   <area shape="rect" coords="17,2,64,49" href="httpL://www.google.com" /></map><img usemap="#AutoMap1" src="http://cutesoft.net/Uploads/j0262681.jpg" width="80" alt="" /><map name="AutoMap1">
                   <area shape="rect" coords="17,2,64,49" href="httpL://www.google.com" /></map><br />
                   </p>
                   <br />
                   </td>
     
  •  01-11-2010, 5:21 PM 58123 in reply to 58119

    Re: image map helper generates incorrect HTML

    Dear Cirrus,
     
    I have tested this issue in http://cutesoft.net/asp/EnableAll.asp, but cannot reproduce it.
     
    <map name="AutoMap1">
    <area href="http://www.facebook.com" shape="rect" alt="www.facebook.com" coords="19,5,57,36" /></map>
    <table border="0" cellspacing="4" cellpadding="4" bgcolor="#ffffff">
        <tbody>
            <tr>
                <td>
                <p><img alt="" src="http://cutesoft.net/Uploads/j0262681.jpg" width="80" usemap="#AutoMap1" /></p>
                </td>
                <td>
                <p>When your algorithmic and programming skills have reached a level which you cannot improve any further, refining your team strategy will give you that extra edge you need to reach the top. We practiced programming contests with different team members and strategies for many years, and saw a lot of other teams do so too. </p>
                </td>
            </tr>
            <tr>
                <td>
                <p><img alt="" src="http://cutesoft.net/Uploads/PH02366J.jpg" width="80" /></p>
                </td>
                <td>
                <p>From this we developed a theory about how an optimal team should behave during a contest. However, a refined strategy is not a must: The World Champions of 1995, Freiburg University, were a rookie team, and the winners of the 1994 Northwestern European Contest, Warsaw University, met only two weeks before that contest. </p>
                </td>
            </tr>
        </tbody>
    </table>
    <br />
    <br />
    can you reproduce it in our online demo?
     
    Regards,
    Eric
     
     
  •  04-26-2010, 2:55 PM 60414 in reply to 33326

    Re: image map helper generates incorrect HTML

View as RSS news feed in XML