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

Post by fbonani »

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.
User avatar
Russaholic
Posts: 58
Joined: Tue Oct 15, 2013 3:19 pm
Contact:

Re: Margin Pool Sort

Post by Russaholic »

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

Post by fbonani »

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