Weekly Results Display

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

Weekly Results Display

#1

Post by fbonani » Sat Sep 07, 2019 9:28 am

After One game, my Weekly Results page displays the data sorted by players alphabetically. I just realized that I could click on the Scores column and it will display in sort order by that column. However, does this page display in Score order after all the games are played for that week? If not, how do I make that happen. This is my first year working with asp files and so far I am baffled. See the attached screen shot.
sort.jpg

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

Re: Weekly Results Display

#2

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

Here is the code for setting the sort 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>

kingmullet
Posts: 58
Joined: Thu Sep 05, 2013 3:21 pm

Re: Weekly Results Display

#3

Post by kingmullet » Mon Sep 30, 2019 8:15 am

Sorry, I'm sure you posted this before, but where do you put the code for this to display?

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

Re: Weekly Results Display

#4

Post by fbonani » Mon Sep 30, 2019 10:22 am

What I did was to change line 260 in the weeklyResults.aps as follows:

Code: Select all

<body onload="return tableSort.sort(resultsScoreSort)">
In your file, it may be on a different line. If that doesn't work, the code listed by Russaholic goes right above line 260.

BTW, I changed line 220 of the weeklySummary.asp file as follows to sort the summary page high to low:

Code: Select all

<body onload="return tableSort.sort(statisticsPicksSort)">

Post Reply