Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- function setMenuOnClick() {
- $("#TellusPreviousNext a").each(function() {
- var $this = $(this);
- if($this.parent().is(".currentPage")) {
- $this.data("text", $this.attr("href"));
- $this.attr("href", "");
- $this.bind("click", function(e) {
- $('.currentPage').removeClass('currentPage');
- $(this).parent().addClass('currentPage');
- $eventlist = $('#EventList');
- $eventlist.fadeOut('slow');
- var text = $(this).data("text");
- alert('/<Computed Value>/WQO_EventList?openagent' + text);
- $eventlist.load('/<Computed Value>/WQO_EventList?openagent' + text,
- function(response){
- $eventlist.replaceWith(response);
- $eventlist.fadeIn('slow');
- }
- );
- return false;
- });
- }
- });
- }
- $('#TellusPreviousNext').show();
- setMenuOnClick();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement