MSFN Forum: WPI Cosmetics - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WPI Cosmetics Rate Topic: -----

#1 User is offline   buzzman2005 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 11-December 04

Posted 23 December 2004 - 04:17 PM

Hasi

so i understand the following from your post

Quote

@buzzman

Please understand the following:

the number of Apps displayed in one column is computed. for that, i use the sum of category-headlines and previous apps. for each resolution, the calculation changes. each application has its height, and each headline does. if the sum + heoght of the 'current' app won't fit, then there's a 'column break'.

If you put <br>'s into your program definitions, the app's height changes, but i still use the same calculation as i'd use for a single-line app. so the column grows too big - and there's your problem.

Sure i could recode the rendering. but that's a hard job to do for a 'single user change request'. It'll take some time ... right now I'm working on the 'installation order' bugs, which I can't really recreate on my WPI !?!


so it's not easy to change the code for the calculation.. i undestand that.. (BTW really appreciate the help and programming you do.) how would i change your calculation of the height so that the # of lines that you have predetermined in the code is 1/2 so instead of 20 apps per column its 10 for example???

thanks


PS been trying to find the line of code that changes the clock colour in common/main.js and i can't find it where is it?


#2 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 23 December 2004 - 05:09 PM

common folder css

#3 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

Posted 23 December 2004 - 06:05 PM

look at boxes.js, line 85 and 96
if ( (winheight == 600) && ((pi+cats)>=(col*19))) { ...

and 

if ( (winheight >= 768) && ((pi+cats)>=(col*(winheight/30.72)))) {

experiment with the hardcoded values.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy