A problem with Internet Explorer

"LAGACHE Alexandre - VNF/Dir. Infrastructure-Environnement/Div. Géo Carto" Alexandre.Lagache at VNF.FR
Thu Feb 9 07:48:11 PST 2006


Hello,
 
It looks like you have nested forms on your page. Try adding the <input
type="hidden" ...> tags from the other form inside your new form.
 
Alexandre

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]De la
part de Xiaonan Zhang
Envoyé : jeudi 9 février 2006 16:14
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] A problem with Internet Explorer


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&red
raw.y=19&KEYMAPXSIZE=96&KEYMAPYSIZE=74&MapSize=800%2C600&minx=381924.000000&
miny=398628.500000&maxx=382196.000000&maxy=398832.500000&imagewidth=800&imag
eheight=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&KEYMAP
YSIZE=74&MapSize=800%2C600&minx=381924.000000&miny=398628.500000&maxx=382196
.000000&maxy=398832.500000&imagewidth=800&imageheight=600&CMD=&INPUT_TYPE=&I
NPUT_COORD=&PREVIOUS_MODE=0 
 
In IE, 
 
http://url/emap.phtml?newComment=Please+add+your+comment%21
<http://url/emap.phtml?newComment=Please+add+your+comment%21&AddComment.x=46
&AddComment.y=12> &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/8723802f/attachment.htm>


More information about the MapServer-users mailing list