[TYPO3-UG Dutch] Javascript injecteren tussen </body> en </html>

Rudy Gnodde gnodde.rudy at wag.nl
Thu May 4 10:56:47 CEST 2006


<p align=\"left\"><b><font face=\"Arial\" size=\"2\">GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them.</font></b></p>Hallo Willem,

Ik neem aan dat dit gaat om de "Operation Aborted" error. Dit kan anders
opgelost worden.

Bron:
http://www.ryangrant.net/archives/internet-explorer-cannot-open-the-inte
rnet-site-operation-aborted-google-map-api/

----------------------------------------
Enclose your JavaScript code into a function and then execute it through
a body onload event.

Example:

Keep the script in your head

    <Xcript type="text/javascript"><!--

    //<![CDATA[
    function ShowMeTheMap()
    {
    var map = new GMap(document.getElementById("map"));
    map.centerAndZoom(new GPoint(-83.7, 42.2), 3);
    }
    //]]>
    --></Xcript>

Change your body tag to this: <body onload="ShowMeTheMap();">  
----------------------------------------

Met vriendelijke groet,

Rudy Gnodde
WIND Internet
http://www.windinternet.nl


> -----Oorspronkelijk bericht-----
> Van: typo3-ug-dutch-bounces at lists.netfielders.de 
> [mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens 
> willem terpstra
> Verzonden: donderdag 4 mei 2006 10:14
> Aan: typo3-ug-dutch at lists.netfielders.de
> Onderwerp: Re: [TYPO3-UG Dutch] Javascript injecteren tussen 
> </body> en </html>
> 
> Rudy,
> het gaat er niet om hoe het hoort, maar om hoe het werkt.
> Het is javascript voor een google map, en dat werkt instabiel 
> in IE als het niet tussen </body> en </html> staat.
> Als ik het test in een platte html file lost het problemen op 
> met het initializeren van de map.
> 
> Groet Willem.
> 
> Rudy Gnodde schreef:
> > Hallo Willem,
> > 
> > De officiele plaats waar je script tags mag plaatsen volgens W3C is:
> > 
> > "This element may appear any number of times in the HEAD or 
> BODY of an 
> > HTML document."
> > 
> > Het mag dus niet tussen </body> en </html> staan en ik zou 
> niet weten 
> > waarom je het ooit zou willen, zelfs als het valid zou zijn.
> > 
> > Groeten,
> > 
> > Rudy Gnodde
> > WIND Internet
> > http://www.windinternet.nl
> > 
> > 
> >>-----Oorspronkelijk bericht-----
> >>Van: typo3-ug-dutch-bounces at lists.netfielders.de
> >>[mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens willem 
> >>terpstra
> >>Verzonden: donderdag 4 mei 2006 0:51
> >>Aan: typo3-ug-dutch at lists.netfielders.de
> >>Onderwerp: [TYPO3-UG Dutch] Javascript injecteren tussen </body> en 
> >></html>
> >>
> >>Hallo,
> >>wat is de eenvoudigste manier om een stuk javascript te injecteren 
> >>tussen </body> en </html>?
> >>Ik ben bekend met workonsubpart DOCUMENT_BODY, en in de 
> head zou ik de 
> >>javascript selector extensie kunnen gebruiken, maar tussen 
> </body> en 
> >></html>?
> >>
> >>Groet Willem.
> >>_______________________________________________
> >>TYPO3-UG-dutch mailing list
> >>TYPO3-UG-dutch at lists.netfielders.de
> >>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
> >>
> _______________________________________________
> TYPO3-UG-dutch mailing list
> TYPO3-UG-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
> 



More information about the TYPO3-UG-dutch mailing list