Form Problems

liunx

Guest
I have a link with this source code <br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript:{}" onMouseOver="window.status='Rate Link!'; return true;" onMouseOut="window.status=''; return true;" onclick="window.open('<%db_cgi_url%>/rate.cgi?ID=<%ID%>','rate','toolbar=no,menubar=no,location=no,directories=no, <br />
status=no,scrollbars=no,resizeable=no,copyhistory=no,height=200,width=400')"><%Rating%></a> <br />
<br />
Is there any way I can get the same features using a form tag, <br />
<br />
i.e click on a form submit button and the window opens up a certain size with no scroll bars, no menu bar etc. <br />
<br />
I want to implememt it into this script <br />
<form action="<%db_cgi_url%>/rate.cgi" method="POST" target="_blank"> <br />
<input type=hidden name="ID" value="<%ID%>"> <br />
<input type=hidden name="Title" value="<%Title%>"> <br />
<br />
blaa blaa <br />
<br />
<input type=submit value=Rate it class=button></form><!--content-->I found this post here<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=10339&highlight=form+window">http://www.htmlforums.com/showthread.ph ... orm+window</a><!-- m --> <br />
<br />
That opens up a preview page, is there any way that this can be customised to suit my needs<!--content-->the only way to get a window to open without any toolbars etc.. is to use the window.open function. you would have to say onSubmit=window();<br />
<br />
and in the window function you have to write the the page in that function. <br />
<br />
actually, it would be quite a hassle. because then you are asking javascript to read your serverside code and it can't.<!--content-->
 
Back
Top