Fwd: A problem with Internet Explorer

Xiaonan Zhang xnzhang11 at GMAIL.COM
Thu Feb 9 11:06:50 EST 2006


---------- Forwarded message ----------
From: Xiaonan Zhang <xnzhang11 at gmail.com>
Date: 09-Feb-2006 15:13
Subject: A problem with Internet Explorer
To: MAPSERVER-USERS at lists.umn.edu

hi guys,

I got a problem here with Internet Explorer. The code I am using works fine
in Firefox but not in Internet Explorer. I have a form to input comment on
the page:


<FORM METHOD=GET NAME="myform">


 <?php if (NewCommentAdd()) {
  printf (" <Table>
          <TR>
           <TD VALIGN='TOP' ALIGN='CENTER'>
               <TABLE CELLPADDING='2' CELLSPACING='0'>
                 <TR>
                   <TD><form name=frm_comment id=frm_comment
METHOD=GET>
               <div id=id_div>
               <input type=text name=newComment value='Please add your
comment!' size =75>
               <TD>
               <INPUT TYPE='image' BORDER='0' NAME=\"AddComment\"
SRC=\"images/buttonAdd.gif\" WIDTH='84' HEIGHT='27'>
               </TD>
               </div>
               </form>
                 </TR>
               </TABLE>
             </TD>
          </TR>
          </Table>");
   }
after I input some text and press the button. All the layers which origially
open were dispeared in IE.  I think it is becasue IE didn't keep the
orignial information of the address bar. You can see the difference blow:

before the comment button pressed:
http://url/emap.phtml?buildings=Y&river=Y&roads=Y&comments=Y&redraw.x=13&redraw.y=19&KEYMAPXSIZE=96&KEYMAPYSIZE=74&MapSize=800%2C600&minx=381924.000000&miny=398628.500000&maxx=382196.000000&maxy=398832.500000&imagewidth=800&imageheight=600&CMD=&INPUT_TYPE=&INPUT_COORD=&PREVIOUS_MODE=0


after the button pressed,  in fireforx,

http://url/emap.phtml?newComment=Please+add+your+comment%21&AddComment.x=55&AddComment.y=18&buildings=Y&river=Y&roads=Y&comments=Y&KEYMAPXSIZE=96&KEYMAPYSIZE=74&MapSize=800%2C600&minx=381924.000000&miny=398628.500000&maxx=382196.000000&maxy=398832.500000&imagewidth=800&imageheight=600&CMD=&INPUT_TYPE=&INPUT_COORD=&PREVIOUS_MODE=0


In IE,

http://url/emap.phtml?newComment=Please+add+your+comment%21&AddComment.x=46&AddComment.y=12



Anyone know how to solve this?


thanks.

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060209/a438c71c/attachment.html


More information about the mapserver-users mailing list