From html I would call it using: <script type="text/javascript">sFa();</script>

How do I activate this popup from a .js file

DaveyErwin

09-06-2011, 12:12 AM

<script type="text/javascript" src="fad.js"></script>
Everything in the file fad.js is included between the
opening and closing script tags, so it's just the same
as if it were actually typed there so, if you just
put sFa() in the file it will run but, as written it will
run before the page is loaded. This might not be
what you want.You probably want it in an onload
event handler ?