I've this form:
<script>
function sendMessage(val ue,FormSubmit){
if (value>0){
w=window.open(' contactseller.p hp?annID='+ value,'null','r esizable=no,
location=no, top=200, left=200, width=50, height=50, menubar=no, status=no,
scrollbars=no, menubar=no');
}
}
</script>
<form name="contact" action="contact seller.php" method="post"
target="_blank" >
<input type="hidden" name="AnnID" value="<?php echo($IDAnnounc e);?>">
<input type="hidden" name="Informati on" value="<?php echo($info);?>" >
...5 fields (text fields).
<br><center><in put name="SendInfo" type="submit" value="Envoyer" >
<input name="Sendtest" type="button" value="show"
onClick=sendMes sage(<?php echo($IDAnnounc e);?>,'Contact' );></center>
</form>
Opening the new window (as targer is "_blank) with the "SendInfo" submit
button, I get the new window with the menubar. How to do it without menubar
?? I know I can do with the second button syntax, but they are 2
incovenients: 1. the infos are in clear text on pointing the mouse on it 2.
I've to add every single var to the link.
Thanks for any suggestion.
I want to avoid the syntax:
<script>
function sendMessage(val ue,FormSubmit){
if (value>0){
w=window.open(' contactseller.p hp?annID='+ value,'null','r esizable=no,
location=no, top=200, left=200, width=50, height=50, menubar=no, status=no,
scrollbars=no, menubar=no');
}
}
</script>
<form name="contact" action="contact seller.php" method="post"
target="_blank" >
<input type="hidden" name="AnnID" value="<?php echo($IDAnnounc e);?>">
<input type="hidden" name="Informati on" value="<?php echo($info);?>" >
...5 fields (text fields).
<br><center><in put name="SendInfo" type="submit" value="Envoyer" >
<input name="Sendtest" type="button" value="show"
onClick=sendMes sage(<?php echo($IDAnnounc e);?>,'Contact' );></center>
</form>
Opening the new window (as targer is "_blank) with the "SendInfo" submit
button, I get the new window with the menubar. How to do it without menubar
?? I know I can do with the second button syntax, but they are 2
incovenients: 1. the infos are in clear text on pointing the mouse on it 2.
I've to add every single var to the link.
Thanks for any suggestion.
I want to avoid the syntax:
Comment