Modificare il file:
\Galleria\search_form.asp
<script language="JavaScript" type="text/javascript"> var win = null; function NewWindow(mypage,myname,w,h,scroll){ LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable' win = window.open(mypage,myname,settings); win.focus(); } </script> <script type="text/javascript" language="JavaScript"> <!-- Copyright 2003 Bontrager Connection, LLC // See article "Changing Form Action URLs On-The-Fly" linked // from URL http://willmaster.com/possibilities/archives // for more information about how to use this code. function fSearch() { if(document.frm.SearchPref[0].checked == true) { document.frm.action = 'search_results_folders.asp'; } if(document.frm.SearchPref[1].checked == true) { document.frm.action = 'search_results_files.asp'; document.myform.method = 'get'; } return true; } // --> </script> <a class="smText" href="browse.asp">[Visualizza Immagini]</a><br><br> <form name="frm" method="post" action="" onSubmit="frm.submit();"> <table width="198" class="border2" cellspacing="2" cellpadding="1" align="center"> <tr> <td align="center"><H2>Parola da cercare:</H2> <input type="text" name="SearchText" size="20"><br><br> <div class="smText" style="text-align:left; margin-left:5px;"> <input type="radio" name="SearchPref" value="Folders" checked>Cerca nelle Cartelle<br> <input type="radio" name="SearchPref" value="FileFolders">Cerca nel Nome<br> </div><br> <input type="submit" value="Cerca" name="B1" onClick="return fSearch();"> <br> <a class="smText" href="searchtips.htm" onclick="NewWindow(this.href, 'name', '500', '250', 'no');return false;" target="_blank"> Consigli per la ricerca</a> </td> </tr> </table> </form>
[
Íàçàä
]