|
|
Forum moderator: Eriko |
uCoz Community uCoz Modules Photo Albums Module search form not working |
Module search form not working |
Redirects to module homepage after hit enter
Systems developer
|
Soldierdevil, easier than a URL, could you provide the code snippet of the search form that you're using? The URL would still help out too.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
Code <script type="text/javascript"> function openForm(){ new _uWnd('contact','Search $CAT_NAME$',400,150,{fadespeed: 666, fadeclosespeed: 666, fadetype: 2, fadeclosetype: 2,align:'left',footerc:' ',min:0,max:0,resize:0,closeonesc:1,autosize:1,shadow:1,topclass:'x-lightwnd',gridclass:'myWinGridBlack',modal:1}, $(".myform").html() ); } </script> <div class="myform" style="display:none;"> <div class="searchForm"><form onsubmit="this.sfSbm.disabled=true" method="post" style="margin:0px" action="/photo/"><div align="center" class="schQuery"><input type="text" name="query" maxlength="30" size="20" class="queryField" /></div><div align="center" class="schBtn"><input type="submit" class="forum-link" name="sfSbm" value="Search" /></div><input type="hidden" name="a" value="18" /></form></div> </div> <a class="button-link" href="#" onclick="openForm();return false;">Search photos</a> Systems developer
|
| |||
| |||