Page 2 of 2

Posted: Wed Jul 25, 2007 9:20 pm
by Carl Hibbard
Ian Kingston wrote:iframe allowtransparency="true" <body
That is a Microsoft only extension so not sure if the body colour hack is going to work - the table code I am providing doesn't even contain a body element

I checked (and sort of already knew) that it is not possible to change the contents (in particular the font) of an iframe

Oh well some more thinking needed

Cheers
Carl

Posted: Wed Jul 25, 2007 10:12 pm
by Carl Hibbard
Sean Hewitt wrote:
Carl Hibbard wrote:Try changing it from this:-

width="1000" height="2200">

To this:-

width="1000" height="2200" frameborder="0" scrolling="no">

I haven't tested this since I am at work - but it might make it look better losing the frame etc.

I will check changing the style this evening

Cheers
Carl
I can tell you that works perfectly. Ian, you should then be able to play with the 2200 height as it seems a bit big to me!
You may have to check the length and width on yours Sean since I have been messing

Cheers
Carl

Posted: Wed Jul 25, 2007 10:13 pm
by Carl Hibbard
Ian Kingston wrote:Thanks.

The reason for the big height value is specific to my Firefox settings, which make the club name - West Nottingham (formerly Stapleford) - occupy two lines instead of one on my system, which in turn makes the table much deeper. And because Firefox picks up the background colour of the page (which IE doesn't) having an excessively large height isn't very noticeable.

It looks as though if I use

<p>
<iframe>
</iframe>
</p>

then if you (Carl) can include

<body>

in the table source, then the background colour should show in all browsers and I can get away with the big height value. A quick test of the idea seems to work. Is that feasible? Would it adversely affect anyone else?
Try that - does that work in IE then?

Cheers
Carl

Posted: Thu Jul 26, 2007 8:28 am
by Ian Kingston
I replaced the table from the database with the following dummy file:

<body style="background-color:transparent">
<table border="1">
<tr>
<th>Blah</th><th>Blah</th><th>Blah</th>
</tr>
<tr>
<td>Blur</td><td>Blur</td><td>Blur</td>
</tr>
</table>

and that worked. So if whatever generates the table can also add one line to the start of the file, I think we get a solution - for me, at any rate. Don't want to mess things up for other people though.

Posted: Thu Jul 26, 2007 8:53 am
by Carl Hibbard
Ian Kingston wrote:I replaced the table from the database with the following dummy file:

<body>
<table>
<tr>
<th>Blah</th><th>Blah</th><th>Blah</th>
</tr>
<tr>
<td>Blur</td><td>Blur</td><td>Blur</td>
</tr>
</table>

and that worked. So if whatever generates the table can also add one line to the start of the file, I think we get a solution - for me, at any rate. Don't want to mess things up for other people though.
I fixed it all last night, including changing the font size slightly

All should be ok now

Cheers
Carl

Posted: Fri Jul 27, 2007 8:19 am
by Ian Kingston
Carl Hibbard wrote:I fixed it all last night, including changing the font size slightly

All should be ok now
Excellent! Works in Firefox 2, IE 6 and 7, Opera 9 and Safari 3. Thanks very much for your help.

Posted: Sat Jul 28, 2007 10:07 am
by Carl Hibbard
This morning I have uploaded a new version of the database which corrects that single rapid tournament fault, you should be able to inform people on your sites

Cheers
Carl

Posted: Sat Jul 28, 2007 1:49 pm
by Ian Kingston
Carl Hibbard wrote:This morning I have uploaded a new version of the database which corrects that single rapid tournament fault, you should be able to inform people on your sites
Excellent work - thanks to all concerned.

Posted: Sun Sep 23, 2007 3:46 pm
by John Upham
I've found that

http://grading.bcfservices.org.uk/getcl ... =$clubcode

or

http://grading.bcfservices.org.uk/getre ... f=$ecfcode

works fine

where I generate the value of $clubcode or $ecfcode

John

ps this is a Microsha$t free solution of course!