Margin Pool Sort

Post here to discuss topics relate to the 4.x version for the ASP Football Pool software program. All support topics should go here.
Post Reply
User avatar
fbonani
Posts: 50
Joined: Thu Aug 15, 2019 12:07 pm

Margin Pool Sort

#1

Post by fbonani » Sun Sep 08, 2019 8:33 pm

I am running a combination survivor/margin pool and need some help from someone to sort the margin standings by Score rather than player name. This would require some code change/addition to the sideStandings.asp file. Thanks in advance for any assistance.

Russaholic
Posts: 33
Joined: Tue Oct 15, 2013 3:19 pm
Contact:

Re: Margin Pool Sort

#2

Post by Russaholic » Mon Sep 09, 2019 7:52 pm

Here is the code to sort the weeklyResults page by wins

Code: Select all

<%	end if %>
	//]]>
	// Execute the pick sort as soon as the page loads.	
	domUtils.onready(function() 
	{		
		tableSort.sort(resultsScoreSort);	
	}
	);
	</script>
<!-- #include file="includes/custom.asp" -->
</head>
Here is the code to sort the sideStandings page by status

Code: Select all

<%	end if %>
//]]>
// Execute the pick sort as soon as the page loads.	
	domUtils.onready(function() 
	{		
		tableSort.sort(survivorStatusSort);			
	}
	);
	</script>
<!-- #include file="includes/custom.asp" -->
</head>
I recommend doing a search for "sort" and you will find a lot of good threads on this topic.

User avatar
fbonani
Posts: 50
Joined: Thu Aug 15, 2019 12:07 pm

Re: Margin Pool Sort

#3

Post by fbonani » Mon Sep 09, 2019 8:01 pm

I found the code to sort the Margin Pool by Score in the Archives. As I thought, it was an easy fix and the fix was right in front of me all along.

Post Reply