I have been having troubles with running client-side javascripts on AOL browsers. It appears that AOL only recognizes javascript when it is contained within a function that is called from an event handler. for example:
 
<SCRIPT LANGUAGE="javascript">
    window.open('thiswindow.html','window','resizable=yes');
</SCRIPT>
 
doesn't work but
 
<SCRIPT LANGUAGE="javascript">
    function OpenMe(URL,name,features){
        window.open(URL,name,features);
    }
</SCRIPT>
<BODY onLoad=OpenMe('thiswindow.html','window','resizable=yes');
 
 
does work. Does this make sense? Is the latter better programming practices? Should it make a difference?
 
thanks,
J

 

 

......................................................................
Jason Epstein [EMAIL PROTECTED] 212.583.1234x633 www.sixdegrees.com

Our bodies are garbage heaps: we collect experience, and from the decomposition of the thrown-out eggshells, spinach leaves, coffee grinds, and old steak bones of our minds come nitrogen, heat, and very fertile soil.  Out of this fertile soil bloom our poems and stories.

     --Natalie Goldberg

 

Reply via email to