Pages: [1]
Guest

2005-07-24 10:37:40

Hi,

this is a bug report which is more browser related, but you can do something for it on the server side. The "Link to position in..." pages use numbered anchors in the page to directly jump to the position of the person or team. At least in Firefox there is the phenomenon that the pixel position of such an anchor is calculated before the images of the page are loaded. So when you visit such a link in Firefox (without having all the images in the browser cache) then you jump to the wanted position, Firefox loads the images, therefore resizes many page elements and you don't find yourself anymore, cause the anchor moved somewhere else.

So why do I tell all this? Just because you can prevent that by specifying width and height for all images in the page. Then Firefox will calculate all sizes correctly from the beginning of the page load, if I'm not totally wrong. So if you don't have any high priority things to do, you may consider adding those attributes sometime...

Ciao, Bananeweizen.
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9461
Credits: 353,172,950
World-rank: 5,070

2005-07-24 10:59:14

Hmmm. I removed the width and height for a reason. Have you ever looked at the size of a page? I try to keep these as small as possible.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
Guest

2005-07-25 05:14:44

If you really want to have every page as small as possible then you need to investigate CSS a bit more, as CSS is cached by the browser and therefore reduces your load. All those border="0" for images, or all the cellpadding, cellspacing and so on for tables could be defined in your style sheet instead of repeating those everytime.

And look at this example snippet in the page:
<td><div align="right"> 38,967 </td>
That should clearly be
<td class="right">38,967</td>
with the properties text-align, padding-left, padding-right set for your td class in CSS.

I guess you may find more places to convert from HTML to CSS for shorter pages, if you do a detailed inspection. Maybe you find that you can put the image width and heights into the CSS without making your output much larger. And BTW: font tags are deprecated, so you should replace them by proper CSS too.

Ciao, Michael.

PS: If I did sound like a teacher within this posting, that was not intended. Your implementation of the BOINC stats is really great.
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9461
Credits: 353,172,950
World-rank: 5,070

2005-07-25 08:16:13


<td><div align="right"> 38,967 </td>
That should clearly be
<td class="right">38,967</td>
with the properties text-align, padding-left, padding-right set for your td class in CSS.


When I started BOINCstats I wasn't to great with HTML and CSS was a mistery to me. I'm learning it, and the example you gave is implemented in most pages already (started rewriting major parts of the HTML at the same time as the translation).

I will be doing more recoding when time allows.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
[BOINCstats] Willy
 
Forum moderator - Administrator - Developer - Tester - Translator
BAM!ID: 1
Joined: 2006-01-09
Posts: 9461
Credits: 353,172,950
World-rank: 5,070

2005-07-30 07:19:43

Just played a bit with CSS, but can't quite get this:

Code:
&#60;table width="1002" border="0" align="center" cellpadding="0" cellspacing="0" background="/graphics/bar_top.jpg">


into proper CSS. Puts the table on the left of the site and margins are to wide.
Please do not PM, IM or email me for support (they will go unread/ignored). Use the forum for support.
Pages: [1]

Index :: BOINCstats Bug Report :: Finetuning of "Link to position in..."
Reason: