External Site Assistance

Request amendments or pass comments on this free service.
User avatar
Carl Hibbard
Posts: 6028
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Post by Carl Hibbard » Wed Jul 25, 2007 9:20 pm

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

User avatar
Carl Hibbard
Posts: 6028
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Post by Carl Hibbard » Wed Jul 25, 2007 10:12 pm

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

User avatar
Carl Hibbard
Posts: 6028
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Post by Carl Hibbard » Wed Jul 25, 2007 10:13 pm

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

Ian Kingston
Posts: 1071
Joined: Sat Apr 14, 2007 3:16 pm
Location: Sutton Coldfield

Post by Ian Kingston » Thu Jul 26, 2007 8:28 am

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.

User avatar
Carl Hibbard
Posts: 6028
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Post by Carl Hibbard » Thu Jul 26, 2007 8:53 am

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

Ian Kingston
Posts: 1071
Joined: Sat Apr 14, 2007 3:16 pm
Location: Sutton Coldfield

Post by Ian Kingston » Fri Jul 27, 2007 8:19 am

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.

User avatar
Carl Hibbard
Posts: 6028
Joined: Fri Dec 08, 2006 8:05 pm
Location: Evesham

Post by Carl Hibbard » Sat Jul 28, 2007 10:07 am

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

Ian Kingston
Posts: 1071
Joined: Sat Apr 14, 2007 3:16 pm
Location: Sutton Coldfield

Post by Ian Kingston » Sat Jul 28, 2007 1:49 pm

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.

User avatar
John Upham
Posts: 7179
Joined: Wed Apr 04, 2007 10:29 am
Location: Cove, Hampshire, England.

Post by John Upham » Sun Sep 23, 2007 3:46 pm

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!
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess :D