Hmm yeah I found something that said OnLoad was the event I was looking
for but this does not really work. At the moment I am trying to write a
script file that makes a message popup displaying the title of the
page. If this code is run before the title is loaded then it obviously
is not going to work properly.
so far I have this
<SCRIPT>
window.onload( alert(document.title) );
</SCRIPT>
it pops up with a blank message. But when i use this code instead. It
will work provided I have it at the bottom of the page.
<SCRIPT>
alert(document.title);
</SCRIPT>
So it seems that the onload is either not doing what it is supposed to
do or I am not using it properly. Any Ideas?
Brett
Thank you for the web pages btw they will help me alot.
mscir wrote:
Brett wrote: ...
Anyway I want to write a script that waits until the entire page is
loaded to run. I am working with very large pages that take a while to
load.
Does anyone know how to do this? or any good websites for looking up
this sort of information?
Brett
http://scriptasylum.com/tutorials/pageevents.html
http://www.devguru.com/Technologies/...an_onload.html
Mike