This is my search.erb code:
-
<%= submit_tag('search',
:onclick=>‘show_wait()’)%>
2. <% end -%>
3.
4.
9.And this is my searching.erb
-
-
- please wait
-
util_controller class
- def searching
-
render :layout => false
- end
and the last search.js
- function show_wait()
- {
-
window.scroll(0,0);
-
var wait_window_margin_height = 10;
-
var wait_window_margin_width = 20;
-
$('wall').style.width = getBrowserWidth() + "px";
-
$('wall').style.height = getBrowserHeight() + "px";
-
$('wait').style.top = wait_window_margin_height + "px";
-
$('wait').style.height = getBrowserHeight() -
(wait_window_margin_height * 2) + “px”;
10. $(‘wait’).style.left = wait_window_margin_width + “px”;
11. $(‘wait’).style.width = getBrowserWidth() -
(wait_window_margin_width * 2) + “px”;
12. $(‘wall’).show();
13. }
14.
15. function hide_wait()
16. {
17. $(‘wall’).hide();
18. }this program is working properly with firefox and opera but
It is not working on IE.
where is my mistake or problem?
did I forget something???
please help me!PS: I posted this question a couple of days on another forum, but no
reply no anything. Please help me about this problem…