You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/account/help.js.erb

16 lines
772 B

<% if params[:index] == '1'%>
$("#right").html("<%= j(render :partial => 'account/about_us_show') %>")
<% elsif params[:index] == '2'%>
$("#right").html("<%= j(render :partial => 'account/contact_us_show') %>")
<% elsif params[:index] == '3'%>
$("#right").html("<%= j(render :partial => 'account/cooperative_partner_show') %>")
<% elsif params[:index] == '4'%>
$("#right").html("<%= j(render :partial => 'account/agreement_show') %>")
<% elsif params[:index] == '5'%>
$("#right").html("<%= j(render :partial => 'account/help_center_show') %>")
<% elsif params[:index] == '6'%>
$("#right").html("<%= j(render :partial => 'account/suggest_show') %>")
<% else %>
<% end %>
//$(".bor-bottom-greyE").removeClass("active")
//$($(".bor-bottom-greyE")[@index]).addClass("active");