| 
	
 | 
 Posted by Toby Inkster on 09/03/05 17:24 
Kimmo Laine wrote: 
 
> Invalid how? Please explain, I see nothing wrong in that.  
> Missing some attributes? Okay, alt is required... Anything else?  
 
After you realised that "alt" is required, why didn't you go back and 
delete the preceding line? 
 
Yes, that is how it was invalid. 
 
> Also, you forgot to mention that this is ignored by people who have 
> images turned of. 
 
I didn't forget. I thought about it, but decided against mentioning it as 
the number of such people is rather low, compared with the number of 
people with no Javascript. 
 
> Which is altogether why I encouraged to use iframe... 
 
If we're going to continue the "some browsers don't support that" and 
"other browsers do support it but allow it to be disabled" line of 
reasoning, that ain't ideal either, but it's the best of the three. 
 
Probably the best solution would be to simply redirect to the PHP page in 
question. The preferred method of doing this would be to send an 
appropriate HTTP 3xx response, but given the problem at hand, I think 
this would not be viable on this entirely static server. 
 
So I'd suggest a timed (about 5 to 10 seconds) <meta> refresh; combined 
with a Javascript redirect for the odd esoteric browser that doesn't 
support that particular non-standard, but widely supported HTTP extension; 
and finished off with a "you will be redirected in a few seconds, but if 
it doesn't work, please manually follow this link to my <a 
href='foo'>dynamic server</a>" message for good measure.  
 
--  
Toby A Inkster BSc (Hons) ARCS 
Contact Me  ~ http://tobyinkster.co.uk/contact
 
  
Navigation:
[Reply to this message] 
 |