HTML 4.01 Strict and "google map iframe"
Google map delivers an iframe to embed it into the homepage
but the html validator gives some errors.
http://uni-regensburg.equine-behaviour.de/index.php?meeting2 008/meeting2008_e.php
How could I substitue the iframe?
Regards Knut
Re: HTML 4.01 Strict and "google map iframe"
Knut Krueger wrote:
> Google map delivers an iframe to embed it into the homepage
> but the html validator gives some errors.
>
> http://uni-regensburg.equine-behaviour.de/index.php?meeting2 008/meeting2008_e.php
>
> How could I substitue the iframe?
>
Use a good old anchor.
That would be much nicer for the user.
(Or use the OBJECT element, or use HTML 4.01 transitional)
--
If you've a question that doesn't belong to Usenet, contact me at
<tabkanDELETETHISnaz [at] yahoDELETETHATo.fr>
Re: HTML 4.01 Strict and "google map iframe"
André Gillibert schrieb:
> Knut Krueger wrote:
>
>> Google map delivers an iframe to embed it into the homepage
>> but the html validator gives some errors.
>>
>> http://uni-regensburg.equine-behaviour.de/index.php?meeting2 008/meeting2008_e.php
>>
>>
>> How could I substitue the iframe?
>>
>
> Use a good old anchor.
?!? an anchor with scroll zoom, switching between map sat and hybrid and
so on?
> That would be much nicer for the user.
> (Or use the OBJECT element, or use HTML 4.01 transitional)
>
An answer from Jonathan 05/19/2006
> your result will more likely be more constant
>> among browsers , so use *strict* doctype.
OK maybe its not state of the art in 2007/2008 but I did not read
anything against strict.
I do not want to reorganize the whole Homepage.
There is only one layout PHP script for all pages with different contents
next solution:
or live with the 9 errors at this page
Not the best one but it seems to work.
Regards Knut
Re: HTML 4.01 Strict and "google map iframe"
Knut Krueger wrote:
> OK maybe its not state of the art in 2007/2008 but I did not read
> anything against strict.
Although the HTML 4.01 Strict DOCTYPE is nice -- a classic even -- you've
got to think about the reason *why* it's recommended.
Validating against strict is recommended precisely *because* it doesn't
allow you to use <font>, <center> and all kinds of crap. But if you're
going to insist on using that crap (and <iframe> is included here!) then
you're going to have to abandon strict.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 7 days, 12 min.]
TrivialEncoder/0.2
http://tobyinkster.co.uk/blog/2007/08/19/trivial-encoder/
Re: HTML 4.01 Strict and "google map iframe"
Knut Krueger wrote:
> I do not want to reorganize the whole Homepage.
> There is only one layout PHP script for all pages with different contents
> next solution:
> or live with the 9 errors at this page
> Not the best one but it seems to work.
>
Or use OBJECT (but you seem to have skipped that part of my reply).
--
If you've a question that doesn't belong to Usenet, contact me at
<tabkanDELETETHISnaz [at] yahoDELETETHATo.fr>
Re: HTML 4.01 Strict and "google map iframe"
Toby A Inkster wrote:
> Validating against strict is recommended precisely *because* it doesn't
> allow you to use <font>, <center> and all kinds of crap. But if you're
> going to insist on using that crap (and <iframe> is included here!) then
> you're going to have to abandon strict.
>
Among many other bad things, embedding external pages with IFRAME brings
all the cr*p of the external pages in the embedding page.
e.g. Google maps indefinitively loads and re-loads (something like an
infinite redirection) with my browser (Opera with JavaScript disabled). I
noticed that this bug is reproduced in FF when JavaScript are disabled.
Even with JavaScript enabled, it doesn't work properly with IE6 (requires
VML support), Opera 8.54 or K-Meleon.
With JavaScript enabled, it requires a VERY long time to load in SeaMonkey
or FF.
--
If you've a question that doesn't belong to Usenet, contact me at
<tabkanDELETETHISnaz [at] yahoDELETETHATo.fr>
Re: HTML 4.01 Strict and "google map iframe"
André Gillibert schrieb:
> Knut Krueger wrote:
>
> Or use OBJECT (but you seem to have skipped that part of my reply).
>
I did not really skipped this part, but I found examples OBJECT only
with java script. I do not know just know how to use OBJECT in my context.
Regards Knut
Re: HTML 4.01 Strict and "google map iframe"
Knut Krueger wrote:
> André Gillibert schrieb:
>> Knut Krueger wrote:
>>
>
>> Or use OBJECT (but you seem to have skipped that part of my reply).
>>
> I did not really skipped this part, but I found examples OBJECT only
> with java script. I do not know just know how to use OBJECT in my
> context.
>
<object data="http://example.com/somewhere/" type="text/html" >
Somewhere
</object>
Just read the manual:
http://www.w3.org/TR/html4/struct/objects.html
Anyway, that would still be inacessible, because google maps s*cks at
accessibility. This infinite loading is annoying.
If you want to show a map accessible to everybody, use an image (served in
PNG and GIF) stored on your server, and additionally put a regular link to
google maps. You may even put the image in the link.
--
If you've a question that doesn't belong to Usenet, contact me at
<tabkanDELETETHISnaz [at] yahoDELETETHATo.fr>