|
||||
| ||||
|
|||||||
| Earlier versions of OOTP: General Discussions General chat about the game... |
![]() |
|
|
Thread Tools |
|
|
#41 |
|
Major Leagues
Join Date: Dec 2001
Location: Atlanta, GA
Posts: 328
|
Meant to mention this, the old version was done by hand as a kind of see what it looks like thing. The new version was actually made by the utility and that is as far as I've gotten in updating the code. So fielding, post-season, leaderboards, ect. will be there, I just haven't gotten that far yet.
That's also the reason his minor league stats disappeared. When done by hand, I changed 1990 to AAA just to see what it looked like. The minor league color is a slightly darker shade of the presim color.
__________________
OOTP Utilities Download Page - Home of OOTP History & OOTP Gazette GMC League History JOBL League History |
|
|
|
|
|
#42 |
|
All Star Reserve
Join Date: Feb 2002
Location: Fremont, CA
Posts: 651
|
The New new look is much better and easier on the eyes, than the first new look.
__________________
GO GIANTS GO NINERS GO LAKERS GO BLUE CUBL - Red Earth Firebirds 2000 CL Central Champs NABL - Washington Senators now Buffalo Bandits |
|
|
|
|
|
#43 |
|
Hall Of Famer
Join Date: Dec 2001
Posts: 3,326
|
I like both versions a lot, but if the nutscapers (
) can read the 2nd one better then that would be my fave new look.
|
|
|
|
|
|
#44 |
|
All Star Reserve
Join Date: Sep 2002
Location: Niles, MI
Posts: 933
|
Thanks Cato, I just got home from work. I'll check it out later and let ya know.
__________________
PSN: JoeRockEHF |
|
|
|
|
|
#45 | |
|
Hall Of Famer
Join Date: Jul 2002
Location: Detroit, MI
Posts: 3,498
|
Quote:
New look doesnt seem to have problems with Netscape/Mozilla. Great job Cato, thank you mucho. |
|
|
|
|
|
|
#46 |
|
Major Leagues
Join Date: Dec 2001
Location: Atlanta, GA
Posts: 328
|
Okay, I've got the player pages done and I think they look pretty good. But, one potential problem I see is that the pages take up about 2.5 times the amount of disk space as the bb-ref style. Since the player pages are the vast majority of the web site, the web site is going to be about 2.5 times bigger. My GMC league (only 7 years), for instance, would go from about 50MB to about 125MB for full output. That seems like a lot to me. Any thoughts? Is this problem?
__________________
OOTP Utilities Download Page - Home of OOTP History & OOTP Gazette GMC League History JOBL League History |
|
|
|
|
|
#47 |
|
Hall Of Famer
Join Date: Jul 2002
Posts: 2,273
|
hmm. +/- a gig every 56 seasons? that would certainly tax my old 20GB drive, but assuming much of the OOTP-playing crowd buys computers more than 1 per 5 years, it probably won't bother many people.
however, i'd clear the space on my drive if i had to. this utility is that important to my league. [edit: on 2nd thought, this will make backing up a bit more difficult, won't it.] |
|
|
|
|
|
#48 |
|
All Star Starter
Join Date: Dec 2001
Posts: 1,501
|
the new new look is great!
|
|
|
|
|
|
#49 |
|
Minors (Double A)
Join Date: Dec 2001
Location: Mansfield, UK.
Posts: 186
|
Uploading will take some time also. The plus side is that it will only be once a season.
__________________
Keith |
|
|
|
|
|
#50 |
|
Registered User
Join Date: Aug 2002
Posts: 425
|
That's pretty big... But it certainly wouldn't deter me. All those details come with a price, but it's a price worth paying
![]() Love the modified page. Looks great in Mozilla! |
|
|
|
|
|
#51 |
|
Major Leagues
Join Date: Feb 2002
Location: Kentucky
Posts: 463
|
Cato,
I fiddled around with the test page. Found a few things that helped to shorten the html page. 1) The CSS style is embedded in the page. Wasn't it kept in a separate document in the original utility? 2) Noticed in the code you have tr class="xxxxx" and on the next several lines td class ="xxxxx". I deleted out all of the classes that followed td when there was an identical class with the tr. 3) The only sections I couldn't fix easily were where tr class="xxxxx" but td class="yyyyy". The only way I saw how to fix these involves adding additional lines to the CSS style. Combined the ".oddline", ".evenline", and ".totalline" with ".stats", ".presim", etc. to make ".oddlinestats", ".evenlinestats", etc. I then changed tr class="xxxxx" to tr class="xxxxxyyyyy" and deleted all of the class="yyyyy". Couldn't eliminate where class="line" though as the horizontal line wouldn't show. After fiddling around with the test page, I was able to get it down from 37kb to 22 kb. Cut more than 1/3 off of its size. If you want, I can send you a copy of the revised test page and the CSS file if you need to see exactly what I changed. Mark p.s. Shortened the file to 18kb by deleting all of the "/td & "/tr". It's sloppy code and causes some problems on some browsers but shortened the file even more. Last edited by Markmeister; 12-07-2002 at 12:23 AM. |
|
|
|
|
|
#52 |
|
Major Leagues
Join Date: Dec 2001
Location: Atlanta, GA
Posts: 328
|
Mark -
Great, I'd love to take a look at what you did. The CSS style was embedded in the page so that you could do exactly what you did. The program will still create a separate stylesheet. Removing all the classes on the td tags is a good idea. It decreases the customizability a little, but I think the reduction in file size is more important. I don't really understand why the border style doesn't work with a tr tag, anyway. Table rows have borders just like table details. Don't think I'd want to remove the end tags, though. Might cause too many problems.
__________________
OOTP Utilities Download Page - Home of OOTP History & OOTP Gazette GMC League History JOBL League History Last edited by Cato; 12-07-2002 at 12:38 PM. |
|
|
|
|
|
#53 |
|
Minors (Triple A)
Join Date: Dec 2001
Location: Christchurch, England
Posts: 283
|
Cato,
Is the new look utility likely to increase the time taken to create the pages? (I've just ran 1913 in a MLB replay and it took five and a half hours) Cheers |
|
|
|
|
|
#54 |
|
Minors (Single A)
Join Date: Apr 2002
Location: Afganistan
Posts: 64
|
whoa 5 1/2 hrs? damn you must be on a pc about 20 years old? takes about 30 mins for me.
__________________
"... I don't believe in damn curses. Wake up the damn Bambino and have me face him. Maybe I'll drill him in the ass, pardon me the word" ~Pedro Martinez |
|
|
|
|
|
#55 |
|
Minors (Triple A)
Join Date: Dec 2001
Location: Christchurch, England
Posts: 283
|
xpmike,
I'm still running a celeron 366 with 128 megs of ram. what spec machine have you got and how many years have you processed with the utility? |
|
|
|
|
|
#56 |
|
Minors (Single A)
Join Date: Apr 2002
Location: Afganistan
Posts: 64
|
Windows XP Professional
1.60GHz Pentium 4 512 MB Ram i've done 5 seasons so far with fictional rosters.
__________________
"... I don't believe in damn curses. Wake up the damn Bambino and have me face him. Maybe I'll drill him in the ass, pardon me the word" ~Pedro Martinez |
|
|
|
|
|
#57 |
|
Minors (Single A)
Join Date: Apr 2002
Location: Italy
Posts: 53
|
OK in Opera 6.05.
In Mozilla 1.2 I see fonts smaller than in IE6.
__________________
Peo |
|
|
|
|
|
#58 |
|
Hall Of Famer
Join Date: Dec 2001
Posts: 3,326
|
The CSS file could be set up to be browser smart and load a different CSS file depending on the browser type (ESPN used to do this, still may). As long as the CSS info is not embedded in the page this would not add much space at all. As Mark says, the CSS info can just be called straight from the CSS file, it does not need to be embedded. Good luck Jeff!
|
|
|
|
|
|
#59 |
|
All Star Reserve
Join Date: Feb 2002
Location: Fremont, CA
Posts: 651
|
bump
__________________
GO GIANTS GO NINERS GO LAKERS GO BLUE CUBL - Red Earth Firebirds 2000 CL Central Champs NABL - Washington Senators now Buffalo Bandits |
|
|
|
|
|
#60 |
|
Major Leagues
Join Date: Dec 2001
Location: Atlanta, GA
Posts: 328
|
The new layout will not increase the time to run, just the size of the website. I have made some changes along the lines of what Mark suggested and it looks like it will now be less than twice as big as before, instead 2.5 times.
And, the CSS file wil not be embedded in each page. The test page was done look that for simplicity only. The css file will still be created in the root directory of the website and referenced by each page.
__________________
OOTP Utilities Download Page - Home of OOTP History & OOTP Gazette GMC League History JOBL League History |
|
|
|
![]() |
| Bookmarks |
|
|