/** * See docs on link_to_remote helper for more info. */ function ls_link_to_remote($name, $options = array(), $html_options = array()) { return ls_link_to_function($name, ls_remote_function($options), $html_options); }
<br /> </span> <?php } ?> <!-- TABS --> <?php include_partial('list/membertabs', array('list' => $list)); ?> <div id="member_tabs_content"> </div> <?php use_helper('LsJavascript'); echo javascript_tag("\n\n hash = parseHash();\n tab = \$('button_tabs_' + hash.action); \n\n if (tab)\n {\n tab.setAttribute('class', 'active');\n }\n \n" . ls_remote_function(array('update' => 'member_tabs_content', 'url' => $list->getInternalUrl(), 'posturl' => "'/' + hash.action + (hash.page ? '?page=' + hash.page : '')", 'method' => 'get', 'loading' => "document.getElementById('indicator').style.display = 'block';", 'complete' => "document.getElementById('indicator').style.display = 'none';"))); ?> <script type="text/javascript"> function show_rank_form(id) { span = document.getElementById('set_rank_' + id); span.style.display = 'inline'; link = document.getElementById('show_rank_' + id); link.style.display = 'none'; } </script>