Alivemau5 wrote:
What is the correct approach?
Determining the "cost" of recalculating the results. If it takes a lot of time to reproduce the data, then store it :)
I are Troll :suss:
No, and it would leave room for more in the future. And maybe you would use it as the base for other sports, like American football or baseball or who knows what. It's a proper pattern to use anyway, even if there are only two entries.
For IE7 / IE6 you need to use css expression().... But mind that even a mouse move will evaluate the expression. Let see how I am doing this : Place this as css
.t-min-wid {
width: expression((document.body.clientWidth < 1180)? "1180px" : "auto"); /*min width for IE7 and below */
min-width: 1180px; /* Min width for Firefox and IE8 */
}
Now apply <table class="t-min-wid"> Your min width will be set for all browsers. ;) ;)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript
AJAX is a good solution for what you are describing here. There is an ASP.NET AJAX Toolkit which has a modal popup dialog (home page here: http://www.asp.net/ajax/[^]) although personally I think their widgets look a bit clunky compared to some of the other toolkits that are around (like JQuery or Dojo or YUI) but that's just personal taste. Not sure what the tutorials for the .NET toolkit are like, but there are plenty for JQuery/Dojo/YUI if you decide to go that route.
If you now the direction from two points and the distance between them, then it's pretty simple trig to work out the distance to the third; Triangulation[^]
Panic, Chaos, Destruction. My work here is done.